[CCC DEV] Things are working again except for the FFI stuff
Dennis Meade
meade.dennis at gmail.com
Thu Jun 10 01:29:04 BST 2010
After rebuilding the source twice, things seem to be working on the
occam-pi side.
But when I try to run the mixed C and occam-pi code for servos,I get the
following error:
tvm-arduino: error status E. ( the entire output of the make follows )
Any idea what "staus E" means? I looked through the code, but could
find nothing. If you don't know what it's about off the top of your
head, I will be uploading my code in a day or two which
will make it easier to track the error down.
Part of it may be the FFI. Its use in the Arduino code differs from the
two articles I found which describe it. I also did not integrate the
servo's interrupt with the scheduler since the pulses sent to the servo
on my servo are in the range of 500 to 2500 microseconds.. Added to
that this interval is broken into 180 increments if you're working in
degrees, any extra overhead would throw things pretty badly off if I
understand things
Oh, I can use Subversion well enough to check code in and out so it
shouldn't be a problem for me. I'll probably just let Eclipse know
where the code is ands then work from there.
Dennis
dennis at geekdom:~/kroc-new/tvm/arduino/occam$ make upload PROG=test_servos
avr-occbuild -DF.CPU=16000000 --program test_servos.occ
../binary-to-ihex 0x5000 test_servos.tbc test_servos.hex
../reset-arduino /dev/ttyUSB0
avrdude -C ../avrdude.conf -V -F -p atmega328p -P /dev/ttyUSB0 -b 57600
-c stk500v1 -D -U flash:w:test_servos.hex
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.01s
avrdude: Device signature = 0x1e950f
avrdude: reading input file "test_servos.hex"
avrdude: input file test_servos.hex auto detected as Intel Hex
avrdude: writing flash (22554 bytes):
Writing | ################################################## | 100% 0.70s
avrdude: 22554 bytes of flash written
avrdude: safemode: Fuses OK
avrdude done. Thank you.
../read-arduino /dev/ttyUSB0
entering servos.module
tvm-arduino: error status E
More information about the developers
mailing list