Hi,
I’m breaking my head to make task aware debug on Cypress Superspeed exlplorer kit. Its an arm926ejs core.
There’s eclipse sdk provided, but without the task aware support for threadx.
By task awareness I mean it should be able to show me all the threads call stack in the eclipse or in gdb “info threads” command should work.
At present, I can only see the thread which is currently executing. There’s no way to check the call stack of other threads.
Below is the openocd cf file used:
#
# USB-Serial IC (CY7C65215) JTAG
#
#
#
gdb_port 3333
interface openjtag
######################################
# Target: CY FX3 ARM926ejs
######################################
if { [info exists CHIPNAME] } {
set _CHIPNAME $CHIPNAME
} else {
set _CHIPNAME fx3
}
if { [info exists ENDIAN] } {
set _ENDIAN $ENDIAN
} else {
set _ENDIAN little
}
if { [info exists CPUTAPID] } {
set _CPUTAPID $CPUTAPID
} else {
set _CPUTAPID 0x07926069
}
#delays on reset lines
adapter_nsrst_delay 200
jtag_ntrst_delay 200
adapter_khz 1000
reset_config trst_and_srst srst_pulls_trst
jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
jtag_rclk 3
######################
# Target configuration
######################
set _TARGETNAME $_CHIPNAME.cpu
target create $_TARGETNAME arm926ejs -endian $_ENDIAN -chain-position $_TARGETNAME -variant arm926ejs
adapter_khz 1000
Now, I’ve tried by enabling -rtos auto option but does not seem to work.
My question is that does openocd support multiple threads for Threadx rtos ?
Cheers
Nagla