[C.CC USERS] Neither blink() nor heartbeat() run on arduino tvm on seeeduino mega V1.23 ?
Vjekoslav Matic
vmatic at aon.at
Thu Oct 25 22:10:56 BST 2012
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)
------------------------------------------------------
More information about the users
mailing list