AEFeinstein / Super-2022-Swadge-FW

MIT License
10 stars 8 forks source link

So you want to flash swages on a mac... #53

Closed kcommeford closed 4 years ago

kcommeford commented 4 years ago

So you have a mac and want to flash some swages. You download the pyFlashGUI folder and follow all of the instructions.... but alas, no dice. Follow these handy troubleshooting tips:

Follow all of the instructions on the pyFlashGUI page. Make sure you have python 3 (mac comes with python 2 as default). Make sure you properly install tkinter and pyserial. Try running the program as per basic instructions.

If you see this:

Screen Shot 2020-09-22 at 4 41 25 PM

that means the program can't find the ports that you plugged the swadginator into.

Possible methods for how to fix this:

Next thing to try is installing the latest drivers for your USB ports and whatnot. Visit [(https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers)] and make sure your drivers are up to date. For me, I had to do some shenaniganry with my system privacy settings (as per download instructions) in order for this to run. Have no fear, my computer has not been overtaken by bots (yet) so you should be safe.

Run pyFlashGUI again. Did something happen this time???

If you get this error esptool failed becausemodule ‘esptool’ has no attribute ‘main’ then you need to check what version of esptools came with your pyFlashGUI folder. Cd into your pyFlashGUI folder and run this python esptool/esptool.py -h

Your esptools SHOULD be version 3. If you have version 2, delete all your pyFlashGUIs and start over. Run find / -iname "esptool.py" 2>/dev/null to make sure you only have ONE pyFlashGUI folder with esptools in it.

Et VOILA! You should be able to follow the flash instructions like a normal person with a boring linux machine now!

AEFeinstein commented 4 years ago

Will edit a bit and put in the /docs/ folder.

AEFeinstein commented 4 years ago

https://github.com/AEFeinstein/Super-2021-Swadge-FW-Sandbox/blob/master/docs/GETTING_STARTED.md#6-programming-with-the-programmer-on-a-mac