OpenNaze Naze32

Michael Corcoran edited this page Nov 27, 2015 · 9 revisions

#OpenNaze/Naze32 Tau Labs now offers basic support for the OpenNaze rev. 4 (Naze32 compatible). More features will be implemented in future. ##Supported Features

  • PWM and PPM receivers
  • PWM outputs on motor pins and receiver pins
  • GCS telemetry on USB/UART1
  • SyncPWM and FastPWM (Oneshot)
  • Autotune
  • UART on receiver pins
  • Serial receivers
  • ADC

##Currently Unsupported

  • GCS flashing
  • Barometer
  • Magnetometer

##GCS Connection GCS can be connected using the USB port. The Naze uses an SILabs CP2102 USB->UART chip to connect the USB port to UART1, which presents as a virtual serial port on the host OS. For Windows users this will require a driver. Linux users will need to be in the dialout group, acomplished using this command (change user to your username):

usermod -a -G dialout user

##Flashing ###Entering Bootloader Mode ####Tau Labs Already On Board Connect the board to GCS, go to the Firmware tab and click halt. The board will enter bootloader mode (all three LEDs on solid). See the Flashing Firmware instructions below. ####Initial Tau Labs Flash To flash Tau Labs initially you will need to put it into bootloader mode by another method, either by shorting the "Boot" pads on startup, or sending the character "R" via serial if Baseflight is loaded (on *nix echo -n "R" > /dev/ttyUSB0). ###Flashing Firmware ####Building firmware from source

> make fw_naze32

####Flash firmware and erase settings:

> ./tools/stm32flash/stm32flash -w ./build/fw_naze32/fw_naze32.tlfw -b 115200 -v -g 0x0 /dev/ttyUSB0
stm32flash - http://stm32flash.googlecode.com/

Using Parser : Raw BINARY
Serial Config: 115200 8E1
Version      : 0x22
Option 1     : 0x00
Option 2     : 0x00
Device ID    : 0x0410 (Medium-density)
RAM          : 20KiB  (512b reserved by bootloader)
Flash        : 128KiB (sector size: 4x1024)
Option RAM   : 15b
System RAM   : 2KiB

Wrote and verified address 0x0801d000 (100.00%) Done.

Starting execution at address 0x08000000... done.

####Flash firmware and retain settings:

> ./tools/stm32flash/stm32flash -w ./build/fw_naze32/fw_naze32.tlfw -b 115200 -v -g 0x0 -e 116 /dev/ttyUSB0
stm32flash - http://stm32flash.googlecode.com/

Using Parser : Raw BINARY
Serial Config: 115200 8E1
Version      : 0x22
Option 1     : 0x00
Option 2     : 0x00
Device ID    : 0x0410 (Medium-density)
RAM          : 20KiB  (512b reserved by bootloader)
Flash        : 128KiB (sector size: 4x1024)
Option RAM   : 15b
System RAM   : 2KiB

Wrote and verified address 0x0801d000 (100.00%) Done.

Starting execution at address 0x08000000... done.

Note:

  • You will need stm32flash in your tools directory, this can be done using the command make stm32flash_install.
  • Replace /dev/ttyUSB0 with the appropriate port, on Windows this will be COMn where n is a number.
Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.