Discussion:
BTNuts compile problem
Cyrill Schluep
2010-03-01 17:05:59 UTC
Permalink
Hi,

I am working with BTnodes and I have the following problem:

I can Install and compile BTNuts as described in the tutorial, but i
fail to run any other application besides "hello World".
I tried with the precompiled Version btnode_snap_btnode3_binary
[rev 1.8 2007-01-23] under both Ubuntu and Windows but fail to compile
eeprom.c:(.text+0xe): undefined reference to `__eeprom_read_byte_1C1D1E'
eeprom.c:(.text+0x3a): undefined reference to `__eeprom_read_byte_1C1D1E'
eeprom.c:(.text+0x4a): undefined reference to `__eeprom_write_byte_1C1D1E'
When I use the Version from CVS (checked out with eclipse under Ubuntu), i can compile other applications.
But in this case the application seems to crash.
# Welcome to ------------------------------------i------
# W
# ------�����
# ------------------------------------------------------
# Welcome to -------------------------------------------------
Any help on this would be appreciated.

Regards,

Cyrill Schluep
Matthias Ringwald
2010-03-14 10:33:10 UTC
Permalink
hi cyrill

can you first check that eg the precompiled image of bt-cmd from the http://sourceforge.net/projects/btnode/files/BTnut%20example%20applications/bt-cmd/bt-cmd.20060410-1431.btnode3.hex.gz/download works with your BTnode?

if that works but not the one you compile from CVS please specify which versions of: avr-gcc / avr-libc / nut-os / btnut you use.

cheers
matthias
Post by Cyrill Schluep
Hi,
I can Install and compile BTNuts as described in the tutorial, but i
fail to run any other application besides "hello World".
I tried with the precompiled Version btnode_snap_btnode3_binary
[rev 1.8 2007-01-23] under both Ubuntu and Windows but fail to compile
eeprom.c:(.text+0xe): undefined reference to `__eeprom_read_byte_1C1D1E'
eeprom.c:(.text+0x3a): undefined reference to `__eeprom_read_byte_1C1D1E'
eeprom.c:(.text+0x4a): undefined reference to `__eeprom_write_byte_1C1D1E'
When I use the Version from CVS (checked out with eclipse under Ubuntu), i can compile other applications.
But in this case the application seems to crash.
# Welcome to ------------------------------------i------
# W
# ------�����
# ------------------------------------------------------
# Welcome to -------------------------------------------------
Any help on this would be appreciated.
Regards,
Cyrill Schluep
--
Archive http://lists.ee.ethz.ch/btnode-development
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
Loading...