JTAG - Linux - AT90CAN128

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I want to debug and write my programs through AVR DRAGONs JTAG to my AT90CAN128 board.

I'm using Ubuntu 16.04. 

How do I get started? I have used the DRAGONs ISP with avrdude and it worked nicely.

Should I use eclipse or is there another better option?

 

Thanks!

Code is everything, code is life :D
 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Eclipse is just an IDE (or, strictly, an IDE framework) - so it won't magically do this for you.

 

To work with Eclipse, you would need something like OpenOCD ...

 

EDIT: So try googling "AVR DRAGON openocd" - a few hopeful-looking hits ...

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
Last Edited: Thu. Jun 29, 2017 - 07:23 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

awneil wrote:
To work with Eclipse, you would need something like OpenOCD ...
Except that for Atmel devices the "bridge" between avr-gdb and the Atmel debugger devices is called "avarice" not "OpenOCD"