EmbDev.net

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


von Joe D. (jdupre)


Rate this post
useful
not useful
Martin Thomas's tutorial on flashing with openOCD uses the
"working_area" directive in the OpenOCD configuration file.
(http://www.siwawi.arubi.uni-kl.de/avr_projects/arm_projects/openocd_intro/index.html)

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

von Dominic R. (dominic)


Rate this post
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
devices.

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

Regards,

Dominic

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.