User Tools

Site Tools


oak:tutorials:serialfirmware

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
oak:tutorials:serialfirmware [2016/04/08 19:43]
pfeerick [Connecting Your Oak]
oak:tutorials:serialfirmware [2016/04/08 19:43] (current)
pfeerick [Connecting Your Oak]
Line 30: Line 30:
 ====== Connecting Your Oak ====== ====== Connecting Your Oak ======
  
-To program your Oak over serial, you will want to connect the GND of your USB-Serial Adapter to the Oak's GND, RX to TX, TX to RX, and P2 to GND. You can then power the Oak via the on-board MicroUSB slot, or by providing appropriate power to the VIN or VCC pins. This is probably a good time to also ensure that you [[https://​github.com/​digistump/​OakRestore|reset your Oak to factory defaults]]so that it runs your program when you upload via serial (by resetting the bootloader to running the program loaded in slot 0). If you can't or don't want to do that, you can instead use the esptool command to reset the bootloader so that it will run your newly uploaded program in slot 0.+To program your Oak over serial, you will want to connect the GND of your USB-Serial Adapter to the Oak's GND, RX to TX, TX to RX, and P2 to GND. You can then power the Oak via the on-board MicroUSB slot, or by providing appropriate power to the VIN or VCC pins. This is probably a good time to also ensure that you [[https://​github.com/​digistump/​OakRestore|reset your Oak to factory defaults]] ​or use the below esptool command ​so that it runs your program when you upload via serial (by resetting the bootloader to running the program loaded in slot 0).
  
 <​code>​ <​code>​
oak/tutorials/serialfirmware.txt · Last modified: 2016/04/08 19:43 by pfeerick