[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:21:17 GMT 2011
I don't have any experience actually loading occam programs apart from
today. Skip to the bottom three questions if you wish. Thanks for your
time.
I am using Windows XP SP3; a Solarbotics "Ardweeny" is the target; my
FTDI interface shows up as COM11.
Arduino 0022 code loads and works as expected with "Board" specified
to be "Arduino Duemilanove or Nano w/ ATMega328". Code that is
supposed to blink the LED on pin13 does what I expect it to.
However, neither the "heartbeat" nor the explicit blink examples in
the Plumbing book appear to load and execute properly.
As a test, I first load code into the Ardweeny that fades an LED on
Pin9. This loads and executes as expected.
Then I exit the Arduino.cc dev environment and launch the Transputer one.
I open the ch2.occ code file. I start the occPlug.
I select Platform:Arduino, Device:Arduino and type COM11 in the Port:
field (no "pick" selections are displayed).
Compile completes successfully. I click the gear icon. I see data
apparently being transferred to the FTDI interface.
I see this in the occPlug text area:
==
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)
==
BUT the code that starts executing after the download has ended is the
old Arduino 0022 code I loaded, not the occam blink code--Pin13 shows
no activity.
Now, I note that occPlug has an "Upload Firmware" option. So I wonder...
1) do I need to execute this to change or supplant the extant
bootloader so it will execute the compiled .occ files?
2) if I do, what happens to my ability to use the target machine with
Arduino.cc's 0022 dev environment?
3) is this documented anywhere? I see no mention of it in the Plumbing book.
MMB
--
Michael M. Butler = = m m b u t l e r at g m a i l . c o m
More information about the users
mailing list