??? 12/18/09 13:43 Read: times |
#171721 - not a reset Responding to: ???'s previous message |
I have written programs in assembly 8051 which work perfectly fine this way. I send a command to the application code to switch to boot loader mode and the code jumps to 0x000.
Also when I compile my program I make sure that the interrupts are correctly vectored to the new location. a jump to zero does not reset the uC and is thus fraught with problems. The only sure way to 'jump to zero' is a reset which can be achieved e.g. by letting a watchdog time out. Erik |