Electrical Engineering Stack Exchange is a question and answer site for electronics and electrical engineering professionals, students, and enthusiasts. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am designing a circuit. it will include ARM LPC1769 and AVR ATmega2560. I want to program these chips with JTAG. Now, the question is:

Is that possible to do it with a single JTAG programmer through daisy-chain or do I have to use a separate programmer for each MCU?

share|improve this question
From the hardware and JTAG protocol side, yes. You need to find a programmer and software that supports both AVR and ARM, though, and that can cope with multiple devices on a JTAG chain. – starblue Dec 16 '12 at 10:26
You'll be hard pressed to find a programmer that does both for the simple reason that the pinout is different. The next challenge would be finding software that supports both architectures. For instance, OpenOCD supports many different chips. However, AVR isn't one of them. – embedded.kyle Dec 17 '12 at 15:14
@embedded.kyle - pinout is really not that significant. – Chris Stratton Jan 17 '13 at 18:27
@ChrisStratton Significant? Maybe not from a construction standpoint. Worth mentioning? I thought so. Since many use the same size connector but have different connection arrangement including vendor specific pins, I felt it was useful to point it out in case the OP wasn't aware. – embedded.kyle Jan 18 '13 at 13:46

Yes, and No.

If you use the vendors programming tools the chances are that although they will work in a chain each vendor will only be able to program it's chip.

However there are vendor agnostic 'universal' programming tools, e.g. OpenOCD, which is open source. Commercial ones exist too. Often the work involved in configuring the universal too to work with all the chips is more work then using each vendor tool one at a time.

Most vendor tools allow you to create SVF (Serial Vector Format) files, these files tell third party universal tools and SVF players how to program each of the chips in the chain without the actual tool having to have built in knowledge of how to program the chip.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.