The program more than 128KB does not operate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-30 10:06 PM
It was programming using STM32H753.
However, when the size of the program is over 128 KB, it does not work.
How can we solve this?
- Labels:
-
STM32CubeIDE
-
STM32H7 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-31 12:59 AM
It is likely that it's not the code size which makes the program fail.
Debug as usually - in debugger, stop it, and find out where the Program Counter points.
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-31 1:44 AM
Is there any way to increase the size of the programmable code?​
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-31 1:50 AM
In STM32H753, you have 2MBytes of FLASH, that's why I don't think this is the cause of your problem.
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-31 4:12 AM
Agreed.
But maybe he's got a screwed up linker script ?
So check that file, probably called something like "STM32H753xxx_FLASH.ld".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-31 6:22 AM
Unfortunately "does not work" in this context is a bit non-specific.
Fails to Build? Fails to Download? Fails to execute in the Debugger?
Could be a mapping/banking issue
Could be an H750 remarked
>>How can we solve this?
Start by presenting and explaining the situation better. In conveying detail you might start to understand what's wrong.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-01 1:05 AM
Could you provide some additional details about what the problem is? Perhaps a step-by-step guide for how to reproduce the problem?
Also, any screenshots that could be helpful in understanding the problem would be appreciated!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-01 5:19 PM
Successfully downloaded using STM32CubeIDE.
However, it appears to have been suspended because the program did not work (CAN, UART, LED control operations, etc.)
At this time, annotate a portion of the source code and make the program size 127 KB, which works normally.
My "FLASH.ld" file is as follows:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-01 5:50 PM
The base of the 2MB FLASH would be 0x08000000
The upper 1MB would start at 0x08100000
Not sure why it would limit to 127KB unless later in the script you direct content into the DTCMRAM
Up vote any posts that you find helpful, it shows what's working..
