Continuing the hunt ..

        Chuck has been pounding out ideas on the google plus group (Cortex 
M3..), and I've got gdb working nicely now anyway.. and it would seem:

        i) The ISR is in fact being called

        ii) Togglign the GPIO inside of it is not working
                -> but when executing the ISR inside gdb, it does work

        iii) Setting a volatile int in the ISR, and then toggling the GPIO 
in the main loop does in fact work

        Sort of feels like a timing issue.. toggling the GPIO takes too 
long?

        But that cannot be, since this interupt should occur pretty 
infrequently, and togglign a GPIO is very fast.

        So breakpoint on the isr in gdb and the LED blinks fine; or blink 
in main after toggling variabnle in the ISR, works fine on chip on 
autopilot; but ISR togglign GPIO on autopilot no go..

        .. any ideas?

        I'll hit the sack now, but hopefully someone has ideas in the 
morning :)

                jeff

        Sorry to have taken over the mailing list, but it seemed quiet, 
thought I'd liven it up. Is this in fact an appropriate topic for the 
mailing list here, or should I take it elsewhere?

--
If everyone would put barbecue sauce on their food, there would be no war.

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
libopencm3-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libopencm3-devel

Reply via email to