User Tools

Site Tools


oak:serialupdate

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
oak:serialupdate [2016/12/06 18:29]
digistump created
oak:serialupdate [2017/01/27 18:42] (current)
pfeerick fixed broken link
Line 3: Line 3:
 If all else fails, when your wifi network just won't work with the inital update (all should work after that), a serial update is the surest easy way to get an Oak updated. If all else fails, when your wifi network just won't work with the inital update (all should work after that), a serial update is the surest easy way to get an Oak updated.
  
-We recommend CH340G based serial to usb adapters - such as these: http://​www.ebay.com/​itm/​USB2-0-To-TTL-Serial-6Pin-Converter-CH340G-f-STC-Arduino-PRO-replace-PL2303-N136-/​111937225684 or these https://​www.seeedstudio.com/​CH340G-USB-to-Serial-(TTL)-Module%26amp%3BAdapter-p-2359.html+We recommend CH340G based serial to usb adapters - such as these: http://​www.ebay.com/​itm/​USB2-0-To-TTL-Serial-6Pin-Converter-CH340G-f-STC-Arduino-PRO-replace-PL2303-N136-/​111937225684 or these [[https://​www.seeedstudio.com/​CH340G-USB-to-Serial-(TTL)-Module%26amp%3BAdapter-p-2359.html]]
  
 If you are using that adapter install the windows driver: http://​www.arduined.eu/​ch340-windows-8-driver-download/​ or OSX driver: https://​github.com/​adrianmihalko/​ch340g-ch34g-ch34x-mac-os-x-driver If you are using that adapter install the windows driver: http://​www.arduined.eu/​ch340-windows-8-driver-download/​ or OSX driver: https://​github.com/​adrianmihalko/​ch340g-ch34g-ch34x-mac-os-x-driver
Line 13: Line 13:
 Then plug it in to your computer. Then plug it in to your computer.
  
-Download this zip file: {{:oak:​oakupdate.zip|}}+Download this zip file: [[https://​github.com/​pfeerick/​OakEasySerialUpdate/​releases/​download/​1.0.3/​OakEasySerialUpdate.zip|OakEasySerialUpdate.zip]]
  
 Unzip and enter that directory. Unzip and enter that directory.
  
-On windows+**On Windows:** 
-Double click on update.bat - when prompted enter the COM port of the USB-Serial adapter you have connected. (You can find this in device manager)+Double click on update.bat - when prompted enter the COM port of the USB-Serial adapter you have connected. (You can find this in device manager). You need to enter the complete name of the port, not just the number... i.e. COM3, not just 3. 
  
-On OSX/Linux:+**On OSX/Linux:**
 Open a command line in that folder and execute the following commands: Open a command line in that folder and execute the following commands:
 <​code>​chmod +x update</​code>​ <​code>​chmod +x update</​code>​
 and then and then
 <​code>​./​update</​code>​ <​code>​./​update</​code>​
-When prompted enter the path of the USB-Serial adapter you have connected - ex: /​dev/​ttyUSB0. (lsusb command can show you this)+When prompted enter the path of the USB-Serial adapter you have connected - ex: /​dev/​ttyUSB0. (''​dmesg | grep ttyUSB''​ should tell you the name)
  
-After the update go back to this tutorial ​http://​digistump.com/​wiki/​oak/​tutorials/​connecting ​and register ​the Oak with the Particle Cloud - but you will not have to update it.+If you receive an error message similar to the below message, you need to install python serial (''​sudo apt-get install python-serial''​ is the typical command line install command).
  
 +<​code>​
 +Traceback (most recent call last):
 +  File "​esptool.py",​ line 22, in <​module>​
 +    import serial
 +ImportError:​ No module named serial
 +</​code>​
 +
 +After the update go back to this tutorial - http://​digistump.com/​wiki/​oak/​tutorials/​connecting - and register the Oak with the Particle Cloud - but you will not have to update it.
  
oak/serialupdate.1481077779.txt.gz · Last modified: 2016/12/06 18:29 by digistump