Go Down

Topic: Your latest purchase (Read 115 times) previous topic - next topic

Nick Gammon

After playing around with ISCP programming here I realized you could get quite fast programming depending on the target chip.

To program the ATtiny84 I had to add this:

Code: [Select]
  SPI.setClockDivider(SPI_CLOCK_DIV64);

But that had an internal 8 MHz clock. To program (talk to) the Atmega328P I didn't need that line. So that was a 64x speed difference.

madworm

@Nick:

Personally I don't ever use an Arduino board as a programmer. And certainly I can't and don't recommend that to anybody else - except maybe in case of emergency or for the purpose of learning. Excellent dedicated programmers are widely available for little money, certainly for less than getting another Arduino board. These are things you can rely upon.

There are quirks depending on the kind of Arduino hardware you have, the type of bootloader that is on there, the version of the IDE you use (serial buffer size!) and so on. Nobody really wants to deal with all of that. And it is certainly not easier or more user friendly for beginners either. It is a sad mess.

• Upload doesn't work? Do a loop-back test.
• There's absolutely NO excuse for not having an ISP!
• Your AVR needs a brain surgery? Use the online FUSE calculator.
My projects: RGB LED matrix, RGB LED ring, various ATtiny gadgets...
• Microsoft is not the answer. It is the question, and the answer is NO!

Osgeld

hm I have been doing it for years with all sorts of IDE's bootloaders and host chips ... never been a sad mess to me, and never really been worth spending money for yet another dongle to keep track of even if it is a couple bucks for a poor quality quirky USBASP

*shrug*

madworm

I'm talking about avrispmkII and clones thereof.

Doesn't require an auto-reset disabling cap/resistor, doesn't depend on any serial buffer size settings in 'HardwareSerial.cpp', you don't have to change its behaviour if you feel like you need a programmer, it just works. No mess of wires either. No having to remember which wire to plug in where... However it does depend on the correct driver to be installed (at least on windows) - and if you don't switch between avrdude / AvrStudio back an forth all the time this is something you do exactly ONCE. And if you run windows in a virtual machine (linux host), you don't even have to switch between libusb and 'jungo' either.

My mind is set.
• Upload doesn't work? Do a loop-back test.
• There's absolutely NO excuse for not having an ISP!
• Your AVR needs a brain surgery? Use the online FUSE calculator.
My projects: RGB LED matrix, RGB LED ring, various ATtiny gadgets...
• Microsoft is not the answer. It is the question, and the answer is NO!

Osgeld

actually the ISP harnesses is one of the reasons I am not that interested in most solutions, its 10-13 on arduino, and I dont feel like making a cute little breakout board for each and every family of chip I own (which is a lot)

as far as the cap/resistor, there is a zero ohm resistor on the board, add a simple 2 pin jumper there once and problem solved, and I have never had to fuss with HardwareSerial.cpp ever once

I am glad you love your doo-dad, and that's your thing, but I do feel like your making a mountain out of a molehill about using the arduino as an ISP, and many noobies, including myself really don't like hearing "buy more crap" when a target chip, bread board and 6 wires does work

Go Up