EH (Customer) asked a question.

I can program the P1AM-200 in bootloader mode but not the normal way, and after programming Serial never finishes starting.

The computer detects the P1AM-200 com port, but won't program the normal way. I need to double click the reset button to put it in bootloader mode then select the new com port. It will program, but Serial never finishes starting.

 

I don't actually know how the bootloader uses the usb port vs how it's used in the "normal" mode.

 

Is there a way to factory reset the FW so I can see if I have damaged the hardware? I don't normally run these with a cable plugged in so if I damaged it it would have been when I plugged in to try to debug it. It's possible I rebooted or booted up the computer while it was plugged in.

 

This has happened on two devices now.

 

Here is my test code:

  1. void setup() {
  2. pinMode(LED_BUILTIN, OUTPUT);
  3. Serial.begin(115200);
  4. // Bad device:
  5. // The computer detects its com port, but won't program the normal way.
  6. // I need to double click the reset button to put it in bootloader mode then select the new com port.
  7. // It will program, but then gets stuck in this loop because Serial never finishes starting.
  8. while (!Serial) {
  9. digitalWrite(LED_BUILTIN, true);
  10. delay(100);
  11. digitalWrite(LED_BUILTIN, false);
  12. delay(100);
  13. };
  14. }
  15.  
  16. void loop() {
  17. for (;;) {
  18. digitalWrite(LED_BUILTIN, true);
  19. delay(700);
  20. digitalWrite(LED_BUILTIN, false);
  21. delay(700);
  22. Serial.println("Hello There.");
  23. }
  24. }

Thanks!


  • EH (Customer)

    I figured it out.

     

    I first programmed this P1AM a long time ago, and windows had assigned it to COM3.

     

    But since then windows assigned Intel(R) Active Management Technology – SOL to com3 (maybe when I updated to Win11?) and they were colliding.

     

    You should be able to just click on the port in device manager and change the port number, but what I actually did was disable AMT in the BIOS.

     

     

    Expand Post
    Selected as Best
  • EH (Customer)

    I figured it out.

     

    I first programmed this P1AM a long time ago, and windows had assigned it to COM3.

     

    But since then windows assigned Intel(R) Active Management Technology – SOL to com3 (maybe when I updated to Win11?) and they were colliding.

     

    You should be able to just click on the port in device manager and change the port number, but what I actually did was disable AMT in the BIOS.

     

     

    Expand Post
    Selected as Best