Solved
SOLVED: STM32H742: Whats wrong? ISR not triggered when using bootloader.
Hi,
I'm stuck at a problem when using a custom bootloader.
What works:
- All ISRs get triggered when not using the bootloader
- Almost (sic!) all ISRs get triggered when using bootloader together with my application
What doesn't work:
- BMDA_Channel1_IRQHandler does not get triggered when using bootloader.
What I already analyzed (using JLink/GDB disassembly on the target):
- BMDA_Channel1_IRQHandler lies at address 0x804feac, NVIC jump offset for this ISR is 0x248 according to datasheet
- SCB->VTOR is 0x8040200
- Address 0x8040448 contains 0x804fead (so everythings set up to jump to 0x804feac)
- Address 0x804feac never gets triggered
- Default_Handler lies at address 0x080745d4 (this is where my application gets stuck)
- When stuck, APSR is 0, EPSR is 0 except Thumb bit, IPSR is 0x92 (that's BDMA_CH1...), SCB->ICSR->VECTACTIVE is 0x92, SCB->CFSR is 0, SCB->HFSR is 0
As far as I can see, the processor should jump to 0x804feac and execute my IRQHandler.
Any idea what's going wrong?
Thank you in advance!
