No way to triger an ext interrupt using a gpio despite everything seam to be configured well (GPIO, EXTI routing, EXTI mask and pending) i can see gpio input bit set and also that exti pending bit is set as well
I can manulay clear and set again the exti pending bit but still i never reach the breakpoint in the IrqHandler ?
I've been debgguin this all teh afteroon but did not found any reason why this is not working . So i'm supecting the vector or ?NVIC not well setup but why?
Here is the code
What's i foudn weired is that prior to the vector setup the vector seam to hold uncorrect address ??
vector 6 (exti0) is 0x08000B41 but the dummy handler is located at 0x08000B44 further more 0x08000B41 isn't 32 bit aligned ?
Same hapen after i set the new vector
After verification the value passed to SetIrq is misaligned ( aligned adress +1)?? some weired thing but anyway even pacthing adress by hand do not help to trigger the handler?
So it is lileky that NVIC is not firing the EXTI0 vector but why ? is there any setup i've missed ?
thanks in advance
Last edited by diabolo38 (2010-06-30 16:11:43)