cancel
Showing results for 
Search instead for 
Did you mean: 

STM32U5A9J-DK IDE Problem

buyildir
Associate

Hello everyone, when I compile the code with the designer and throw it away, there is no problem, but when I create it via CubeMX and open it in CubeIDE and compile it, I encounter problems.

For example:
STM32U5A9NJHXQ_FLASH.ld ->
EXT_FLASH (r) : ORIGIN = 0x90000000, LENGTH = 64M
When the ext_flash address is like this, it falls to hardfault.

Other example:
While I can throw the project I created on Designer to the device with ST-LINK without any problem (graphics, etc.), when I throw the project I created on CubeMX, no display appears on the screen. I can't find a source about this and the topics I have found are very old.

1 REPLY 1

Hello @buyildir ,

Could you please clarify what you mean with "creating a project in CubeMX"? Do you start creating an IOC file from the beginning in STM32CubeMX (by choosing you MCU first and so on)?

Have you checked the correctness of the linker script that your using in the CubeMX project?

Thanks

Mohammad MORADI
ST Software Developer | TouchGFX