Hi everyone,
I know that some ARM7 chip, such as S3C4510, can be programmed using a JTAG parallel cable without a emulator. Does anyone konw how to program AT91SAM7S64 using a JTAG parallel cable?
Thanks,
Ken
Hi everyone,
I know that some ARM7 chip, such as S3C4510, can be programmed using a JTAG parallel cable without a emulator. Does anyone konw how to program AT91SAM7S64 using a JTAG parallel cable?
Thanks,
Ken
there doesnt seem to be any ready to use solutions for this, so you need to write the thing yourself, I am about todo it also, as I have found no ready solutions. I am using armtool to load application to RAM, that works ok, so now if I create small small 'stub' that communicates over DCC than flash programming would become possible also
Antti
Using OpenOCD JTAG client + Chameleon POD (as Wiggler clone or as Amontec JTAG Accelerator configuration), it is possible to FLASH LPC2xxx ( LPC2106, LPC2148, ...)
OpenOCD is free, so you may customize it for your own SAM7 Flash uploader integration.
As the OpenOCD includes a well done JTAG HAL (Hardware Abstration Layer), you will be able to update from your own-made wiggler parport cable to an Amontec JTAGkey cable (USB to JTAG cable).
Note: the OpenOCD includes one GDB port layer and one Telnet port layer (Telnet is using for OpenOCD config, and for starting the Flash upload service)
Best regards, Laurent
yes I know all that. LPC21xx is supported by the openocd, SAM7 isnt easy as that. so whatever path is taken there is custom programming required to program the SAM7 with or without the used of openocd
Antti
I have a *skeleton* for a solution that uses my jjtag Java package
Please note that this is more like a brainstorming for a programmer tool. I wrote it while I was reading the Flash programming section of the sam7s manual and currently don't have any hardware to test it. You can take it as a starting point... Hey, something is better than nothing ;o)
Best regards.
-- PabloBleyerKocik /"On ne voit bien qu=92avec le c=9Cur. pablo / L=92essentiel est invisible pour les yeux." @bleyer.org / -- Le petit prince (XXI), Antoine de Saint-Exup=E9ry
OpenOCD currently supports Wiggler (clones), FTDI FT2232C based JTAG interfaces (Amontec JTAGkey), and the Amontec JTAG Accelerator, and allows ARM7 (ARM7TDMI and ARM720t) and ARM9 (ARM920t) based cores to be debugged.
Laurent
Yes, Yes, there is support for debug in openocd, sure!
but nothing for SAM7S onchip flash programming - and the OP asked for SAM7S flash programming! not about debugging or general JTAG comms
SAM7 does not have call able flash API entry points (as LPC21xx has) so there flash programming needs a ARM side small stub to be developed in additiona to the JTAG comms
Antti
Flash support for both Philips LPC2xxx and Atmel AT91SAM7 are supported For more info, the OpenOCD configuration is from :
-
;)
the SAM7 support wasnt yet added last I checked, now it seems to be added nice!
Yes, Mr. Dominic Rath is doing a very nice work !
The Dominic Rath 's donation page ;-) :
SAM7 support is included since today (Thanks to Magnus Lundin). I couldn' test it myself, so please report back if you experience any problems.
Regards,
Dominic
yes, so I wasnt so wrong saying it isnt there, i noticed the 'march 10' date (e.g. today) on the SAM7 support :)
I can test on 2 different boards sam7s64 olimex and custom board sam7s256 (3 devices in chain)
Antti
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.