cancel
Showing results for 
Search instead for 
Did you mean: 

NUCLEO-L4R5ZI Debug issue.

Posted on April 06, 2018 at 13:04

Hi Team,

I have issue in debugging NUCLEO-L4R5ZI, i m facing with following error, for the IOToggle code.

Please let me know what i need to change in the below script. to fix the issue to proceed in debug.

IDE: Atollic IDE. 

♯ Set flash parallelism mode to 32, 16, or 8 bit when using STM32 F2/F4 microcontrollers

♯ Uncomment next line, 2=32 bit, 1=16 bit and 0=8 bit parallelism mode

&sharpmonitor flash set_parallelism_mode 2

♯ Set character encoding

set host-charset CP1252

set target-charset CP1252

♯ Reset to known state

monitor reset

♯ Load the program executable

load

♯ Reset the chip to get to a known state. Remove ''monitor reset'' command

♯ if the code is not located at default address and does not run by reset.

monitor reset

♯ Enable Debug connection in low power modes (DBGMCU->CR)

set *0xE0042004 = (*0xE0042004) | 0x7

♯ Set a breakpoint at main().

tbreak main

♯ Run to the breakpoint.

continue0690X0000060ASYQA2.png

Regards,

Phanirajkiran

#debug-issue
2 REPLIES 2
Posted on April 09, 2018 at 08:13

HI Team,

Im facing issue with NUCLEO-L4R5ZI, startup script.

When i try to debug the board/ program board. It throws me a error. 

0690X0000060ATqQAM.png
Posted on April 09, 2018 at 11:21

Solution:

https://community.st.com/0D50X00009XkXaiSAF