Bug report of DriverLib
In file ../DriverLib/src/interrupt.c function "void IntRegister(unsigned long ulInterrupt,void (*pfnHandler)(void))": // Copy the vector table from the beginning of FLASH to the RAM vector // table. // for(ulIdx = 0; ulIdx < NUM_INTERRUPTS;ulIdx++) { g_pfnRAMVectors[ulIdx] = (void (*)(void))HWREG(ulIdx * 4); //-->>crashed when using a bootloader } //correct code : g_pfnRAMVectors[ulIdx] = (void (*)(void))HWREG(ulIdx * 4 + HWREG(NVIC_VTABLE));
login or register to reply
|