Thanks i can connect to my toon serial and with the jtag interface. now i try to stop the cpu with soft_reset_halt but it is not working?marcelr wrote:Looks like you are missing a line like this in jlink.cfg:JacDomotica wrote:Hello,
I bougth an toon and an jtag interface and i am trying to connect the interface via openocd to my toon.
But i get this error:P.S. toon is not connected in this example but if it is then i get the same error.Code: Select all
PS C:\Projecten\OpenOCD-20170821\bin> ./openocd -f ./interface/jlink.cfg -f ./ed20.cfg Open On-Chip Debugger 0.10.0 (2017-08-21) [https://github.com/sysprogs/openocd] Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html trst_and_srst srst_pulls_trst srst_gates_jtag trst_push_pull srst_open_drain connect_deassert_srst Info : auto-selecting first available session transport "jtag". To override use 'transport select <transport>'. dcc downloads are enabled ed20_init Info : No device selected, using first device. Info : J-Link ARM V8 compiled Nov 28 2014 13:44:46 Info : Hardware version: 8.00 Info : VTarget = 0.000 V Error: JTAG I/O operation failed: 0x5. Error: jaylink_jtag_io() failed: JAYLINK_ERR_DEV. Error: An adapter speed is not selected in the init script. Insert a call to adapter_khz or jtag_rclk to proceed.
I am a beginner but is there some one who can help me?Code: Select all
adapter_khz 1000
Code: Select all
.\openocd -f interface/jlink.cfg -f ed20.cfg
Open On-Chip Debugger 0.10.0 (2017-08-21) [https://github.com/sysprogs/openocd]
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
adapter speed: 500 kHz
jtag
trst_and_srst srst_pulls_trst srst_gates_jtag trst_push_pull srst_open_drain connect_deassert_srst
dcc downloads are enabled
ed20_init
Info : No device selected, using first device.
Info : J-Link ARM V8 compiled Nov 28 2014 13:44:46
Info : Hardware version: 8.00
Info : VTarget = 2.814 V
Info : clock speed 500 kHz
Info : TAP imx27.etb does not have IDCODE
Info : TAP imx27.cpu does not have IDCODE
Info : TAP auto0.tap does not have IDCODE
Info : TAP auto1.tap does not have IDCODE
Info : TAP auto2.tap does not have IDCODE
Info : TAP auto3.tap does not have IDCODE
Info : TAP auto4.tap does not have IDCODE
Info : TAP auto5.tap does not have IDCODE
Info : TAP auto6.tap does not have IDCODE
Error: imx27.etb: IR capture error; saw 0x00 not 0x01
Warn : Bypassing JTAG setup events due to errors
Info : Embedded ICE version 0
Error: unknown EmbeddedICE version (comms ctrl: 0x00000000)
Info : imx27.cpu: hardware has 2 breakpoint/watchpoint units
Info : ETM v1.0
Info : accepting 'telnet' connection on tcp/4444
requesting target halt and executing a soft reset
Error: Failed to halt CPU after 1 sec
Info : Halt timed out, wake up GDB.