Difference between revisions of "Robotino3 cpu board"

From RobotinoWiki
(USB debugging)
(How to install USB bootloader)
Line 1: Line 1:
 
[[Image:Robotino3_CPU_Jumpers_Connectors.png]]
 
[[Image:Robotino3_CPU_Jumpers_Connectors.png]]
 +
 +
==Safety enable==
 +
If set DIN1 and DIN2 are checked continuously. If DIN1 is low than Robotino's motors are stopped. If DIN2 is low than Robotino's motors are decelerated to 400rpm maximum.
  
 
==How to install USB bootloader==
 
==How to install USB bootloader==

Revision as of 11:00, 27 June 2017

Robotino3 CPU Jumpers Connectors.png

Safety enable

If set DIN1 and DIN2 are checked continuously. If DIN1 is low than Robotino's motors are stopped. If DIN2 is low than Robotino's motors are decelerated to 400rpm maximum.

How to install USB bootloader

  1. Make sure CPU is powered on all the time by putting a jumper on Power button connector pins 4 and 6. This is the same as pressing the power button continuously.
  2. Put a jumper on RST enable
  3. Put a jumper on ISP enable
  4. Connect the FTDI breakout adapter to ISP_X
  5. Download the latest USB bootloader HEX file
  6. Get Flashmagic from flashmagictool.com. Use the settings shown below. Replace the path to the HEX file with the path to the previously downloaded HEX file

Robotino3 flashmagic.png

  1. After flashing completes remove the FTDI breakout.
  2. Remove the jumpers RST enable and ISP enable.

Depending on your system setup you can proceed as follows:

SSD is empty

In this case you want to install the Robotino OS via USB stick to the SSD. Press the reset button to start the USB bootloader. This will also allow the COM-Express module to start. Follow the instructions to install OS from USB stick. When installation is finished continue with the following section.

SSD already contains the Robotino OS

In this case you should remove the jumper from the Power button connector. The system immediately powers off. Attach the normal power button and power on the system. The USB bootloader starts. This is indicated by a rapidly blinking power button. The Robotino OS boots up, finds the microcontroller with running USB bootloader and then automatically installs the firmware stored in the Robotino OS.

Remark: The USB bootloader will wait 60s for a firmware installation. If nothing happens for 60s the system is reset. If there is no jumper on the Power button connector the system will power off. Normal boot operation is much faster so 60s timeout is sufficient.

RS232 debugging

115000 baud, 8 data bits, 1 stop bit, Parity none, Flow control off

Putty can be used as terminal.

USB debugging

Remove the COM-Express module. Download the robotino_common installer for Windows. Install and run iocom from InstallFolder/bin.

Connect your PC to the Mini-USB-Connector (X11) between COM-Express module (which is removed) and the microcontroller.