Other Parts Discussed in Thread: HALCOGEN
I am looking at the sys_intvecs.asm that comes with the sample can bootloader and see lines that look similar to what halcogen generates, but they are commented out and replaced with that I have included below.
I am wondering that the value of #0x1FFF8 does. it looks like 8 bytes before the application start address. what does that accomplish?
resetEntry
b _c_int00 ;0x00
b #0x1FFF8 ;0x04
b #0x1FFF8 ;0x08, Software interrupt
b #0x1FFF8 ;0x0C, Abort (prefetch)
b #0x1FFF8 ;0x10, Abort (data)
; interrupt vectors
;resetEntry
; b _c_int00
;undefEntry
; b undefEntry
;svcEntry
; b svcEntry
;prefetchEntry
; b prefetchEntry
;data_abort
; b data_abort
reservedEntry
b reservedEntry
ldr pc,[pc,#-0x1b0]
ldr pc,[pc,#-0x1b0]