[C.CC USERS] Qs re occPlug's "Arduino" target and "Upload Firmware". *apologies; newb*
Michael M. Butler
mmbutler at gmail.com
Mon Jan 24 11:50:41 GMT 2011
Matt:
Thanks for the prompt and courteous response. However, I don't seem to
be out of the woods just yet... I am not seeing this working right,
sorry. I got the following when I did the firmware option:
==
Uploading Plumbing firmware
avrdude.exe: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.02s
avrdude.exe: Device signature = 0x1e950f
avrdude.exe: NOTE: FLASH memory has been specified, an erase cycle
will be performed
To disable this feature, specify the -D option.
avrdude.exe: erasing chip
avrdude.exe: reading input file
"C:\occam\Transterpreter20110121\arduino\tvm\firmware\tvm-avr-atmega328p-16000000.hex"
avrdude.exe: writing flash (20034 bytes):
Writing | ################################################## | 100% 10.02s
avrdude.exe: 20034 bytes of flash written
avrdude.exe: verifying flash memory against
C:\occam\Transterpreter20110121\arduino\tvm\firmware\tvm-avr-atmega328p-16000000.hex:
avrdude.exe: load data flash data from input file
C:\occam\Transterpreter20110121\arduino\tvm\firmware\tvm-avr-atmega328p-16000000.hex:
avrdude.exe: input file
C:\occam\Transterpreter20110121\arduino\tvm\firmware\tvm-avr-atmega328p-16000000.hex
contains 20034 bytes
avrdude.exe: reading on-chip flash data:
Reading | ################################################## | 100% 8.47s
avrdude.exe: verifying ...
avrdude.exe: 20034 bytes of flash verified
avrdude.exe done. Thank you.
firmware upload completed sucessfully
==
Frankly, "erasing chip" is a very scary thing to read. Especially when
it's too late to do anything about it. ;)
I then tried to load ch2.occ, and this is what I got:
==
avrdude.exe: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.02s
avrdude.exe: Device signature = 0x1e950f
avrdude.exe: reading input file "ch2.ihex"
avrdude.exe: writing flash (22678 bytes):
Writing | ################################################## | 100% 1.25s
avrdude.exe: 22678 bytes of flash written
avrdude.exe done. Thank you.
Any output from the connected device will appear below
(hit stop to disconnect)
------------------------------------------------------
Using port COM11 at 57600
tvm-arduino: program loading failed
==
And no blinky light. So I'm a bit perplexed.
M
On Mon, Jan 24, 2011 at 3:43 AM, Matt Jadud <matt at jadud.com> wrote:
> On Mon, Jan 24, 2011 at 06:21, Michael M. Butler <mmbutler at gmail.com> wrote:
>> 3) is this documented anywhere? I see no mention of it in the Plumbing book.
>
> I had more fixes I wanted to do to the book before pushing, but I'll
> do that as soon as I get to the office---release early, release often,
> etc. A whole new chapter has been added on exactly this, as the
> absence of documentation saying to "upload firmware" was a gross
> oversight on our part.
>
> Apologies for the inconvenience.
>
> Cheers,
> Matt
>
--
Michael M. Butler = = m m b u t l e r at g m a i l . c o m
. . . Just remember, immanentizin' the eschaton is
. . . . a dern sight easier than /monetizin'/ it. --me
More information about the users
mailing list