Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't boot the firmware if the exception table isn't initialized
If no firmware is flashed, then flash contains all 1's. The firmware's reset handler (stored in the exception table) would then be 0xffffffff. Jumping that address is very bad because that is the same as setting the cpu in LOCKUP state. * The common way to get to the LOCKUP state is with a double fault (fault in a fault handler), so this natuarally makes you go debug the wrong things. * The debugger cannot access the CPU when it is in LOCKUP state.
- Loading branch information