Found a solution:
Have to change the openocd_target parameter from stm32l0 to stm32l0_dual_bank.
Search found 3 matches
- Fri Oct 08, 2021 12:04 pm
- Forum: General discussion
- Topic: Dual bank flash - Custom variant
- Replies: 2
- Views: 4143
- Fri Oct 08, 2021 11:41 am
- Forum: General discussion
- Topic: Dual bank flash - Custom variant
- Replies: 2
- Views: 4143
Dual bank flash - Custom variant
Hi.
I try to create custom variant config for the STM32L072CBT6 MCU (128 KB).
This is forking fine, as long as the code is below 64 KB.
I expect his to be related to the ldscript. Any idea how i can set this up to work with dual bank flash?
Error from openocd:
openocd -d2 -s C:\Users\xxx ...
I try to create custom variant config for the STM32L072CBT6 MCU (128 KB).
This is forking fine, as long as the code is below 64 KB.
I expect his to be related to the ldscript. Any idea how i can set this up to work with dual bank flash?
Error from openocd:
openocd -d2 -s C:\Users\xxx ...
- Sat Aug 14, 2021 3:10 pm
- Forum: Custom design boards
- Topic: Flash size increase for different boards
- Replies: 1
- Views: 11880
Flash size increase for different boards
Hi.
I have made a custom board using STM32L051K8U6 (64KB Flash), and configured the board variant myself. While compiling for Nucleo L432KC, the flash size is very different in size.
Nucleo L432KC: 54132 bytes
Custom STM32L051K8U6: 61796 bytes
The difference is 7664 bytes, for the exact same code ...
I have made a custom board using STM32L051K8U6 (64KB Flash), and configured the board variant myself. While compiling for Nucleo L432KC, the flash size is very different in size.
Nucleo L432KC: 54132 bytes
Custom STM32L051K8U6: 61796 bytes
The difference is 7664 bytes, for the exact same code ...