cancel
Showing results for 
Search instead for 
Did you mean: 

HI. I get an error when compiling with sw4stm32.

YJMoon
Associate III

When I run the program like the picture below, a checksum error occurs.

After that, if I reset the hardware, it will work normally.

I guess it is a problem caused by using external memory.

But I want to know the exact reason why and I want to fix it.

Please help me.

0690X0000087wiWQAQ.png

2 REPLIES 2
cameronf
Senior

What hardware are you running on? Do you have actual external flash that the linker script is trying to use? If you aren't trying to use that external flash and have enough internal for your program you can remove that from your linker script. If you are using it, you'll have to come up with a way to get your program flashed to it. ST has some external loaders that work with the ST-Link utility for programming external memory over various peripherals. It looks like it's currently trying to put something in external flash, do you have images that aren't displaying or anything?

Thank you for answer.

I am using the stm32f746g disco board.

And to save the picture generated by touchGFX, I am using nor flash on the board as qspi. The picture file's too large to save in flash. Using st - ink does not cause this error. And reset the hardware after compiling in SW4STM32, the program will run without any problem.

I am sorry I raised my question simply because I lacked my English skills.