Content originally posted in LPCWare by justmakeit on Sat Dec 13 07:49:15 MST 2014
The ISP pin has already a pullup resistor.
I just managed to step through the startupfile and during the main function the debugging stopped working at the function "GPIOSetDir( 1, 4, 1 );"
When I add a function call before this function the problem still occurs at this same function call "GPIOSetDir( 1, 4, 1 );"
When I remove this function "GPIOSetDir( 1, 4, 1 );" the debugging stops at the next functioncall "GPIOSetDir( 2, 3, 1 );"
Not sure what can go wrong with this functions?
Without debugging (disconnect en connect the power after the debugging session freezes) the program seems to run OK.