Posted on January 28, 2008 at 07:39Hi, After doing a bootloader to load a new program, i reset my MCU and only the code in sector 0 (main()) is executed. When the program calls the fist routine loacated in the sector 2, nothing happens. Why? Otherwi...
Posted on January 09, 2008 at 04:42EtaPhi, Thanks for your reply. In fact, i would like to get the PC register so as to verify its actual value. To debug a problem, I would check if my PC is not corrupted inside a while operation. But i feel that is...
Posted on January 08, 2008 at 10:47Hi, Again another message. I would like to know if it is possible to get the PC register thanks to assembler commands. Below, what i have done: Code:unsigned char cNbOctet = 0; asm { LD A,PCL; LD cNbOctet, A; } B...
Posted on January 04, 2008 at 06:11Hi, In my project, i'm working with the ST7 and i use inDART-STX so as to reprogrammming my MCU. I would like to know what the consequences to reprogramming the HDFlash more than 100 cycles? Recently, i noticed pro...
Posted on December 19, 2007 at 12:46Hi, In fact, i just think of a possibility. It would seem that my PC(Program Counter) register is corrupted during the execution of HDFlashEraseSector(). Sometimes, before the end of the memory erasing, i can see ...