Hi List,

FYI, attached are scripts tested with OpenOCD 0.2.0 and SVN 2600 (head) for:

1. Atmel AT91SAM7S-EK dev board (microcontroller AT91SAM7S256)
board/atmel_at91sam7s-ek.cfg and target/at91sam7sx.cfg

2. Atmel AT91SAM9260-EK dev board (microcontroller AT91SAM9260-CJ)
board/atmel_at91sam9260-ek.cfg and target/at91sam9260.cfg

3. Unknown vendor board with Atmel AT91SAM9260-CU
board/unknown_at91sam9260_ek.cfg and target/at91sam9260.cfg

I took the liberty of renaming "unknown-board-atmel-at91sam9260.cfg" to 
"unknown_at91sam9260.cfg". I also added "at91sam7sx.cfg" to comply with the 
general naming convention. I would also recommend that 
"at91sam9260_ext_RAM_ext_flash.cfg" be deleted (in favour of 
"unknown_at91sam9260.cfg").

For the AT91SAM9260-CJ, I had to increase the jtag_nsrst_delay to 300 ms so 
that the target would halt properly for the "reset-init" event script. If this 
time was too small (e.g. 200 ms) I would get the following:

> reset init
5 kHz
JTAG tap: at91sam9260.cpu tap/device found: 0x0792603f (mfg: 0x01f, part: 
0x7926, ver: 0x0)
JTAG Tap/device matched
timed out while waiting for target halted
Runtime error, file "embedded:startup.tcl", line 222:
    expected return code but got 'TARGET: at91sam9260.cpu - Not halted'
in procedure 'ocd_process_reset'
called at file "embedded:startup.tcl", line 204
called at file "embedded:startup.tcl", line 205
called at file "embedded:startup.tcl", line 221
Runtime error, file "command.c", line 469:

I can't explain why this is required... any takers?

Anyway, as far as the scripts goes... commit it, don't commit it :)

Best regards,
Pieter Conradie

Notice
This email is intended for the addressee only and may contain legally 
privileged and/or confidential information.  If you have received this email in 
error and are not the intended recipient, you are hereby informed that you are 
not entitled to read, broadcast, distribute or in any manner whatsoever use the 
contents of this email or any attachments thereto.  You are requested to please 
notify Psitek that you have received the email and then delete it.  Unless 
clearly stated otherwise, the content and sentiments expressed in this email or 
any attachments thereto are those of the sender and not of Psitek (Proprietary) 
Limited.  Psitek does not accept liability for any damages, loss or expense of 
any nature whatsoever arising (a) out of or in connection with the email or any 
attachments thereto and/or (b) from any act or omission by the recipient 
relying upon the content of the email or attachments.  Psitek further disclaims 
liability for any damages caused by computer and/or software viruses.  Should 
this email contain the terms of a contract, no binding agreement will result 
until such time as a written (hardcopy) document is signed on behalf of Psitek.

Attachment: atmel_at91sam7s-ek.cfg
Description: atmel_at91sam7s-ek.cfg

Attachment: atmel_at91sam9260-ek.cfg
Description: atmel_at91sam9260-ek.cfg

Attachment: unknown_at91sam9260.cfg
Description: unknown_at91sam9260.cfg

Attachment: at91sam7sx.cfg
Description: at91sam7sx.cfg

Attachment: at91sam9260.cfg
Description: at91sam9260.cfg

_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to