Re: [Openocd-development] Can't halt Calao USB A9263 with OpenOCD 0.5.0

2011-11-03 Thread freddie_chopin
); Sorry, no more ideas from my side... Maybe someone else will be able to help you. Generally the code you are running on the chip can be somehow blocking JTAG access so, if you can, try halting chip with empty flash. I think (I'm not sure) that issuing "poll" command from telnet performs the

Re: [Openocd-development] Can't halt Calao USB A9263 with OpenOCD 0.5.0

2011-11-03 Thread Thomas Petazzoni
Le Thu, 03 Nov 2011 11:21:33 +0100, freddie_chopin a écrit : > Notice that first you set srst_pulls_trst and then another config > file sets that back to "separate". Try adding the command to openocd > call: openocd -f ... -c "reset_config trst_and_srst srst_pulls_trst" Ah, right. Unfortunately,

Re: [Openocd-development] Can't halt Calao USB A9263 with OpenOCD 0.5.0

2011-11-03 Thread freddie_chopin
W dniu 2011-11-03 11:08:39 użytkownik Thomas Petazzoni napisał: > > You may also try "reset_config srst_pulls_trst" or other > > configurations... > > Not better, unfortunately. Still the exact same behaviour. Here is my > interface file: > > none srst_pulls_trst > trst_and_srst separate srst_g

Re: [Openocd-development] Can't halt Calao USB A9263 with OpenOCD 0.5.0

2011-11-03 Thread Thomas Petazzoni
Hello, Le Thu, 03 Nov 2011 11:01:00 +0100, freddie_chopin a écrit : > What's the core speed of your chip? It's a AT91SAM9263 at 180 Mhz. > Probably something high, so try high speed of JTAG - 1000 kHz (1MHz) > - 5kHz is really slow, "rclk 2" should give something like 2MHz > (6MHz / (2+1)), bu

Re: [Openocd-development] Can't halt Calao USB A9263 with OpenOCD 0.5.0

2011-11-03 Thread freddie_chopin
W dniu 2011-11-03 10:52:11 użytkownik Thomas Petazzoni napisał: > > 1. Try changing the speed of JTAG to be 1/8th of core speed. > > I have tried with adapter_khz 5 or jtag_rclk 2, and not better. Since > the JTAG is capable of finding the tap/device, doesn't that mean that > the communication i

Re: [Openocd-development] Can't halt Calao USB A9263 with OpenOCD 0.5.0

2011-11-03 Thread Thomas Petazzoni
Hello, Thanks for your feedback! Le Thu, 03 Nov 2011 09:27:49 +0100, freddie_chopin a écrit : > 1. Try changing the speed of JTAG to be 1/8th of core speed. I have tried with adapter_khz 5 or jtag_rclk 2, and not better. Since the JTAG is capable of finding the tap/device, doesn't that mean th

Re: [Openocd-development] Can't halt Calao USB A9263 with OpenOCD 0.5.0

2011-11-03 Thread freddie_chopin
1. Try changing the speed of JTAG to be 1/8th of core speed. 2. Try doing "reset halt" from the telnet first. 3. Make sure your board has the same reset configuration as you pass to OpenOCD - separate lines of TRST and SRST. 4\/3!! ___ Openocd-developme

Re: [Openocd-development] Can't halt Calao USB A9263 with OpenOCD 0.5.0

2011-11-03 Thread Thomas Petazzoni
Hello, Any idea on this JTAG problem on Calao USB A9263 ? Thanks! Thomas Le Mon, 31 Oct 2011 23:52:18 +0100, Thomas Petazzoni a écrit : > Hello, > > (Resending to the list @berlios.de since the list > @lists.sourceforge.net doesn't seem to work) > > I am trying to use OpenOCD 0.5.0 on the C

[Openocd-development] Can't halt Calao USB A9263 with OpenOCD 0.5.0

2011-10-31 Thread Thomas Petazzoni
Hello, (Resending to the list @berlios.de since the list @lists.sourceforge.net doesn't seem to work) I am trying to use OpenOCD 0.5.0 on the Calao USB A9263 board. This board is based on the AT91SAM9263 SoC and uses a built-in FTDI 2232 to provide USB access to the JTAG interface. The problem i