[C.CC USERS] Neither blink() nor heartbeat() run on arduino tvm on seeeduino mega V1.23 ?
Vjekoslav Matic
vmatic at aon.at
Thu Nov 22 21:00:49 GMT 2012
Hi Matt
I am still not able to run occam on Seeeduino Mega 1280 :-(
(In the mean time I tested the Transterpreter with Arduino Uno R3 and this
runs OK)
My first goal on Seeeduino Mega is to get heartbeat() or blink() to run
properly on pin 13.
Any ideas how to debug this issue?
Thanks & BR,
Vjeko
-----Original Message-----
From: jadudm at gmail.com [mailto:jadudm at gmail.com]On Behalf Of Matt Jadud
Sent: 26. listopad 2012 0:13
To: vmatic at aon.at
Cc: users at concurrency.cc
Subject: Re: [C.CC USERS] Neither blink() nor heartbeat() run on arduino
tvm on seeeduino mega V1.23 ?
Hi Vjeko,
I used to own a Seed 1280 board, and it worked. We support the 1280,
and have pin mappings for it. I have been meaning to buy a replacement
for some time, though, as I no longer own one.
I will be travelling tomorrow AM through Sunday. If anyone is able to
provide some pointers/ideas for Vjeko, that would be marvelous.
We'll get you running; I'm sorry that tonight is going to be taken up
by family and packing, and I'll be at a wedding for the next few days
with limited net access (and no hardware access).
Cheers,
Matt
On Thu, Oct 25, 2012 at 5:10 PM, Vjekoslav Matic <vmatic at aon.at> wrote:
> Dear all,
>
> I am struggling since several days to get my *Seeeduino Mega 1280* board
> V1.23 running with Transterpreter-win-dev-20110201.1855.
>
> 1. I checked the hardware with Arduino IDE 1.0.1 and LED blink sketch on
> Arduino-pin 13 or 12 was running OK. This means there is definitely green
> LED on PCB connected to pin 13 and all HW is OK.
>
> 2. With Transterpreter I was apparently able to load the firmware and
later
> also compile and download both heartbeat() and blink() examples. However,
> heartbeat() code was producing only short light pulses ~100 ms with ~500ms
> breaks and blink() example did not work at all = LED off(neither on pin 13
> nor on pin 12).
>
> 3. I checked all list discussions. Except concerns about LED.pin=-1 I did
> not find anything else.
>
> 4. I also tried to download the ARduino Mega tvm and compile & download
code
> for Arduino Mega with same results as in point (2).
>
>
> Can you pls check if download transcript below is OK?
> Are there any known issues with these examples?
> Is there any other way to check if occam-pi code was really started on the
> tvm or if tvm is running at all? Can I access and communicate with console
> using UART?
>
> Thanks & Regards,
> Vjeko
>
>
> ---- my
>
code -----------------------------------------------------------------------
> -------
> #INCLUDE "plumbing.module"
>
>
> PROC main()
> blink(13,500)
> --heartbeat()
> :
> --------------------------------------------------------------------------
--
> ---------------
>
>
>
> ----- flashing firmware
> transcript ----------------------------------------------------
>
> Uploading Plumbing firmware
>
> avrdude.exe: AVR device initialized and ready to accept instructions
>
> Reading | ################################################## | 100% 0.02s
>
> avrdude.exe: Device signature = 0x1e9703
> 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 "F:\Program
>
Files\Transterpreter\arduino\tvm\firmware\tvm-avr-atmega1280-16000000-seeedu
> inomega.hex"
> avrdude.exe: writing flash (21842 bytes):
>
> Writing | ################################################## | 100% 6.86s
>
> avrdude.exe: 21842 bytes of flash written
> avrdude.exe: verifying flash memory against F:\Program
>
Files\Transterpreter\arduino\tvm\firmware\tvm-avr-atmega1280-16000000-seeedu
> inomega.hex:
> avrdude.exe: load data flash data from input file F:\Program
>
Files\Transterpreter\arduino\tvm\firmware\tvm-avr-atmega1280-16000000-seeedu
> inomega.hex:
> avrdude.exe: input file F:\Program
>
Files\Transterpreter\arduino\tvm\firmware\tvm-avr-atmega1280-16000000-seeedu
> inomega.hex contains 21842 bytes
> avrdude.exe: reading on-chip flash data:
>
> Reading | ################################################## | 100% 6.42s
>
> avrdude.exe: verifying ...
> avrdude.exe: 21842 bytes of flash verified
>
> avrdude.exe done. Thank you.
>
> firmware upload completed sucessfully
>
> ------- compile
> transcript -------------------------------------------------------------
>
> Compiling: F:\Documents and
> Settings\Vjeko\Desktop\HamRadio\Transterpreter\code\test\blink.occ
> compile completed sucessfully
>
> ------- run
> transcript -------------------------------------------------------------
> avrdude.exe: AVR device initialized and ready to accept instructions
>
> Reading | ################################################## | 100% 0.02s
>
> avrdude.exe: Device signature = 0x1e9703
> avrdude.exe: reading input file "blink.ihex"
> avrdude.exe: writing flash (24970 bytes):
>
> Writing | ################################################## | 100% 1.02s
>
> avrdude.exe: 24970 bytes of flash written
>
> avrdude.exe done. Thank you.
>
> Any output from the connected device will appear below
> (hit stop to disconnect)
> ------------------------------------------------------
>
>
>
> _______________________________________________
> users mailing list
> users at concurrency.cc
> http://lists.concurrency.cc/mailman/listinfo/users
More information about the users
mailing list