# AMB82-Mini SPI-NAND instead of SPI-NOR

**URL:** <https://forum.amebaiot.com/t/amb82-mini-spi-nand-instead-of-spi-nor/4944>\
**Category:** Hardware\
**Tags:** evb-amb82, rtl8735b\
**Created:** [July 9, 2026, 3:32pm UTC](https://forum.amebaiot.com/t/amb82-mini-spi-nand-instead-of-spi-nor/4944 "2026-07-09T15:32:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![iot](https://avatars.discourse-cdn.com/v4/letter/i/5f8ce5/32.png) [@iot](https://forum.amebaiot.com/u/iot)\
**Post date:** [July 9, 2026, 3:32pm UTC](https://forum.amebaiot.com/t/amb82-mini-spi-nand-instead-of-spi-nor/4944/1 "2026-07-09T15:32:26Z")

</div>

Hi @Pammy

I replaced the SPI-NOR flash chip with a SPI-NAND flash chip

Gigadevice GD5F1GQ4Uxxx, which is listed in the FreeRTOS SDK at

component/mbed/hal\_ext/snand\_api.h

I used the documented command, but it fails and shows “flash : NOR” :

C:\tools\Pro2\_PG\_tool \_v1.4.3\>uartfwburn.exe -p COM13 -b 2000000 -f flash\_ntz—httpd.bin -n pro2  
Baudrate : 115200  
flash : NOR  
COM13 opened  
Baudrate : 115200  
ping ok  
Baudrate : 2000000  
ucfg ok  
download to offset 0x0  
masked area [0x0, 0x0]  
dowload 0, [0x0, 0x4c7000]  
fail for download 0  
download fail

Questions:

1. Is SPI-NAND supported by the current FreeRTOS SDK ?
2. Are there some hardware modifications (Bootstrap pins, …) needed to make SPI-NAND work ?
3. Is there a special build command to build SPI-NAND images, or are the flash\_ntz.bin images universal for both NOR and NAND ?

Thanks

CC

---

<div class="post-metadata">

**Author:** ![Pammy](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/pammy/32/936_2.png) [@Pammy](https://forum.amebaiot.com/u/Pammy)\
**Post date:** [July 13, 2026, 10:07am UTC](https://forum.amebaiot.com/t/amb82-mini-spi-nand-instead-of-spi-nor/4944/2 "2026-07-13T10:07:08Z")

</div>

Hi @iot,

[Flash layout](https://ameba-doc-rtos-pro2-sdk.readthedocs-hosted.com/en/latest/application_note/08_FLASHLAYOUT.html#nand-flash-layout-overview)

The FreeRTOS SDK supports SPI NAND flash, so no hardware modification is required.

The message `flash : NOR` suggests that the flashing tool is detecting NOR flash mode and is not recognizing the NAND flash chip.

Could you try this [nand\_flash](https://github.com/Ameba-AIoT/ameba-rtos-pro2/tree/main/project/realtek_amebapro2_v0_example/example_sources/nand_flash) example?

To run the example, copy the contents of this [main.c](https://github.com/Ameba-AIoT/ameba-rtos-pro2/blob/main/project/realtek_amebapro2_v0_example/example_sources/nand_flash/src/main.c) file to:

`project/realtek_amebapro2_v0_example/src/main.c`

Then rebuild the project and try flashing it to the board.

Do let me know whether you are able to flash the image successfully.

The command I used was: .\uartfwburn.exe -p COM5 -f flash\_ntz.bin -b 3000000 -n pro2

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

If the NAND flash is still not detected, you may also check the chip soldering and hardware connections.

---

<div class="post-metadata">

**Author:** ![Eiab](https://avatars.discourse-cdn.com/v4/letter/e/fbc32d/32.png) [@Eiab](https://forum.amebaiot.com/u/Eiab)\
**Post date:** [August 4, 2026, 2:33am UTC](https://forum.amebaiot.com/t/amb82-mini-spi-nand-instead-of-spi-nor/4944/3 "2026-08-04T02:33:40Z")

</div>

Hi I use gigadevice too. Tried the recommendation from the office web, [GD5F1GQ5UE | SPI NAND Flash | On-chip ECC, QSPI Interface, Automotive Grade | GigaDevice](https://www.gigadevice.com/product/flash/spi-nand-flash/gd5f1gq5ue)  
This NAND flash works for me. GD5F1GQ5UE
