请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:TM4C1294NCPDT 工具与软件:
AEDHi 团队、
我正在使用 BOOT_EMAC_FLASH 进行固件升级、我目前的要求是在通过 EPI 模块下载到外部 RAM 之前对二进制文件进行解密、
我集成了代码、但是如何以及在何处 在 BL_STARTUP_CCS.s 文件中添加 AES 128位解密和 EPI0模块引脚中断以启用它
您能否建议如何在 bl_startup_ccs.s 文件中添加这些中断
;;*****************************************************************************
;;
;; This portion of the file goes into interrupt vectors section
;;
;;*****************************************************************************
.sect ".intvecs"
;;*****************************************************************************
;;
;; The minimal vector table for a Cortex-M3 processor.
;;
;;*****************************************************************************
Vectors:
.ref __STACK_TOP
.word __STACK_TOP ;; Offset 00: Initial stack pointer
.word ResetISR - 0x20000000 ;; Offset 04: Reset handler
.word NmiSR - 0x20000000 ;; Offset 08: NMI handler
.word FaultISR - 0x20000000 ;; Offset 0C: Hard fault handler
.word IntDefaultHandler ;; Offset 10: MPU fault handler
.word IntDefaultHandler ;; Offset 14: Bus fault handler
.word IntDefaultHandler ;; Offset 18: Usage fault handler
.word 0 ;; Offset 1C: Reserved
.word 0 ;; Offset 20: Reserved
.word 0 ;; Offset 24: Reserved
.word 0 ;; Offset 28: Reserved
.word UpdateHandler - 0x20000000 ;; Offset 2C: SVCall handler
.word IntDefaultHandler ;; Offset 30: Debug monitor handler
.word 0 ;; Offset 34: Reserved
.word IntDefaultHandler ;; Offset 38: PendSV handler
.if $$defined(ENET_ENABLE_UPDATE)
.ref SysTickIntHandler
.word SysTickIntHandler ;; Offset 3C: SysTick handler
.else
.word IntDefaultHandler ;; Offset 3C: SysTick handler
.endif
.if $$defined(UART_ENABLE_UPDATE) & $$defined(UART_AUTOBAUD)
.ref GPIOIntHandler
.word GPIOIntHandler ;; Offset 40: GPIO port A handler
.else
.word IntDefaultHandler ;; Offset 40: GPIO port A handler
.endif
.if ($$defined(USB_ENABLE_UPDATE) | (APP_START_ADDRESS != VTABLE_START_ADDRESS))
.word IntDefaultHandler ;; Offset 44: GPIO Port B
.word IntDefaultHandler ;; Offset 48: GPIO Port C
.word IntDefaultHandler ;; Offset 4C: GPIO Port D
.word IntDefaultHandler ;; Offset 50: GPIO Port E
.word IntDefaultHandler ;; Offset 54: UART0 Rx and Tx
.word IntDefaultHandler ;; Offset 58: UART1 Rx and Tx
.word IntDefaultHandler ;; Offset 5C: SSI0 Rx and Tx
.word IntDefaultHandler ;; Offset 60: I2C0 Master and Slave
.word IntDefaultHandler ;; Offset 64: PWM Fault
.word IntDefaultHandler ;; Offset 68: PWM Generator 0
.word IntDefaultHandler ;; Offset 6C: PWM Generator 1
.word IntDefaultHandler ;; Offset 70: PWM Generator 2
.word IntDefaultHandler ;; Offset 74: Quadrature Encoder 0
.word IntDefaultHandler ;; Offset 78: ADC Sequence 0
.word IntDefaultHandler ;; Offset 7C: ADC Sequence 1
.word IntDefaultHandler ;; Offset 80: ADC Sequence 2
.word IntDefaultHandler ;; Offset 84: ADC Sequence 3
.word IntDefaultHandler ;; Offset 88: Watchdog timer
.word IntDefaultHandler ;; Offset 8C: Timer 0 subtimer A
.word IntDefaultHandler ;; Offset 90: Timer 0 subtimer B
.word IntDefaultHandler ;; Offset 94: Timer 1 subtimer A
.word IntDefaultHandler ;; Offset 98: Timer 1 subtimer B
.word IntDefaultHandler ;; Offset 9C: Timer 2 subtimer A
.word IntDefaultHandler ;; Offset A0: Timer 2 subtimer B
.word IntDefaultHandler ;; Offset A4: Analog Comparator 0
.word IntDefaultHandler ;; Offset A8: Analog Comparator 1
.word IntDefaultHandler ;; Offset AC: Analog Comparator 2
.word IntDefaultHandler ;; Offset B0: System Control
.word IntDefaultHandler ;; Offset B4: FLASH Control
.endif
.if ($$defined(USB_ENABLE_UPDATE) | (APP_START_ADDRESS != VTABLE_START_ADDRESS))
.word IntDefaultHandler ;; Offset B8: GPIO Port F
.word IntDefaultHandler ;; Offset BC: GPIO Port G
.word IntDefaultHandler ;; Offset C0: GPIO Port H
.word IntDefaultHandler ;; Offset C4: UART2 Rx and Tx
.word IntDefaultHandler ;; Offset C8: SSI1 Rx and Tx
.word IntDefaultHandler ;; Offset CC: Timer 3 subtimer A
.word IntDefaultHandler ;; Offset D0: Timer 3 subtimer B
.word IntDefaultHandler ;; Offset D4: I2C1 Master and Slave
.if ($$defined(TARGET_IS_TM4C129_RA0) | $$defined(TARGET_IS_TM4C129_RA1) | $$defined(TARGET_IS_TM4C129_RA2))
.word IntDefaultHandler ;; Offset D8: CAN0
.word IntDefaultHandler ;; Offset DC: CAN1
.word IntDefaultHandler ;; Offset E0: Ethernet
.word IntDefaultHandler ;; Offset E4: Hibernation module
.if $$defined(USB_ENABLE_UPDATE)
.ref USB0DeviceIntHandler
.word USB0DeviceIntHandler ;; Offset E8: USB 0 Controller
.else
.word IntDefaultHandler ;; Offset E8: USB 0 Controller
.endif
.word IntDefaultHandler ;; Offset EC: PWM Generator 3
.word IntDefaultHandler ;; Offset F0: uDMA 0 Software
.else
.word IntDefaultHandler ;; Offset D8: Quadrature Encoder 1
.word IntDefaultHandler ;; Offset DC: CAN0
.word IntDefaultHandler ;; Offset E0: CAN1
.word IntDefaultHandler ;; Offset E4: CAN2
.word IntDefaultHandler ;; Offset E8: Ethernet
.word IntDefaultHandler ;; Offset EC: Hibernation module
.if $$defined(USB_ENABLE_UPDATE)
.ref USB0DeviceIntHandler
.word USB0DeviceIntHandler ;; Offset F0: USB 0 Controller
.else
.word IntDefaultHandler ;; Offset F0: USB 0 Controller
.endif
.endif
.endif
;;*****************************************************************************
请帮助我添加这些中断
另外、我对如何配置这个 EPI0模块及其工作文档集有疑问

