Which does save more energy?
a) Erase the reset vector (erase any reference to the customer program). Does the CPU go to idle state?;
b) Puts the CPU in Halt low power mode?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Which does save more energy?
a) Erase the reset vector (erase any reference to the customer program). Does the CPU go to idle state?;
b) Puts the CPU in Halt low power mode?
Marcio,
Option (b) will be lower power (put the CPU in HALT mode). Option (a) (erase the flash) will cause the CPU to repeatedly get ILLEGAL op-code interrupts since it will be fetching an illegal op-code of 0xFFFF.
Not sure what you're trying to do here though. You must have some unusual application requirements/features.
- David