[C.CC USERS] users Digest, Vol 12, Issue 15
Paul Verbeke
paverbeke at gmail.com
Mon Jan 24 22:38:50 GMT 2011
Hi,
This behavior that MBB was seeing was very similar to what I experienced
with an ATMEGA1280. I was not able to proceed any further either. This was
running under XP SP3.
Thanks,
Paul
On Mon, Jan 24, 2011 at 8:00 AM, <users-request at concurrency.cc> wrote:
> Send users mailing list submissions to
> users at concurrency.cc
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://www.concurrency.cc/mailman/listinfo/users
> or, via email, send a message with subject or body 'help' to
> users-request at concurrency.cc
>
> You can reach the person managing the list at
> users-owner at concurrency.cc
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of users digest..."
>
>
> Today's Topics:
>
> 1. New version of Transterpreter (Steve Pretty)
> 2. Re: New version of Transterpreter (Matt Jadud)
> 3. Qs re occPlug's "Arduino" target and "Upload Firmware".
> *apologies; newb* (Michael M. Butler)
> 4. Re: Qs re occPlug's "Arduino" target and "Upload Firmware".
> *apologies; newb* (Christian Jacobsen)
> 5. Re: Qs re occPlug's "Arduino" target and "Upload Firmware".
> *apologies; newb* (Matt Jadud)
> 6. Re: Qs re occPlug's "Arduino" target and "Upload Firmware".
> *apologies; newb* (Michael M. Butler)
> 7. Re: Qs re occPlug's "Arduino" target and "Upload Firmware".
> *apologies; newb* (Michael M. Butler)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 23 Jan 2011 16:30:45 +0000
> From: Steve Pretty <steve.g.pretty at btinternet.com>
> Subject: [C.CC USERS] New version of Transterpreter
> To: users at concurrency.cc
> Message-ID: <4D3C57B5.7070408 at btinternet.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> I installed the new version:
>
> Windows 20110121.1151 (dev)
>
> On my Windows 7 machine today and have been using it all afternoon. No
> problems encountered at all.
>
> Many thanks
>
> Steve
>
>
>
> ------------------------------
>
> Message: 2
> Date: Sun, 23 Jan 2011 13:27:44 -0500
> From: Matt Jadud <matt at jadud.com>
> Subject: Re: [C.CC USERS] New version of Transterpreter
> To: Steve Pretty <steve.g.pretty at btinternet.com>
> Cc: users at concurrency.cc
> Message-ID:
> <AANLkTi=ahs1=8v_AhwRxTtG-Mjcbg1F09QVpWMZm+KGd at mail.gmail.com<8v_AhwRxTtG-Mjcbg1F09QVpWMZm%2BKGd at mail.gmail.com>
> >
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Sun, Jan 23, 2011 at 11:30, Steve Pretty
> <steve.g.pretty at btinternet.com> wrote:
> > On my Windows 7 machine today and have been using it all afternoon. ?No
> > problems encountered at all.
>
> Excellent. We don't *expect* problems with updates (because it's all
> incremental work), but... Murphy is a member of every software team...
>
> Cheers,
> Matt
>
>
>
> ------------------------------
>
> Message: 3
> Date: Mon, 24 Jan 2011 03:21:17 -0800
> From: "Michael M. Butler" <mmbutler at gmail.com>
> Subject: [C.CC USERS] Qs re occPlug's "Arduino" target and "Upload
> Firmware". *apologies; newb*
> To: users at concurrency.cc
> Message-ID:
> <AANLkTikwmoMW9JKK9M7YdjBxJKj1goBbvRAinguSAVgv at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> 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
>
>
>
> ------------------------------
>
> Message: 4
> Date: Mon, 24 Jan 2011 12:33:19 +0100
> From: Christian Jacobsen <cljacobsen at gmail.com>
> Subject: Re: [C.CC USERS] Qs re occPlug's "Arduino" target and "Upload
> Firmware". *apologies; newb*
> To: "Michael M. Butler" <mmbutler at gmail.com>
> Cc: "users at concurrency.cc" <users at concurrency.cc>
> Message-ID: <CFD8773A-C9BF-472A-9C5C-075CD5C33B19 at gmail.com>
> Content-Type: text/plain; charset=us-ascii
>
> Hi,
>
> You probably need to load the firmware, which you can do from the occplug
> menu. This is not a destructive operation, the firmware is (in arduino
> speak) just a sketch, and thus you can at any time upload a new sketch from
> the arduino environment.
>
> Hope that helps,
> Christian
>
> On 24 Jan 2011, at 12:21, "Michael M. Butler" <mmbutler at gmail.com> wrote:
>
> > 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
> >
> > _______________________________________________
> > users mailing list
> > users at concurrency.cc
> > http://www.concurrency.cc/mailman/listinfo/users
>
>
>
> ------------------------------
>
> Message: 5
> Date: Mon, 24 Jan 2011 06:43:30 -0500
> From: Matt Jadud <matt at jadud.com>
> Subject: Re: [C.CC USERS] Qs re occPlug's "Arduino" target and "Upload
> Firmware". *apologies; newb*
> To: "Michael M. Butler" <mmbutler at gmail.com>
> Cc: users at concurrency.cc
> Message-ID:
> <AANLkTikDbxew9rR5Yy+aTq7so0TMZ-05tCkQ58asbi5R at mail.gmail.com<AANLkTikDbxew9rR5Yy%2BaTq7so0TMZ-05tCkQ58asbi5R at mail.gmail.com>
> >
> Content-Type: text/plain; charset=ISO-8859-1
>
> 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
>
>
>
> ------------------------------
>
> Message: 6
> Date: Mon, 24 Jan 2011 03:50:41 -0800
> From: "Michael M. Butler" <mmbutler at gmail.com>
> Subject: Re: [C.CC USERS] Qs re occPlug's "Arduino" target and "Upload
> Firmware". *apologies; newb*
> To: Matt Jadud <matt at jadud.com>
> Cc: users at concurrency.cc
> Message-ID:
> <AANLkTi=c9-oG5Ge8hcDnA7ya8pkkV6o6V6QwhJUZYgg6 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> 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
>
>
>
> ------------------------------
>
> Message: 7
> Date: Mon, 24 Jan 2011 03:58:30 -0800
> From: "Michael M. Butler" <mmbutler at gmail.com>
> Subject: Re: [C.CC USERS] Qs re occPlug's "Arduino" target and "Upload
> Firmware". *apologies; newb*
> To: Matt Jadud <matt at jadud.com>, Christian Jacobsen
> <cljacobsen at gmail.com>
> Cc: users at concurrency.cc
> Message-ID:
> <AANLkTimHwd9U5Bei7+i2K+nhgdTugbR+ysd9b-MSc5wW at mail.gmail.com<AANLkTimHwd9U5Bei7%2Bi2K%2BnhgdTugbR%2Bysd9b-MSc5wW at mail.gmail.com>
> >
> Content-Type: text/plain; charset=ISO-8859-1
>
> Apologies if I've misdirected any of my replies to a larger context
> than was warranted. Great thanks to Matt and Christian for their
> timely responses. --M
>
> --
> Michael M. Butler? = =? m m b u t l e r? at? g m a i l . c o m
>
>
>
> ------------------------------
>
> _______________________________________________
> users mailing list
> users at concurrency.cc
> http://www.concurrency.cc/mailman/listinfo/users
>
>
> End of users Digest, Vol 12, Issue 15
> *************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.concurrency.cc/pipermail/users/attachments/20110124/341fce52/attachment.htm>
More information about the users
mailing list