Skip to content

drderiv/can2usbAVR

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

can2usbAVR

can2usbAVR is the 'driver' that runs on the Arudino board that talks to the CAN Shields on one side, and the USB/Serial Port on the other side. All of our software requires can2usbAVR to be running on the Arduino.

If you want to rebuild form source you need to have the arduino build tools installed. they come with the arduino gui download usually. If you only want to flash the .hex file to the Arduino avrdude (MacOs/Linux) or Xloader (Windows) will be sufficient.

Hex file

https://github.com/t4eeditor/can2usbAVR/tree/master/hex

Flashing firmware (on Mac/Linux via avrdude):

edit the Makefile - setup the correct serial port:

PROGRAMMER = -C avrdude.conf -v -V -patmega328p -carduino -P/dev/cu.usbmodem1d1111 -b115200 -D

run "make flash"

alternatively run "make" and upload the .hex file with another tool.

Flashing firmware (on Windows via Xloader):

see http://www.hobbytronics.co.uk/arduino-xloader

About

AVR code for Arduino/Genuino Mega R3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 87.7%
  • Makefile 12.3%