Ok, hopefully this is my last road block. I’ve been developing a pure digital I/O solution (no analog, that is) off and on for the past few months. I’ve always worked in the debugger. Now, I am ready to demo my new board and code, but I can not connect to the Cerb40 via UART unless I am debugging! I disconnected my USB cable, grounded the reset pin, and no response. Everything works fine when I run under the debugger.
Sorry, I can not update the codeshare with my latest code version (http://www.ghielectronics.com/community/codeshare/entry/589), and the project is too complex to post here. However, the posted version behaves the same.
I’m powering the Cerb40 through USB w/voltage regulator and cap, connecting to the Cerb’s COM3 via virtual serial port, at 460800.
If I start debugging, then stop debugging, I don’t lose connection, and if I disconnect, I can reconnect without issue, as long as I don’t power down or reset the Cerb40.
Anyone have any tips? Do I need to delay before initializing COM3 or something?