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.
各位前辈,目前使用TM4C1294ncpdt 呼叫ROM API发生一些问题
此问题如下,当呼叫test function会发生FaultISR.
test function 有定址 只要定址的位置小于0x7F000就不会有问题。
想问各位前辈是哪边设定有异常吗 谢谢
#pragma CODE_SECTION(test, ".flash_bl"); //0x0008F000
void test(void)
{
//BOOT Configuration (BOOTCFG);
// turn off SysTick and its interrupt before entering the boot loader!
SysTickIntDisable();
SysTickDisable();
ROM_SysCtlPeripheralEnable(SYSCTL_PERIPH_GPION);
ROM_SysCtlPeripheralEnable(SYSCTL_PERIPH_GPION);
ROM_SysCtlPeripheralEnable(SYSCTL_PERIPH_GPION);
ROM_SysCtlPeripheralEnable(SYSCTL_PERIPH_GPION);
HWREG(NVIC_DIS0) = 0x0;
HWREG(NVIC_DIS1) = 0x0;
HWREG(NVIC_DIS2) = 0x0;
HWREG(NVIC_DIS3) = 0x0;
HWREG(NVIC_DIS4) = 0x0;
while(1)
{
}
}
MEMORY
{
FLASH (RX) : origin = APP_BASE, length = 0x0000F000
FLASH_BL : origin = 0x0008F000, length = 0x00001000
FLASH_BLB : origin = 0x000BD000, length = 0x00003000
FLASH_Set : origin = 0x000C0000, length = 0x0003FE00
FLASH_MAP : origin = 0x000FFE00, length = 0x00000200
SRAM (RWX) : origin = 0x20000000, length = 0x0003C000
BL_SRAM : origin = 0x2003C000, length = 0x00003988
UARTPKT : origin = 0x2003F988, length = 0x00000100
FIFO : origin = 0x2003FA88, length = 0x00000578
}