Confusion about the size of uncontigous flash
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
ā2023-08-10 10:51 PM
Hello,
I am writing about my confusion in "STM32H742, STM32H743/753 and STM32H750 Value line advanced ArmĀ®-based 32-bit MCUs".
According to reference manual;
STM32H743xI has 2 banks of 1 MByte each forming a contiguous flash memory area, so there would be no issues with a single binary spanning both banks.
STM32H743xG has 2 banks of 512 kBytes each mapped to non-contiguous addresses, there is a 512 kBytes hole between the two banks.(As far as i understand, we can create 1 or 2 project not exceeding 512 kBytes in size.)
But the size of project which I created for STM32H743xG has passed even 600 kBytes. As far as I see, there is no problem in work of firmware. How is it possible while It showing only 4 sector even in attached image? I am waiting for your response. Thanks in advance.
ā
Solved! Go to Solution.
- Labels:
-
STM32H7 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
ā2023-08-11 3:44 AM
Hello @G_A.,
Please note that it is the responsibility of the user to guarantee that these data will be accessed during code execution
knowing that ST only guarantees read/program/erase operations in the 512Kbytes declared in the reference manual
Thank you!
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
ā2023-08-11 3:44 AM
Hello @G_A.,
Please note that it is the responsibility of the user to guarantee that these data will be accessed during code execution
knowing that ST only guarantees read/program/erase operations in the 512Kbytes declared in the reference manual
Thank you!
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
ā2023-08-11 12:59 PM - edited ā2023-08-11 1:00 PM
@G_A. When you connect CubeProgrammer to your STM32H743xG board, which flash sectors (and total flash size) does it show?
Which software have you used to program your 600K image onto the MCU?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
ā2023-08-11 1:09 PM
The parts share a common die, ST tests a subset for product stratification purposes, and costs on the test equipment.
There is some ambiguity in the dual bank devices in side-by-side vs end-to-end modes, but I think it's been generally accepted that 512KB of linear memory will be available/usable in either mode. Verify after write, and ECC, should mean these work robustly over the entire array.
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
ā2023-08-13 10:19 PM
It is possible to access 16 pages(128k x 16) using st-link utility OR CubeProgrammer .
I used Stm32CubeIde to program my 600K image onto the MCU. Image consists of HAL library and a bare metal structure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
ā2023-08-15 9:14 AM
> It is possible to access 16 pages(128k x 16) using st-link utility OR CubeProgrammer .
This means that the ARM descriptors in the "system" memory of H743xG are same as in H743xI. So the tools believe that there are 16 continuous pages. As Sarra S. wrote, the responsibility to test the "non-warranted" pages are on the user. They may or may not work, or anything in the middle. If you just ignore these pages you are safe.
