# AMB82-Mini: chip erase works but programming fails with "fail for download 0"

**URL:** https://forum.amebaiot.com/t/amb82-mini-chip-erase-works-but-programming-fails-with-fail-for-download-0/5090
**Category:** Image Tool
**Created:** [September 24, 2026, 6:30am UTC](https://forum.amebaiot.com/t/amb82-mini-chip-erase-works-but-programming-fails-with-fail-for-download-0/5090 "2026-09-24T06:30:07Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![akash.ranjan](https://avatars.discourse-cdn.com/v4/letter/a/82dd89/32.png) [@akash.ranjan](https://forum.amebaiot.com/u/akash.ranjan)
#### Post date: [September 24, 2026, 6:30am UTC](https://forum.amebaiot.com/t/amb82-mini-chip-erase-works-but-programming-fails-with-fail-for-download-0/5090/1 "2026-09-24T06:30:07Z")

</div>

Hello Realtek Team,

We are trying to flash an AMB82-Mini (RTL8735B, NOR flash) using the AmebaPro2  
SDK and PG Tool v1.4.3.

The chip erase works successfully every time, but programming always reaches  
100% and then fails:

```auto
  programing done.
  fail for download 0
  download fail

```

Setup:  
Board : AMB82-Mini / RTL8735B  
USB-Serial : CH340  
SDK : ameba-rtos-pro2  
Tool : Pro2\_PG\_tool\_v1.4.3  
Image : flash\_ntz.bin (4,956,160 bytes)

boot\_recover.bin, flash\_loader\_nor.bin and flash\_control\_info.bin are present in  
the same folder as the tool.

We have tried different baud rates, block sizes, offsets, images and programming  
options, including both the full firmware image and smaller firmware files. In  
every case programming reaches 100% and then fails with the same “fail for  
download 0” message. Chip erase continues to work successfully, and the device  
enters UART download mode normally afterward.

Could you please advise what might be wrong in our flashing procedure, and what  
the correct procedure/command is to successfully program this board?

We first raised this with Realtek support by email and were directed to post here.

Snapshots of the flashing process and error output are attached for reference.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/ameba/original/2X/e/e7807b6c7fd5ad1fc6ad5b97172f7565c794b16f.png)

 ![image](https://us1.discourse-cdn.com/flex016/uploads/ameba/original/2X/d/d93d806ff0979d8a637ab6fa3420f87869d72221.png)

Thanks.

---

<div class="post-metadata">

### Author: ![KevinKL](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/kevinkl/32/2632_2.png) [@KevinKL](https://forum.amebaiot.com/u/KevinKL)
#### Post date: [September 25, 2026, 12:10pm UTC](https://forum.amebaiot.com/t/amb82-mini-chip-erase-works-but-programming-fails-with-fail-for-download-0/5090/2 "2026-09-25T12:10:01Z")

</div>

Hi @akash.ranjan ,

Could you try running the command without `-r` option? Thanks.
