Debugging / Uploading & Connection / Setup

Thank you for the time to give some feedback. I had problems because
-Git path not added to %path% variable
-wrong version of bossac for the commands
-missing an offset for proper code uploading for Seeed boards

There’s always someone out there with a better way for everything but this worked for me

This is what solved my problem
platformio.ini

-Needed to install bossac 1.9.1

  • copied bossac.exe to %username%.platformio\packages\tool-bossac

-needed to make following change the upload_protocol == “sam-ba” section of main.py in %username%.platformio\platforms\atmelsam\builder to add the “-a” flag (1200baud reset) and make sure the offset got added… I’m not sure if it needs to be in there twice.
image

-removed hidden com ports and registry entries for all vid/pid of boards I had issues with
-turned off windows 10 driver signing and forced all of the seeedstudio inf to install but not sure if it was part of the solution

Pain points
-couldnt figure out how to update bossa within VScode/PIO
-couldn’t figure out how to install git client
-not sure if all of this could have been cleared up without changing main.py