I've been successfully using the mspgcc tools to program / reprogram a 
MSP430F1611 board I've developed - until recently.

However - now that my program image is 8300 bytes - msp430-jtag can no longer 
erase the flash on the F1611 as shown below.  (the problem also occurred if I 
run msp430-jtag -e)
-------------------------------------------------------------------------------------------------------------------------------------
C:\src\msp430-gcc\dl3_tst4>make download
msp430-jtag -e dl3_tst4.elf
MSP430 parallel JTAG programmer Version: 2.0
Mass Erase...
Program...
8334 bytes programmed.
Reset and release device...

C:\src\msp430-gcc\dl3_tst4>make download
msp430-jtag -e dl3_tst4.elf
MSP430 parallel JTAG programmer Version: 2.0
Mass Erase...
Reset and release device...

An error occoured:
Could not erase the Flash
make: *** [download-jtag] Error 1


------------------------------------------------------------------------------------------------------------
However, I CAN start successfully use ICC430 to erase (reprogram) the F1611, 
and after erased, use msp430-jtag again.

The problem with msp430-jtag appears to be related to the program image size.  
When the size is around 7K, I can upload the program image, erase, and 
re-upload.  But once the image size grows to 8300 bytes I can upload the image, 
but then can no longer erase.... (This probably *may* have occurred at 7900 
bytes also)

I don't believe I'm doing anything special - straight C code - no flags to use 
special memory - no editing of any config file.  I'm pretty just using the 
makefile supplied in the mspgcc examples.  I'm also using an external power 
supply at 3.0V and my code isn't attempting to write/erase the flash.

Any ideas?
Thanks
Mark

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to