Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extend initial vector table to avoid checksum addr
The LPC43xx/43Sxx family of MCUs will only boot from internal flash if the boot image contains a valid signature. Valid signatures are generated by placing the 2's complement of the sum of vector table entries 0 through 6 at the Cortex-M4's reserved exception vector location 7. A short initial vector table allows for the incorrect placement of executable code around the checksum address offset (0x001C). During flashing of board, OpenOCD's lpc2000 flash driver will calculate checksum and write it to the forementioned address, thus corrupting code. In order to avoid code corruption initial vector table was extended up to Cortex-M4's Systick exception.
- Loading branch information