Eric B (Customer) asked a question.

I have two P1AM-200's that I have accidently overwritten part of the firmware and it no longer gives a serial port nor appears as a memory device when I double click the reset. Is there another way to upload the firmware if the normal reset doesn't work?

  • FACTS_AdamC (AutomationDirect)

    Does the LED still do the breathing pattern after double clicking reset?

    In what way did you overwrite the firmware?

    • Eric B (Customer)

      The damaged P1AM-200 doesn't respond to a double click on the reset button, but the power light is on. The SD card light will illuminate when a card is inserted. It doesn't give a serial port option (such as ttyACM0) or as a memory device (sda1). I believe the main problem was not having the offset specified like below

       

      .arduino15/packages/arduino/tools/bossac/1.9.1-arduino5/bossac -w -v -b -d -p /dev/ttyACM0 ardBuild/HelloWorld.ino.bin

       

      I can successfully upload binaries with the below command, but I still have two unresponsive cpus. Any suggestions?

      /home/arduino/.arduino15/packages/arduino/tools/bossac/1.9.1-arduino2/bossac -i -d --port=ttyACM0 -U -i --offset=0x4000 -w -v /home/arduino/ardbuild/HelloWorld.ino.bin -R

       

      Thanks for your help

      Expand Post
      • FACTS_AdamC (AutomationDirect)

        Ah I see, uploading directly using the bossac tool can definitely be risky. I believe you have overwritten the bootloader here which is why the CPUs are non-responsive over USB.

         

        If you have an SWD programmer like an atmel ICE you can likely still recover these CPUs by re-uploading the bootloader file, but this would require some minor hardware modification that I cannot officially recommend.

        Expand Post