Thank you for the reply.
I forgot to mention, Sorry.
OpenOCD's message is:openocd prints progress messages while it is running. What is it saying in your system?
Code:
guest@LA-27-0036:~$ sudo openocd -f c232hm-edhsl-0.cfg -f raspi4.cfgOpen On-Chip Debugger 0.12.0Licensed under GNU GPL v2For bug reports, read http://openocd.org/doc/doxygen/bugs.htmlInfo : Listening on port 6666 for tcl connectionsInfo : Listening on port 4444 for telnet connectionsInfo : clock speed 1000 kHzInfo : JTAG tap: auto0.tap tap/device found: 0x4ba00477 (mfg: 0x23b (ARM Ltd), part: 0xba00, ver: 0x4)Info : bcm2711.a72.0: hardware has 6 breakpoints, 4 watchpointsInfo : bcm2711.a72.1: hardware has 6 breakpoints, 4 watchpointsInfo : bcm2711.a72.2: hardware has 6 breakpoints, 4 watchpointsInfo : bcm2711.a72.3: hardware has 6 breakpoints, 4 watchpointsInfo : starting gdb server for bcm2711.a72.0 on 3333Info : Listening on port 3333 for gdb connectionsInfo : accepting 'gdb' connection on tcp/3333Info : bcm2711.a72.0 cluster 0 core 0 multi coreInfo : bcm2711.a72.1 cluster 0 core 1 multi corebcm2711.a72.1 halted in AArch64 state due to debug-request, current mode: EL1Hcpsr: 0x600000c5 pc: 0xffffffd6e3efb9e8MMU: enabled, D-Cache: enabled, I-Cache: enabledInfo : bcm2711.a72.2 cluster 0 core 2 multi corebcm2711.a72.2 halted in AArch64 state due to debug-request, current mode: EL1Hcpsr: 0x600000c5 pc: 0xffffffd6e3efb9e8MMU: enabled, D-Cache: enabled, I-Cache: enabledInfo : bcm2711.a72.3 cluster 0 core 3 multi corebcm2711.a72.3 halted in AArch64 state due to debug-request, current mode: EL1Hcpsr: 0x600000c5 pc: 0xffffffd6e3efb9e8MMU: enabled, D-Cache: enabled, I-Cache: enabledbcm2711.a72.0 halted in AArch64 state due to debug-request, current mode: EL1Hcpsr: 0x600000c5 pc: 0xffffffd6e3efb9e8MMU: enabled, D-Cache: enabled, I-Cache: enabledInfo : New GDB Connection: 1, Target bcm2711.a72.0, state: haltedError: abort occurred - dscr = 0x03047d53Error: abort occurred - dscr = 0x03047d53Error: abort occurred - dscr = 0x03047d53Error: abort occurred - dscr = 0x03047d53Error: Can't assert SRST: nSRST signal is not definedError: Can't assert SRST: nSRST signal is not definedInfo : JTAG tap: auto0.tap tap/device found: 0x4ba00477 (mfg: 0x23b (ARM Ltd), part: 0xba00, ver: 0x4)Error: Can't assert SRST: nSRST signal is not definedbcm2711.a72.1 halted in AArch64 state due to debug-request, current mode: EL1Hcpsr: 0x600000c5 pc: 0xffffffd6e3efb9e8MMU: enabled, D-Cache: enabled, I-Cache: enabledbcm2711.a72.2 halted in AArch64 state due to debug-request, current mode: EL1Hcpsr: 0x600000c5 pc: 0xffffffd6e3efb9e8MMU: enabled, D-Cache: enabled, I-Cache: enabledbcm2711.a72.3 halted in AArch64 state due to debug-request, current mode: EL1Hcpsr: 0x600000c5 pc: 0xffffffd6e3efb9e8MMU: enabled, D-Cache: enabled, I-Cache: enabledbcm2711.a72.0 halted in AArch64 state due to debug-request, current mode: EL1Hcpsr: 0x600000c5 pc: 0xffffffd6e3efb9e8MMU: enabled, D-Cache: enabled, I-Cache: enabledError: abort occurred - dscr = 0x03047d53Error: abort occurred - dscr = 0x03047d53Error: abort occurred - dscr = 0x03047d53Error: can't add breakpoint: unknown reasonInfo : dropped 'gdb' connection
the wiring between the FTDI cable and the CM4 is:Also, you haven't described the wiring between the FTDI cable and the CM4,
Code:
Brown(TMS)-GPIO27Gray(TRST)-GPIO22Blue(RTCK)-GPIO23Green(TDO)-GPIO24Orange(TCK)-GPIO25Yellow(TDI)-GPIO26Black(GND)-GND
I added "enable_jtag_gpio=1" to config.txt already.and neither have you mentioned adding "enable_jtag_gpio=1" to config.txt.
I forgot to mention, Sorry.
Statistics: Posted by srkw — Fri Aug 30, 2024 2:00 am