2025-02-09 09:53 AM
1. Hardware is STM32U5A9J-DK, which owns 3M internal onchip rom and 64M external nor flash.
2. Using TouchGFX Designer-Demo6 to 'Generate Code', 'Run Simulator', 'Program and Run Target', STM32U5A9J-DK works well.
3. Using CubeMX to load project STM32U5A9J-DK-FreeRTOS.ioc(generated by TouchGFX Designer in step 2) and set IDE as EWARM, then click 'GENERATE CODE' to generate IAR project.
4. Open IAR project and compile it successfully.
5. Click 'download and debug' in IAR tool bar, error occurs: Flash download warning: 22290240 out of 22290240 bytes from data record CODE:[0x9000'0000,0x9154'1f3f] will not be flashed,it seems that image cannot be downloaded into external memory.
6. icf file:
The question is: what step shall I take to download image into external memory?
Best regards~
2025-02-09 02:15 PM
Do not forget to check Use flash loaders in debug options. And have a correct 'board file'.
2025-02-09 03:07 PM
Via STM32 Cube Programmer w/External Loader ?
IAR might need patches, KEIL often needs current "packs"
https://github.com/STMicroelectronics/STM32CubeU5/tree/main/Utilities/PC_Software/IDEs_Patches/EWARM
2025-02-10 08:28 AM
I use IAR 9.32 and STM32U5xx chip is available.