Content originally posted in LPCWare by mfph on Fri Apr 29 21:42:54 MST 2011
Thanks all for your replies
@ CodeRedSupport, I will give this shortcut thing ago when I get the chance. This sounds like what I was after. With WinAVR for example, the default makefile template has a flash programming section which can be run by a shortcut added to Programmers Notepad.
@larryvc, yes I agree that it would be nice to have a instant flash program. Quite often I find myself quickly compiling something for testing in the office where I have re-used working code or made just a simple change (e.g. calibration constant) to a product's firmware and I just want it to compile and run standalone...it would even be nice to be able to select 'new project' and choose "release" or "debug" from the start.
@ ArneB, yes I have been using debug but I wanted to compile in "release" to, ironically, debug a strange problem I suspected was to do with the debugger (which wasn't the case by the way).
I should mention that problem #2 I was having does not occur in debug mode. I suspect there is something going on in hardware when the device is reset after program for release. Possibly latch up due to the rs232 level shifter remaining on when the LPC1114 device is reset? Has anyone else experienced this issue?
Kind regards
Mikael