Tool/software: Code Composer Studio
I try to make bootloader when the application is act with Hercules SafeTI Diagnostic Library.
There are some question to make bootloader. (The bootloader code is based on
)
1. When I jump to application, There are some reset is occurred (maybe 2 times). I think this reset is occurred because the initialization is difference between bootloader and Safe Ti library.
I wonder there is no matter to change as follows,
(1) Origin : 4265.HL_sys_startup_origin.c
(2) Change : 6266.HL_sys_startup_change.c
2. About setting HL_sys_intvec.asm, I wonder why FIQ and IRQ are set as follows.
(1) When I set HL_sys_intvec.asm as follows, the application is not act.
;-------------------------------------------------------------------------------
; interrupt vectors
b _c_int00
b #0x2000F8 ; application start addr
b #0x2000F8 ; Software interrupt
b #0x2000F8 ; Abort (prefetch)
b #0x2000F8 ; Abort (data)
b #0x2000F8 ; phantom
b #0x2000F8 ; IRQ
b #0x2000F8 ; FIQ
(2) the application is act well.
;-------------------------------------------------------------------------------
; interrupt vectors
b _c_int00
b #0x2000F8 ; application start addr
b #0x2000F8 ; Software interrupt
b #0x2000F8 ; Abort (prefetch)
b #0x2000F8 ; Abort (data)
b #0x2000F8 ; phantom
ldr pc,[pc, #-0x1b0] ; IRQ
ldr pc,[pc, #-0x1b0] ; FIQ
Regards,
Minwoo




