2024-03-06 12:27 AM - edited 2024-03-06 12:28 AM
Hi,
I'm working on STM32WB10CC with 320KB of flash memory.
I'm using the full ble stack 1.14.1 (stm32wb1x_BLE_Stack_full_fw.bin) which has a size of 148KB.
In the release note it's written you have to put it at this address 0x08021000.
If I'm doing the math 0x08021000 + 148KB = 0x8046000.
The last address of the flash memory is 0x0804FFFF.
0x0804FFFF - 0x8046000 = 0x9FFF = 40KB
I have 40KB of free memory but I'm not able to write in this part of the memory. Does anyone have an explanation about the 40k extra memory and why I can't write to it ?
Is it possible to write the ble stack to another address ?
There is also an error in the Reference Manual (RM0478) p.54. The address should be 0x0804FFFF not 0x8004FFFF.
Thanks for your help
Solved! Go to Solution.
2024-03-06 02:02 AM
Hello @Coco
- You can have an access on the Flash after updating the Ble Firmware. The only case is if the SFSA=0x00 the Flash memory is locked.
- The Firmware should be added to the indicated address on the release note.
- For the typo, I've reported to the concerned team for correction under ticket number 175357.
(PS: Internal ticket number 175357 is only for reference, not available outside of ST).
Best Regards.
STTwo-32
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.
2024-03-06 02:02 AM
Hello @Coco
- You can have an access on the Flash after updating the Ble Firmware. The only case is if the SFSA=0x00 the Flash memory is locked.
- The Firmware should be added to the indicated address on the release note.
- For the typo, I've reported to the concerned team for correction under ticket number 175357.
(PS: Internal ticket number 175357 is only for reference, not available outside of ST).
Best Regards.
STTwo-32
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.
2024-03-06 02:31 AM
Tanks for your quick reply.
- Why this part of the memory is locked?
- What are the risk if I'm using this part of the memory that's usually locked?
2024-03-06 04:14 AM
So, this part of the memory should be open. But in case the SFSA is set to 0x00, the Flash is going to be locked. For the Risks, you can have access to the Flash on the current state.
Best Regards.
STTwo-32
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.
2024-03-07 01:01 AM
Ok thanks a lot.