DataFlash Chip Erase

Microchip in-system programming solution: SAM-BA

Moderators: nferre, fab

kopiad
Posts: 3
Joined: Mon Jun 18, 2007 9:57 pm

DataFlash Chip Erase

Fri Jun 19, 2009 9:41 am

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?
kopiad
Posts: 3
Joined: Mon Jun 18, 2007 9:57 pm

Re: DataFlash Chip Erase

Sat Aug 22, 2009 7:45 am

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
Posts: 25
Joined: Tue Jan 29, 2008 6:57 pm

Re: DataFlash Chip Erase

Sat Aug 22, 2009 6:46 pm

Tell us more :)
http://www.socratesblog.eu
FPGA, CPLD, ARM, AVR projects and more.
kopiad
Posts: 3
Joined: Mon Jun 18, 2007 9:57 pm

Re: DataFlash Chip Erase

Tue Aug 25, 2009 4:11 pm

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.

Return to “SAM-BA”

Who is online

Users browsing this forum: No registered users and 1 guest