EmbeddedRelated.com
Forums

Problem with MSP430 Flash memory

Started by david8522002 August 29, 2002
Hi Friends!

I have a problem with the Flash of my MSP430 FET.
I think I erased the Flash. I launched a test program
from Texas Industries with the name Flash_Write.c.
Now it is damaged. If I will debug a new programm,
there is an error in C-Spy. It's a target error:
Erase check error at adress 0x1000. I think it is unable to
erase the Flash memory. What did I do wrong? 
What can I do?

With best regards
David


Beginning Microcontrollers with the MSP430

I don't know exactly what's in Flash_write.c, but if it repeatedly writes to / erases in Flash,
and you let the program run at its full speed, it would wear out the Flash cell endurance.
 
Did the program you launched actually write to that area of Flash ? ie. 0x1000 onwards.
If that's the case you might just need to get another part, the FET should come with a second part,
have you tried ?
 
Also, this is more with "wear over time", but these kind of errors will very occasionally but stubbornly
show up when there is an intermittent in the Yamachi ZIF connector for the IC (I presume F149).
Click the big "lid" open, and reclose it gain, firmly pressing - with a bit of luck it can be something
silly like that.
 
The JTAG with Cpsy connected on it can at very occasional times go really apeshit for no apparent reason.
As a last resort, power EVERYTHING down, let it discharge for 20 seconds or so, and repower up
everything, that occasionally might help too.
 
I can't imagine TI would have provided example code that sits immediately in a loop and writes away at its own
Flash until misery ???????
If somehow a write-loop or so was entered, especially if you were writing "1"s to bit locations with "0"s in it,
(ie. without erasing first) that could damage certain sectors of the Flash if done long enough.
 
 
Rgds, Kris
 
----- Original Message -----
From: david8522002
To: msp430@yahoogroups.com
Sent: Thursday, August 29, 2002 5:06 PM
Subject: [msp430] Problem with MSP430 Flash memory

Hi Friends!

I have a problem with the Flash of my MSP430 FET.
I think I erased the Flash. I launched a test program
from Texas Industries with the name Flash_Write.c.
Now it is damaged. If I will debug a new programm,
there is an error in C-Spy. It's a target error:
Erase check error at adress 0x1000. I think it is unable to
erase the Flash memory. What did I do wrong?
What can I do?

With best regards
David







">Yahoo! Terms of Service.


I could not solute the problem. The program from TI
loops endless. I think, that is the problem.
I don't know a solution for this problem.
Is there theoretically a solution for this?
Or is it damaged forever?


--- In msp430@y..., "Kris De Vos" <microbit@c...> wrote:
> I don't know exactly what's in
Flash_write.c, but if it repeatedly 
writes to / erases in Flash,
> and you let the program run at its full speed, it
would wear out 
the Flash cell endurance.
> 
> Did the program you launched actually write to that area of Flash ? 
ie. 0x1000 onwards.
> If that's the case you might just need to get
another part, the FET 
should come with a second part,
> have you tried ?
> 
> Also, this is more with "wear over time", but these kind of
errors 
will very occasionally but stubbornly
> show up when there is an intermittent in the
Yamachi ZIF connector 
for the IC (I presume F149).
> Click the big "lid" open, and reclose it
gain, firmly pressing - 
with a bit of luck it can be something
> silly like that.
> 
> The JTAG with Cpsy connected on it can at very occasional times go 
really apeshit for no apparent reason.
> As a last resort, power EVERYTHING down, let it
discharge for 20 
seconds or so, and repower up
> everything, that occasionally might help too.
> 
> I can't imagine TI would have provided example code that sits 
immediately in a loop and writes away at its own
> Flash until misery ???????
> If somehow a write-loop or so was entered, especially if you were 
writing "1"s to bit locations with "0"s in it,
> (ie. without erasing first) that could damage
certain sectors of 
the Flash if done long enough.
> 
> 
> Rgds, Kris
> 
>   ----- Original Message ----- 
>   From: david8522002 
>   To: msp430@y... 
>   Sent: Thursday, August 29, 2002 5:06 PM
>   Subject: [msp430] Problem with MSP430 Flash memory
> 
> 
>   Hi Friends!
> 
>   I have a problem with the Flash of my MSP430 FET.
>   I think I erased the Flash. I launched a test program
>   from Texas Industries with the name Flash_Write.c.
>   Now it is damaged. If I will debug a new programm,
>   there is an error in C-Spy. It's a target error:
>   Erase check error at adress 0x1000. I think it is unable to
>   erase the Flash memory. What did I do wrong? 
>   What can I do?
> 
>   With best regards
>   David
> 
> 
>         
>              
>        
> 
>   To unsubscribe from the msp430 group, send an email to:
>   msp430-unsubscribe@e...
> 
> 
> 
>   Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service.