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!