How fast should programming the flash on an AT91SAM7S256 take using the Olimex USB-connected ARM-USB-OCD?
I am getting (per the trace output from openocd-ftd2xx.exe ) 55 seconds for a 13200kB file.
Is that reasonable? Can it be speeded up?
Tks
How fast should programming the flash on an AT91SAM7S256 take using the Olimex USB-connected ARM-USB-OCD?
I am getting (per the trace output from openocd-ftd2xx.exe ) 55 seconds for a 13200kB file.
Is that reasonable? Can it be speeded up?
Tks
I think you got the size wrong - neither would a 13200kB (13MB) file fit into your micro nor would you ever be able to flash at 240kb/s.
I don’t think I ever benchmarked AT91SAM7 flash writing, but I suppose something around 10-40kb/s might be reasonable.
When working with a AT91SAM7 it’s important to make sure that the PLL is enabled - with the PLL turned off and the core running from the 32kHz clock, flashing is going to take forever.
Regards,
Dominic
Yes, I meant bytes, of course.
How do I assure that the PLL is enabled using this toolset?
Thanks
Use the memory commands (md[bhw] and mw[bhw]) to display and modify the AT91SAM7’s registers controlling clocking. Check the datasheet for the addresses and values necessary for PLL operation.
Regards,
Dominic
Thanks!