>On Thursday 28 May 2009, Spencer Oliver wrote:
>> 
>> One point i would make - you have added a comment that the mass_erase cmds
>> are pointless.
>> Ttue the same thing can be acheived using erase_address or erase_sector but
>> you need to know the flash info.
>>
>> mass_erase enables the whole device to be erased without knowing this kind
>> of information.
>> 
>> perhaps we can add a feature that will erase the whole bank, eg.
>> flash erase_all <bank number> or modify one the of the existing erase
>> functions.
>
>True, there's no flash erase command that accepts a bank;
>they all use addresses.  That's another example of the
>command set not being orthogonal.  ;)
>
>I agree that having the bank-address commands offer the
>same functionality as the target-address ones would be good.

An 'erase all' command would be nice. A complete erase is often required. It is 
a big plus for automated programming. One thing less to detect.

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

Reply via email to