Loading...
 
Skip to main content

System Workbench for STM32


Debugging issue

After an "I DON'T KNOW WHAT/WHY" operation, now my NUCLEO-F4303K8 normally debug...

The only things I does are:
- use a fresh installation of eclipse mars-2;
- install in it the "GNU ARM PLUGIN" that can be downloaded here: http://gnuarmeclipse.github.io/plugins/install/
- create an empty nucleo-f3 project,
- modified the linker script the GNU ARM PLUGIN generate to reproduce my (6-2-16-R) scheme,
- flash into, debug, and BOOM, it debug!

The only thingh I noticed is the "mem.ld" it produce which has the CCMRAM non empty field

RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 12K
CCMRAM (xrw) : ORIGIN = 0x10000000, LENGTH = 4K /* < - - - - - - - - */
BOOT (rx) : ORIGIN = 0x8000000, LENGTH = 6K
EEP_EMU (rx) : ORIGIN = 0x8001800, LENGTH = 2K
BOOTLOADER (rx) : ORIGIN = 0x8002000, LENGTH = 16K
FLASH (rx) : ORIGIN = 0x8006000, LENGTH = 40K
FLASHB1 (rx) : ORIGIN = 0x00000000, LENGTH = 0
EXTMEMB0 (rx) : ORIGIN = 0x00000000, LENGTH = 0
EXTMEMB1 (rx) : ORIGIN = 0x00000000, LENGTH = 0
EXTMEMB2 (rx) : ORIGIN = 0x00000000, LENGTH = 0
EXTMEMB3 (rx) : ORIGIN = 0x00000000, LENGTH = 0
MEMORY_ARRAY (xrw) : ORIGIN = 0x20002000, LENGTH = 0

I really don't know if this resolve the problem, but from now, i can debug also with the SystemWorkbench projects I posted above, with and without the CCMRAM defined.

Buh?!?!

 
Collapse/expand modules below