Pavel Pisa commented: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5537#note_147619


I have used mainline OpenOCD to load and debug application.

This is my `openocd.cfg` for TMS570LC43xx
```
telnet port 4444
gdb port 3333

adapter speed 500

source [find interface/ftdi/xds100v2.cfg]
source [find target/ti/tms570lc43xx.cfg]
#source [find target/ti/tms570ls3137.cfg]
#source [find target/ti_tms570ls3137.cfg]

reset_config trst_only

init
ftdi_set_signal PWR_RST 1
jtag arp_init

# Disable Parameter Overlay Module (POM)
# when reset vector is overlaid incorrectly, device hard
# locks after reset
#mww 0xffa04000 0

reset halt
wait_halt
#resume
#sleep 1000
#tms570.cpu arp_halt
#wait_halt

tms570.cpu configure -event gdb-attach {
        cortex_r4 dbginit
        reset halt
        wait_halt
        #resume
        #sleep 1000
        #tms570.cpu arp_halt
        #wait_halt
}
```

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5537#note_147619
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to