Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years ago.
Losing program
The program is removed from my lpc4088 when I connect the USB to my computer (Windows 10). I tried different lpc4088's but the issue is present on both. Also programming the same file again won't work, the file-name needs to be different so the mbed still knows the filename.
Example: I save the blinky example on the mbed and it works. But when the USB is re-connected the program starts briefly the some led blink real fast and the program stops. Also pressing the restart button won't start the program anymore.
Using an external power source provides more info. It shows the mbed still runns after disconnecting the USB. Powering down and up by the external power source behaves like expected, the program just starts on power-up. But again reconnecting the USB destroys the program.
 
                            
Hi Joeri,
Sorry for the issues you are having :)
Could you tell me a few things.
Let me know :),
Best Regards, Andrea team mbed
posted by Andrea Corrado 28 Oct 20161. It happens 99.9% of the time, I have the issue for weeks/months, it was never worth isolating the problem before since I was always connected with the pc during normal operation.
2. I'm running Windows 10
3. Both jumpers are in position 1 (1+2 connected, 3 floating)
4. I did not try to reset the board. I have no problems programming new code or running code, the code only becomes corrupt when re-connecting with USB. I can reprogram just fine at that moment (I have the same code with different filenames since reprogramming with the same name isnt't allowed), a reset would only be another step before reprogramming right?
Thanks for the fast reply :) Joeri
posted by Joeri Landman 28 Oct 2016