??? 09/22/06 11:56 Read: times |
#124858 - boot vector lost Responding to: ???'s previous message |
Vigneshwara Baliga said:
When you say Boot Vector is blown, Do I presume that the “Boot Vector” register no longer has value 0xFC, but may contain some garbage value? Most probably it contains 0x00. One of the reasons for the "bootvector loss syndrome" is impaciency. It takes several seconds (according ro datasheet, 11s) to perform a full chip erase. That's a lot, and FM does nothing visible during this time; and the impatient ones tend to pull the cord... During full chip erase, the bootvector (and statusbyte, too) gets erased; now funnily these two bytes erase to 0x00 contrary to the rest of FLASH, which erases to 0xFF. The internal algorithm of the bootloader restores the default value of bootvector (into 0xFC) AFTER the full chip erase is finished; but if you pull the cord before it... JW |