I was actually just referring to flashing the avr-can when away from the car - in that case we can use one of those phone chargers.garygid wrote:Yes, the 10 to 14v of the Vehicle "12v" system is really too much for the AVR-CAN, so we will probably add a 7808 (8v) regulator or a 5-volt zener diode.
A typical "5v" USB source is a bit low, and a 9v source is a bit high. Maybe a 9v source with a 2v or 3v zener diode?
Hmmm .... I just got the board as well.garygid wrote:DRAT!
The programmer board PGM-09825 from http://www.SparkFun.com that evnow suggested is an ISP programmer, not a JTAG programmer! The 2x5 pin header socket made me think it was for JTAG, and I did not read closely enough, I guess.
So, I have two of these $15 boards. If anybody can use them, please let me know.
Code: Select all
ISP signal header pin ---------- ------ --- GND JTAG 2 +5V JTAG 4 !RESET JTAG 6 MISO (PE1) EXT1 14 MOSI (PE0) EXT1 15 SCK (PB1) EXT2 33
It's a kind of a dumb question, but could it possibly be skipping the erase? Can you try doing a separate erase first?tomsax wrote:...They all fail with the same problem: all zeros...
I tried, that's not the problem. The erase always happens when you write flash, if you don't ask for it avrdude warns you it's doing it anyway, and you always get a message while the erase is happening. There's definitely something wrong with the JTAG ICE Mark I and the AT90CAN128 (or perhaps the AVR-CAN board).davewill wrote:It's a kind of a dumb question, but could it possibly be skipping the erase? Can you try doing a separate erase first?tomsax wrote:...They all fail with the same problem: all zeros...