- Wed Sep 06, 2006 12:37 am
#18410
My program "crashes" in Newlib's malloc, that is; I get an undefined instruction exception somwhere inside malloc. But when I then do a soft_reset_halt to OpenOCD my program starts up ok and malloc works fine.
What is it that makes my program run after a soft_reset_halt but not when starting up from a "real" reset or when i disconnetc/reconnect the power to the board?
I'm developing on an Olimex board with an LPC2294 using winarm/GCC with the precompiled newlib from winarm.
/David
What is it that makes my program run after a soft_reset_halt but not when starting up from a "real" reset or when i disconnetc/reconnect the power to the board?
I'm developing on an Olimex board with an LPC2294 using winarm/GCC with the precompiled newlib from winarm.
/David