Go Down

Topic: AT90CAN128 OLIMEX board (Read 5325 times) previous topic - next topic


Feb 23, 2011, 08:49 pm Last Edit: Feb 23, 2011, 09:14 pm by ESDave Reason: 1
Noticed there was a few threads on this in the old forum, just thought I would revive the topic:

Using this dev board from OMILEX:

To be able to develop on this in the Arduino environment you need to:

1. Download the .zip file from the old thread here:


2. Flash the bootloader to the OLIMEX board. He has already compiled a hex file for this. Method of your choice, I used AVR Studio and an RS232 JTAG.

3. Copy the Arduino AT90CAN128 into your Ardunio dev area, he has a good text file in the zip which explains what you need to do.

4. Make a program in the Ardunio IDE and send it to the board!

Here is a blinky LED (STAT LED) hello world for the OLIMEX board:

Code: [Select]
  Turns on an LED on for one second, then off for one second, repeatedly.

  This example code is in the public domain.

//PIN 36 = PTE Pin 4 = STAT LED on OLIMEX AT90CAN128 board.
void setup() {               
  // initialize the digital pin as an output.
  // Pin 13 has an LED connected on most Arduino boards:
  pinMode(36, OUTPUT);     

void loop() {
  digitalWrite(36, HIGH);   // set the LED on
  delay(1000);              // wait for a second
  digitalWrite(36, LOW);    // set the LED off
  delay(1000);              // wait for a second

Unbelievably easy, and you have an Ardunio development environment which nativly supports CAN (Controller Area Network). No more dorky SPI chips.

Note: I did find the serial bootloader here was abit touch and go. But turning off the board, waiting for the "Binary Sketch....." text to come up and powering the board back up gives a good success rate.

Thanks very much to SuperCow who did all the work for this!


The link from the older thread is down

Go Up