Hi

>> arm7_9 dcc_downloads enable
>>     
> dcc downloads are enabled
>   
>> arm7_9 fast_memory_access enable
>>     
> fast memory access is enabled
>   
>> flash write_image erase firmware.bin 0x100000 bin
>>     
> auto erase enabled
> wrote 44616 byte from file firmware.bin in 11.045264s (3.944705 kb/s)
>
>   
The performance problems are because you use auto erase,  the AT91SAM7  
can only erase a whole flash bank or it it can erase flash by writing 
0xFF to the flash memory. and that is slow.
For normal flash writes it is not necessary to erase the flash first on 
the AT91SAM7 targets, that is done automatically by  the flash controller.
If you  want to make sure that there is no old code in  flash, use flash 
erase before the flash write_image.


Regards,
Magnus

_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to