BW16 RTL8720DN: Flashing works on FN4 (4MB) but fails on FN2 (2MB)

Hi everyone,

I am experimenting with the BW16 module (RTL8720DN) and ran into an issue using ImageTool.exe from the Ameba RTOS D repo.

I am flashing the binaries to the standard addresses: km0_boot_all.bin @ 0x08000000 km4_boot_all.bin @ 0x08004000 km0_km4_image2.bin @ 0x08006000

This procedure works flawlessly on the 4MB version (FN4). However, when trying the exact same setup on the 2MB version (FN2), the board fails to boot after flashing.

I suspect the following reason: Linker script mismatch: The firmware is likely compiled for a 4MB layout, causing out-of-bounds memory access on the 2MB chip.

Has anyone here successfully adapted the compilation process for FN2 boards? Which specific files in the SDK (like the linker scripts or header files) need to be modified to restrict the memory layout properly to 2MB?

Thanks for any advice!

:waving_hand: Thanks for posting!

For documentation, SDK resources, FAQs, and community guidelines, please visit: here

For commercial users, if you would like to have dedicated technical support or to connect with us, please fill in the Private User Form

Happy building with Ameba!


:waving_hand: 感謝您的分享!

如需查閱技術文件、SDK 資源、常見問題及社群指南,請參考: 這裡

若您是商業用戶,希望獲得專屬技術支援或與我們聯繫,請填寫 Private User Form (商業用戶表單)

祝您使用 Ameba 開發順利!

Hi neok511

Please provide the sizes of your three .bin files, as well as the boot failure log.