2019-02-15 10:19 AM
Hello,
I am using an STM32L4R5VIT6 board in which I am programming it with Atollic TrueSTUDIO using the debugger and Jlink connectiong. When I am running the debugger, it suddenly stopped working for me and the console reads:
Connecting to J-Link...
J-Link is connected.
...
Connected to target
Waiting for GDB connection...Connected to 127.0.0.1
Reading all registers
GDB closed TCP/IP connection
Restoring target state and closing J-Link connection...
Shutting down...
Comparing this to another board where the debugger is working fine, it seems to be that it stops working at the "read all registers" section. I have tried connecting another board and found it works fine, so it must be hardware related. Is there anything with the this ST32 board that might prevent the registers from being read? (Note: I have tried error 2.2.1 of the errata sheet)
Solved! Go to Solution.
2019-02-15 11:51 AM
I eventually solved my problem. I ended up erasing the flash on the board and that seemed to solve my problem. I am unsure what caused it in the first place though.
2019-02-15 11:51 AM
I eventually solved my problem. I ended up erasing the flash on the board and that seemed to solve my problem. I am unsure what caused it in the first place though.