Sign in

username:

password:



Not a member?

Search AT91SAM



Search tips

Subscribe to AT91SAM



Ads

Discussion Groups

Discussion Groups | AT91SAM ARM | S64 doesn't want to cooperate with OpenOCD

For users of the Atmel AT91SAM7 and AT91SAM9 ARM CPU chips. Atmel has taken a new direction by combining on chip flash and ram with the ARM CPU on a single die. This provides low cost devices for small systems using the ARM CPU. This group is to exchange information to help users get started and learn how to use the devices.

S64 doesn't want to cooperate with OpenOCD - Adam Malinowski - Dec 19 17:25:42 2007

Hi.
I have clone of Amontec JTAG Key and AT91SAM7S64.
When cpu flash is cleared everythig is OK. I can program the flash
using OpenOCD and program works fine. But starting now I can't
program flash again because my program works. OpenOCD
can't do anything with the CPU. It connects to it but can't do anything
even can't read registers value (all are zeros). After clearing the
flash everything
works fine again. OpenOCD can talko to CPU, read registers and program
flash. What is wrong?
Interesting thing is that I can use the same tools on my second
device with AT91SAM7S256 and here everything works fine.
I can program flash at any time and I can debug program.
My S256 is about 2 years older the S64 maybe something has changed?

Any ideas?

Regards.

----------------------------------------------------------------------
Stuninguj swoj komputer! ;)
Kliknij >>> http://link.interia.pl/f1cb3



(You need to be a member of AT91SAM -- send a blank email to AT91SAM-subscribe@yahoogroups.com )


Re: S64 doesn't want to cooperate with OpenOCD - Adam Malinowski - Dec 20 13:39:45 2007

Hi.
Forget about this problem. I've solved this today.
The problem was hardware reset. My JTAG key kept reset low all the time.

Regards

Adam Malinowski pisze:
> Hi.
> I have clone of Amontec JTAG Key and AT91SAM7S64.
> When cpu flash is cleared everythig is OK. I can program the flash
> using OpenOCD and program works fine. But starting now I can't
> program flash again because my program works. OpenOCD
> can't do anything with the CPU. It connects to it but can't do anything
> even can't read registers value (all are zeros). After clearing the
> flash everything
> works fine again. OpenOCD can talko to CPU, read registers and program
> flash. What is wrong?
> Interesting thing is that I can use the same tools on my second
> device with AT91SAM7S256 and here everything works fine.
> I can program flash at any time and I can debug program.
> My S256 is about 2 years older the S64 maybe something has changed?
>
> Any ideas?
>
> Regards.
>
> ----------------------------------------------------------------------
> Stuninguj swoj komputer! ;)
> Kliknij >>> http://link.interia.pl/f1cb3
>
>
>



(You need to be a member of AT91SAM -- send a blank email to AT91SAM-subscribe@yahoogroups.com )