We have an AT91SAM9260 with a AT45DB321D data flash memory.
A full data flash erase using SAM-BA with the default AT91SAM9260-EK scripts takes a bit over one minute to perform.
The AT45DB321D supports a chip erase command that I think is much faster. Is there any easy way to perform the chip erase command just using tcl scripts or do we have to modify the isp-applets?
DataFlash Chip Erase
Post
Re: DataFlash Chip Erase
Editing and compiling the SAM-BA applets was easier than I expected. The Flash erase time is now about 6 seconds (more than 10 times faster than before).
- socrates
- Contact:
- Location: Lithuania, Kaunas
Post
Re: DataFlash Chip Erase
Tell us more 

http://www.socratesblog.eu
FPGA, CPLD, ARM, AVR projects and more.
FPGA, CPLD, ARM, AVR projects and more.
Post
Re: DataFlash Chip Erase
Simply switching from Page Erase to Block Erase reduced the erase time by 2-3 times (Chip Erase is broken on the AT45DB321D and Sector Erase is slower than Block Erase).
As we have some unused areas in the flash, a simple check if the page/block already was erased or not further improved the erase speed as a read of a page is much faster than the erase command.
As we have some unused areas in the flash, a simple check if the page/block already was erased or not further improved the erase speed as a read of a page is much faster than the erase command.
Who is online
Users browsing this forum: No registered users and 0 guests