AVR Dragon and AVR-H128-CAN

Started by Eugene, August 21, 2013, 04:55:51 PM

Previous topic - Next topic

Eugene

We recently purchased AVR-H128-CAN so I'd like to use it together with AVR Dragon debug board. Please advise:

Am I correct in understanding that connecting via JTAG is as simple as connecting Dragon's 10-pin JTAG header to AVR-H128-CAN 10-pin JTAG header via 10-wire cable?

How do I communicate via ISP interface? Dragon has 6-pin ISP header while AVR-H128-CAN has 10-pin.

Thank you,

Eugene

LubOlimex

Hey Eugene,

For the JTAG part of the question - yes just connect them.

To use the 6-pin ISP of the Dragon with the 10-pin ISP of the board you need to make an adapter connector 10-pin to 6-pin OR use jumper wires. You might want to check these guides (they are for 10 pin debugger interface to 6 pin board but the layouts are mighty useful):

http://www.instructables.com/id/Programming-adapter-from-10-pin-to-6-pin-for-AVRs/
http://www.batsocks.co.uk/readme/isp_headers.htm

For the reasons that both 10 pin and 6 pin layouts are used some of our AVR programmers have both connectors. For instance: https://www.olimex.com/Products/AVR/Programmers/AVR-ISP500/.

Best regards,
Lub/OLIMEX
Technical support and documentation manager at Olimex

Eugene

Thank you, it worked.

Please recommend a schematic for generic CAN access. Preferably to include MCP2551 transceiver.

Please advise what code was loaded into the chip originally by manufacturer. I could see something written between addresses 0x0000 and 0x680.

Thanks again,

Eugene

LubOlimex

Hello Eugene,

A good idea is to check a board with the same processor - AVR-CAN
https://www.olimex.com/Products/AVR/Development/AVR-CAN/. It even uses MCP2551. There are demo codes also available.

Best regards,
Lub/OLIMEX
Technical support and documentation manager at Olimex