Page 1 of 1

Openocd at91sam3s4b configuration

Posted: Mon Apr 09, 2012 12:06 pm
by m.wijlaars
Hi all,

I'm developing a pcb which uses the at91sam3s4b as main processor. I try to talk to it via jtag useing an olimex arm-usb-jtag dongle and openocd.
It is not working, the only response I get is that is finds the right chip ID. Using a osciloscoop I a signal on all relevant jtag pins (TDI,TDO, TMS and CLK), all digital io seems to be there. However I cant open a telnet session to localhost port 4444, I don't get a telnet prompt.
Does anybody have any suggestions?

Re: Openocd at91sam3s4b configuration

Posted: Mon Apr 09, 2012 5:41 pm
by ngoncalves
I am not familiar with those tools, but if you can't telnet maybe the firewall is blocking that port.

Windows typically disables ports it does not know.

Re: Openocd at91sam3s4b configuration

Posted: Wed Apr 18, 2012 11:41 am
by paranoid_android
I've only recently started to use openocd (with a success, however :D ) but I do have an idea:
If you don't have your adapter_khz value set properly in a script, maybe openocd looses connection with the chip and it shutsdown? That might be the reason of your problems with connection to localhost 4444.

Re: Openocd at91sam3s4b configuration

Posted: Thu Apr 19, 2012 1:15 pm
by m.wijlaars
The problem is solved, the at91sam3 on my PCB was broken, on a new PCB everything works just fine