Spencer Oliver a écrit : >> If I enter this sequence the interrupts don't work until I >> cycle the power. >> >> >> target extended-remote localhost:3333 >> mon halt >> load >> thbreak main >> c >> >> If I enter this sequence they do work >> >> target extended-remote localhost:3333 >> mon halt >> load >> mon cortex_m3 maskisr off >> thbreak main >> c >> >> >> That is with the svn of December 26th 2008 Shouldn't the >> program restore the registers to their reset values? >> >> Michel >> >> > > I have just looked into this further and cannot reproduce this behaviour. > a reset halt will clear the interrupt mask (C_MASKINTS) - could you provide > more details? > > Also if using extended-remote then you would be better using the gdb start > cmd. > It resets the target, and sets a breakpoint at main. > > Cheers > Spen > > > This only occurs with the load. This sequence is entered with Eclipse with the latest Zylin plugin but I have the same result with gdb so the problem is at gdb or openocd. There is never a problem on power up, only after reflashing of the program.
Michel -- Tired of Microsoft's rebootive multitasking? then it's time to upgrade to Linux. http://home.comcast.net/~mcatudal _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
