Forum: ARM programming with GCC/GNU tools OpenOCD / Flashing AT91

Author: Joe Dupre (jdupre)
Posted on:

Rate this post
0 useful
not useful
Martin Thomas's tutorial on flashing with openOCD uses the
"working_area" directive in the OpenOCD configuration file.

The address value shown in the sample for the AT91SAM7 is incorrect if
the "working_area" refers to target's RAM.  The address of RAM is at
0x200000 for the SAM7 series, correct?

In any event, I do not see any improvement in the time it takes to flash
the AT91SAM7X with the working_area configured.

(I get about .44K/s flashing an empty flash via a wiggler, or 5.5K/s if
the processor has code to get the clocks up to speed before flashing)

- Joe

Author: Dominic R. (dominic)
Posted on:

Rate this post
0 useful
not useful
There's no support for speeding up programming of AT91SAM7 devices with
an on-chip algorithm like there is for external flashes using the 'cfi'
driver. Writing flash at 5.5kb/s using a wiggler aint that bad, so
there's little reason to look into using an on-chip algorithm for these

You should be able to initialize the PLL using the memory write commands
provided by the OpenOCD (mw[bhw]).




Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.