Hi Peter Peter Mamonov wrote: > Hi Sinan, > > I was able to halt while u-boot was running. The situation becomes more > complicated after linux start: linux runs on both cores and after one > core halts, it reboots the system. > > The crucial configuration option is "reset_config trst_and_srst": > scan chain won't work until openocd issues tap reset using hardware > TRST signal. Here is the config, that works for me:
Thanks much for this. I realized there is no JTAG communication possible with CN70xx while reset is asserted. Were you able to RESET HALT and stop soon after reset ? Issuing HALT specifically while u-boot is coming up works but resume generates an "ERROR wait_for_pracc_rw", I am not sure if you were seeing this with cn61xx. I'll debug this further and also take a look at halting cores while Linux is running. Best regards Sinan Akman > > source [find interface/ftdi/jtagkey2p.cfg] > adapter_khz 1000 > transport select jtag > reset_config trst_and_srst > > jtag newtap cpu cpu0 -irlen 5 > jtag newtap cpu cpu1 -irlen 5 > > target create cpu.cpu0 mips_mips64 -chain-position cpu.cpu0 -endian big > target create cpu.cpu1 mips_mips64 -chain-position cpu.cpu1 -endian big > > targets cpu.cpu0 > > > Regards, > Peter > > > On Mon, 3 Aug 2015 19:01:22 -0400 > Sinan Akman <[email protected]> wrote: > >> Hi Peter >> >> I am testing your patch with Cavium cn70xx. >> You commented on gerrit that you tested it >> successfully with CN61XX. Were you able to halt >> all the time ? Could you post your config file. >> >> Thanks >> Sinan Akman > > ------------------------------------------------------------------------------ _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
