CVS: jtag/funclets eraseFlashSegment.S,1.6,1.7

Chris Liechti <[email protected]>
Newsgroups gmane.comp.hardware.texas-instruments.msp430.gcc.cvs
Message-ID <[email protected]>
Update of /cvsroot/mspgcc/jtag/funclets
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26798/jtag/funclets

Modified Files:
	eraseFlashSegment.S 
Log Message:
increase erase cycles for better reliability

Index: eraseFlashSegment.S
===================================================================
RCS file: /cvsroot/mspgcc/jtag/funclets/eraseFlashSegment.S,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -w -d -r1.6 -r1.7
--- eraseFlashSegment.S	13 Apr 2006 20:14:01 -0000	1.6
+++ eraseFlashSegment.S	22 Apr 2006 00:58:22 -0000	1.7
@@ -53,7 +53,8 @@
 .LAgain:mov     type, &FCTL1            ; Load FCTL1 value. MUST CONTAIN PASSWORD.
         mov     addr, r10               ; Load (segment) address to erase.
         mov     #0xffff, 0(r10)         ; Write data into the address (to erase the FLASH).
-        mov     #(2*4820)/3+1, r10      ; Delay for FLASH to erase (BUSY does not work on older devices).
+        //~ mov     #(2*4820)/3+1, r10      ; Delay for FLASH to erase (BUSY does not work on older devices).
+        mov     #5296 * 5, r10          ; Delay for FLASH to erase (BUSY does not work on older devices).
 .LWait: dec     r10                     ; Loop requires 3 clock cycles.
         jnz     .LWait                  ; 
         mov     #FWKEY, &FCTL1          ; Clear ERASE + MERAS bits.



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.