??? 04/17/08 09:47 Read: times |
#153601 - Re: what exactly are the symptoms? Responding to: ???'s previous message |
After the call to the call to PGM_MTP; the block is errased (a ISP read comment show me the memory). The problem is it doesn't return from when it was called. It must return to 0x0000 or something so, because my programm is starting again.
I discovered a few thing today. Just the code I showed you work when compiled. When reserving data memory for variables use, I observed that it doesnt't work anymore. The only difference is the stack initialisation value (it's easily checked with the .hex file). With a stack pointer starting from 20h, it work. But with 4Eh, no more. Does really the erase function need so much place in stack?? Does someone allready see that? |
Topic | Author | Date |
IAP for P89C51RC2FA | 01/01/70 00:00 | |
Do you have disabled interrupts? | 01/01/70 00:00 | |
Re: Do you have disabled interrupts? | 01/01/70 00:00 | |
can you live with 'programming' as is and REprogra | 01/01/70 00:00 | |
IAP for P89C51RC2FA | 01/01/70 00:00 | |
constant? | 01/01/70 00:00 | |
Re: constant? | 01/01/70 00:00 | |
this is why it's always better... | 01/01/70 00:00 | |
Re: this is why it\'s always better | 01/01/70 00:00 | |
Hummm.... | 01/01/70 00:00 | |
RE: quick erase | 01/01/70 00:00 | |
can you please try an experiment | 01/01/70 00:00 | |
Re: can you please try an experiment![]() | 01/01/70 00:00 | |
what exactly are the symptoms? | 01/01/70 00:00 | |
Re: what exactly are the symptoms? | 01/01/70 00:00 |