
addamm1 (Customer) asked a question.
Was uploading code to the P1AM-100 via the Arduino IDE using the P1AM-100 library, and the board stopped responding. The IDE had started uploading the code, and the red messages that show percent complete stopped printing, and I got "Error while uploading to board". The board is now unresponsive. LED's turn on when I power it on via the 24V pins and USB, but the code I had running just fine on there is no longer running (Presumably because it got interrupted while receiving new firmware), and it will no longer show up over USB.
I have to assume nothing is broken, and I just need to reinstall the bootloader, though I'm not sure which pins I use for that.
I have tried rebooting via cutting both 24v power and USB, pressing the reset button while connected to the computer, and reconnecting power with the reset button held down. Have also tried with two other laptops running the same version of Arduino and the P1AM library. Any other ideas?
Thanks in advance.
Sounds like you may have done something in your code that caused a hard fault or something along those lines.
To get everything back to working, quickly double tap the reset button while powered on. This will force it into the bootloader mode and you will see the yellow LED have a "breathing" pattern. Next, open up the basic blink example, select the new COM port, and upload.
This will get you board back into a state where you can upload normally. I'd recommend reviewing your code for any changes that have may be the culprit for this issue.
Thanks
Adam