Skip to main content
Visitor II
December 11, 2023
Question

STM32U5A9J-DK IDE Problem

  • December 11, 2023
  • 1 reply
  • 739 views

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.

This topic has been closed for replies.

1 reply

ST Employee
December 14, 2023

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 MORADIST Software Developer | TouchGFX