I think the reporting of blocks for nand erase is wrong, anyone have any 
comments before I work on a fix?

Here's me erasing one block:

> nand erase 0 0x1e0000 0x20000
erased blocks 15 to 16 on NAND flash device #0 'NAND 1GiB 3,3V 8-bit'

I think this should report "Erased block 15 on NAND..." (block 16 was NOT 
erased).

Also here erasing the top two blocks (BBT):

> nand erase 0 0x3ffc0000 0x40000
erased blocks 8190 to 8192 on NAND flash device #0 'NAND 1GiB 3,3V 8-bit'

There is no block 8192. 8191 is the highest block number.

--
Jon Povey
[email protected]

Racelogic is a limited company registered in England. Registered number 2743719 
.
Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham, Bucks, 
MK18 1TB .

The information contained in this electronic mail transmission is intended by 
Racelogic Ltd for the use of the named individual or entity to which it is 
directed and may contain information that is confidential or privileged. If you 
have received this electronic mail transmission in error, please delete it from 
your system without copying or forwarding it, and notify the sender of the 
error by reply email so that the sender's address records can be corrected. The 
views expressed by the sender of this communication do not necessarily 
represent those of Racelogic Ltd. Please note that Racelogic reserves the right 
to monitor e-mail communications passing through its network


_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to