EmbeddedRelated.com
Forums

Easy In-System Programming for Atmel ARM7 ?

Started by Mel May 12, 2009
I have a client who needs to write program hex files to flash in installed 
AT91SAM2S256 chips.  The board is fitted with the standard ARM 20-pin JTAG 
connector.  I'm getting my head around OpenOCD and gdb, but they seem too 
complicated for a civilian.

Would anyone like to share experiences with simpler software, possibly 
Windows-based?  Recommendations for interface hardware, software packages, 
etc.?

	Thanks,		Mel.

Mel wrote:
> I have a client who needs to write program hex files to flash in installed > AT91SAM2S256 chips. The board is fitted with the standard ARM 20-pin JTAG > connector. I'm getting my head around OpenOCD and gdb, but they seem too > complicated for a civilian. > > Would anyone like to share experiences with simpler software, possibly > Windows-based? Recommendations for interface hardware, software packages, > etc.? > > Thanks, Mel. >
I bet you mean: AT91SAM_7_S256 A little more information would be helpful. Is there a serial port connected to the outside world ? Is programming to be done within a sealed box, i.e. is the board access available ? Google for "AT91SAM7S256 boot loader", there are lots of ideas there. don
On Tue, 12 May 2009 19:41:44 -0400, Mel <mwilson@the-wire.com> wrote:

>I have a client who needs to write program hex files to flash in installed >AT91SAM2S256 chips. The board is fitted with the standard ARM 20-pin JTAG >connector. I'm getting my head around OpenOCD and gdb, but they seem too >complicated for a civilian. > >Would anyone like to share experiences with simpler software, possibly >Windows-based? Recommendations for interface hardware, software packages, >etc.?
Simplest and cheapest is H-JTAG with an Olimex Wiggler clone. Not a lot of bells and whistles, tho. H-JTAG is free; the clone is cheap. http://hjtag.blogspot.com/ http://www.sparkfun.com/commerce/product_info.php?products_id=275 It wants a real parallel port, though. A step up is the Scarabeus debugger package and usbScarab from Kristech. It can also use the Wiggler. <http://www.kristech.eu/ang/index.php?option=com_content&task=view&id=37&Itemid=60> I generally use the NoICE debugger along with a Segger J-Link USB pod. Very quick and easy to connect/burn/trace/debug. A nice package but kinda pricey. Using the RDI capability of H-JTAG, NoICE will chat with the chips through the Wiggler (or clone) if you have a parallel port. http://www.noicedebugger.com/index.html http://www.segger.com/jlink.html -- Rich Webb Norfolk, VA
 wrote:

> Mel wrote: >> I have a client who needs to write program hex files to flash in >> installed >> AT91SAM2S256 chips. The board is fitted with the standard ARM 20-pin >> JTAG >> connector. I'm getting my head around OpenOCD and gdb, but they seem too >> complicated for a civilian. >> >> Would anyone like to share experiences with simpler software, possibly >> Windows-based? Recommendations for interface hardware, software >> packages, etc.? >> >> Thanks, Mel. >> > > I bet you mean: AT91SAM_7_S256
Hmmm. Yes. That is what I mean
> A little more information would be helpful. > Is there a serial port connected to the outside world ? > Is programming to be done within a sealed box, i.e. is the board access > available ?
Serial could be arranged. JTAG would be be OK if the process could come down to "Run these programs according to this simple checklist." Board access is possible too. Client is having the boards custom built. We have wiggler clones that appear to work well with the target processor on AT91SAM7S-EK. All concerned still have very little experience with this particular chip.
> Google for "AT91SAM7S256 boot loader", there are lots of ideas there.
Mel.
Rich Webb wrote:

> On Tue, 12 May 2009 19:41:44 -0400, Mel <mwilson@the-wire.com> wrote: >>I have a client who needs to write program hex files to flash in installed >>AT91SAM2S256 chips. The board is fitted with the standard ARM 20-pin JTAG >>connector. I'm getting my head around OpenOCD and gdb, but they seem too >>complicated for a civilian. >>Would anyone like to share experiences with simpler software, possibly >>Windows-based? Recommendations for interface hardware, software packages, >>etc.?
> Simplest and cheapest is H-JTAG with an Olimex Wiggler clone. Not a lot > of bells and whistles, tho. H-JTAG is free; the clone is cheap. > http://hjtag.blogspot.com/ > http://www.sparkfun.com/commerce/product_info.php?products_id=275 > It wants a real parallel port, though.
Thanks. That's one of the packages included in WinARM, of course. I'll set it up and give it a run. Mel.
> > A step up is the Scarabeus debugger package and usbScarab from Kristech. > It can also use the Wiggler. > >
<http://www.kristech.eu/ang/index.php?option=com_content&task=view&id=37&Itemid=60>
> > I generally use the NoICE debugger along with a Segger J-Link USB pod. > Very quick and easy to connect/burn/trace/debug. A nice package but > kinda pricey. Using the RDI capability of H-JTAG, NoICE will chat with > the chips through the Wiggler (or clone) if you have a parallel port. > > http://www.noicedebugger.com/index.html > http://www.segger.com/jlink.html >
"Mel" <mwilson@the-wire.com> wrote in message 
news:gud1fn$656$1@services.telesweet.net...
>I have a client who needs to write program hex files to flash in installed > AT91SAM2S256 chips. The board is fitted with the standard ARM 20-pin JTAG > connector. I'm getting my head around OpenOCD and gdb, but they seem too > complicated for a civilian. > > Would anyone like to share experiences with simpler software, possibly > Windows-based? Recommendations for interface hardware, software packages, > etc.? > > Thanks, Mel.
See: http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3883 -- Regards, Richard. + http://www.FreeRTOS.org Designed for Microcontrollers. More than 7000 downloads per month. + http://www.SafeRTOS.com Certified by T&#4294967295;V as meeting the requirements for safety related systems.
On Tue, 12 May 2009 19:41:44 -0400, Mel <mwilson@the-wire.com> wrote:

>I have a client who needs to write program hex files to flash in installed >AT91SAM2S256 chips. The board is fitted with the standard ARM 20-pin JTAG >connector. I'm getting my head around OpenOCD and gdb, but they seem too >complicated for a civilian. > >Would anyone like to share experiences with simpler software, possibly >Windows-based? Recommendations for interface hardware, software packages, >etc.?
We ended up making our own, now available at http://www.mpeforth.com/jtagwidget.htm All you is a terminal program that supports XModem, even HyperTerm will do but we supply one. It's basically a scriptable ARM JTAG debugger. Several of our clients use them for production flashing. The nice part is that you can save the configuration on the widget itself - a bit more set up but ideal for production. Stephen -- Stephen Pelc, stephenXXX@mpeforth.com MicroProcessor Engineering Ltd - More Real, Less Time 133 Hill Lane, Southampton SO15 5AF, England tel: +44 (0)23 8063 1441, fax: +44 (0)23 8033 9691 web: http://www.mpeforth.com - free VFX Forth downloads