Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Hexabusplugserialinterface

eBrnd edited this page · 3 revisions
Clone this wiki locally

Serial interface

A serial interface of the microcontroller is exposed via the JTAG header on the low-voltage board:

serial interface

The red 8-pin micromatch connector connects to a sparkfun FTDI breakout board. The small perfboard just ensures the electrical connection. As you can see in the schematic the following pins need to be connected:

  • Pin 6: GND, connect to GND on the breakout board
  • Pin 7: RxD, connect to TxD on the breakout board
  • Pin 8: TxD, connect to RxD on the breakout board

Please be careful: You need to use a 3.3V serial interface. The serial communication parameters are 38400 8N1.

Here's a schematic for a Serial+JTAG interface:

jtag+serial adapter

On the host side, you can use screen to access the terminal (for my FTDI adapter):

screen /dev/cu.usbserial-A600e1iO 38400

During boot, Contiki prints something like this:

*******Booting Contiki 2.5*******
nullmac sicslowmac, channel 0
mDNS responder: init
mDNS responder: started
IPv6 Address: fe80::11:22ff:fe33:4411
Contiki-Raven.Socket online with fixed 4914 byte web content
mDNS responder: timer expired    
mDNS responder: probing domain name: Socketlocal
mDNS responder: timer expired
mDNS responder: probing domain name: Socketlocal
mDNS responder: timer expired
mDNS responder: probing domain name: Socketlocal
mDNS responder: timer expired
mDNS responder: probing finished, announced domain name is: Socketlocal
mDNS responder: responding with ip address: aaaa:0000:0000:0000:0011:22ff:fe33:4411 
mDNS responder: tcpip_event
mDNS responder: received 182 bytes from  aaaa:0000:0000:0000:0000:0000:0000:0001
Something went wrong with that request. Please try again.