cancel
Showing results for 
Search instead for 
Did you mean: 

stm32u5a9zj touchgfx

caiChangKun
Associate II

The keil decentralized loading compilation has a warning and the generator bin cannot be run after downloading, and the generated gallery bin can be displayed after downloading
I don't know why the program bin file can't run after downloading with j flash, keil engineering direct download program can run,
This is why the production code bin is not available

caiChangKun_0-1752254005680.png
caiChangKun_1-1752254012627.png
code warning

caiChangKun_2-1752254018289.png

touchgfx 

caiChangKun_3-1752254050486.png

 

1 REPLY 1
JohanAstrup
ST Employee

Hello @caiChangKun.

It seems like you are trying to flash an application that uses an external flash directly from Keil. However, Keil does not know the external flash by default. Unless you are using a custom external loader, this operation is not possible. For more information about external flash loaders, refer to 11. Flash Loader.

The standard procedure is to compile the application in Keil and then use STM32CubeProgrammer with a compatible external loader to flash the board. I don't know whether you are working with the Discovery Kit or custom hardware. If you are using the STM32U5A9J-DK, STM32CubeProgrammer includes a matching external loader.

You can still use Keil to flash the internal flash.

Best regards,
Johan