On Sat, Nov 5, 2011 at 2:32 PM, Joerg Wunsch <[email protected]> wrote:
> (Better subscribe to the list.  Many people here don't Cc the author
> when replying.)
>
I accidently sent the first nessage from wrong address, sorry about that!

> docksider <[email protected]> wrote:
>
>> I have tried to mimic the settings that work in AVR Studio but not
>> succeeded, i can't figure out what if anything the -i and -B flags
>> does to the JTAG clock.
>
> That makes me think you're using AVRDUDE to program the device(s).
> What's your exact commandline then?  I have successfully programmed
> boards with two chained AVRs in the past.  Remember that each AVR
> shifts by four bits, so you need
> -X jtagchain=0,1,0,4
>
> on one device, and
>
> -X jtagchain=1,0,4,0
>
> on the other one.
>
I can't get the exact commandline as we speak but it was something like:

avrdude -p m16 -U flash:w:test.hex -c jtag2 -X jtagchain 0,1,0,4/1,0,4,0

one avr had zeros as signature so i needed to add -F, both works fine tho,
tried moving them around and tested the code on both.

Worth mentioning is that it finds the devices perfectly, which it can't
when the bb/ba is wrong.

> I didn't observe any specific clock issues, as when programming
> through JTAG, everything inside the AVR is clocked by the JTAG clock
> so it's independent of the main clock frequency.
This is what i thought aswell,
>
> --
> cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL
>
> http://www.sax.de/~joerg/                        NIC: JW11-RIPE
> Never trust an operating system you don't have sources for. ;-)
This is me trying to break loose from the University's Windows computers :)

_______________________________________________
AVR-chat mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/avr-chat

Reply via email to