Andreas Dubhorn | 2 Jul 2006 01:46
Picon

Re: AVR port broken?

>Groepaz schrieb:
>> 1. Since the version 20060627 the buildprocess for AVR is broken:
>>
>> avr-ld -mmcu=atmega128 -Wl,-Map=contiki-ethernut1.map
>>...
> that looks like a simple issue, and the error pretty much says what the 
> problem is :) you need to replace -mmcu=atmega128 in the makefile by one 
> ..

No, the command avr-ld is new and doesn't work with avr2. If I try this,
it can't find many symbols. Simply copying the makefile.include from
20060626 will make it compile. The CUSTOM_RULE_LINK is the problem. How
do I set another value with a target?

Your question about serial debuging, serial doesn't answer too. Perhaps 
its a basic problem with the compiler and its binary format, but am 
commin from BASCOM, therefore I have no knowledge about gcc. I am stil 
learning.

cu
Andreas

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Groepaz | 2 Jul 2006 02:03
Picon

Re: AVR port broken?

On Sunday 02 July 2006 01:46, Andreas Dubhorn wrote:
> >Groepaz schrieb:
> >> 1. Since the version 20060627 the buildprocess for AVR is broken:
> >>
> >> avr-ld -mmcu=atmega128 -Wl,-Map=contiki-ethernut1.map
> >>...
> >
> > that looks like a simple issue, and the error pretty much says what the
> > problem is :) you need to replace -mmcu=atmega128 in the makefile by one
> > ..
>
> No, the command avr-ld is new and doesn't work with avr2. If I try this,
> it can't find many symbols. Simply copying the makefile.include from
> 20060626 will make it compile. The CUSTOM_RULE_LINK is the problem. How
> do I set another value with a target?

look at the makefile for the ESB port ... like i said, the avr port isnt 
really tested or supposed to work in the 2.x tree, so you will most likely 
have to make some (or even lots) of small adjustments to make it compile.

--

-- 

http://www.hitmen-console.org
http://www.gc-linux.org/docs/yagcd.html
http://www.pokefinder.org
http://ftp.pokefinder.org

I have always wished that my computer would be as easy to use as my telephone. 
My wish has come true. I no longer know how to use my telephone. 
<Bjarne Stroustrup>
(Continue reading)

Krisakorn Rerkrai | 7 Jul 2006 14:12
Picon
Picon

Contiki on Telos motes

Hi all,

I am currently porting an application on Telos motes.
I have slightly modified Contiki from UCL (I am using
codeprop instead of tunslip). My sample application
is Blink. Everything was working so fine previously.
Now I have a strange behaviour on my mote.
After I do "make generic.u", I get all the LEDs on.
I don't think this is a normal LED status I should get
after I install the Contiki core. I can't use codeprop to
download the code anymore. I'm wondering if there
is something to do with my BSL since I'm also working
with TinyOS. How could I know if I'm using the right
BSL? Or if there is something else problematic..

Any help would be appreciated. Thank you.

Regards,
Krisakorn

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Contiki-developers mailing list
(Continue reading)

Arvid Brodin | 4 Jul 2006 20:58
Picon
Picon
Favicon

Uploading and running Contiki programs on the ESB

I am trying to get Contiki (20060704 snapshot) running on the ESB. I have
the build system set up under Linux; 'platform/esb> make' produces a
core.firmware file that I can upload to the ESB with msp430-gdb. SLIP is
setup and the ESB module answers pings at 172.16.1.1.

And that's about it. I cannot figure out how to run a program on the ESB -
neither telnet or VNC works (I get "Connection refused" and this is not
due to iptables or the like). Are these servers supposed to be running by
default? If not, how do I start them without a way to log in to the
system? Do I use the send program?

What are the meanings of the .ce, .cm, and .co targets? What mechanism
does the .u target use to upload programs? Lots of questions...

In this particular snapshot (20060704) the .u targets (core.u, beeper.u)
fail with
...
msp430-ld -mmcu=msp430x149 -Wl,-Map=contiki-esb.map  core.co
obj_esb/contiki-esb-main.o contiki-esb.a  -o core.esb
msp430-ld: unrecognised emulation mode: mcu=msp430x149
Supported emulations: msp430x149 msp430x148 msp430...

I think this is due to an error in $(CONTIKI)/cpu/msp430/Makefile.msp430,
line 51:
LDFLAGS += -mmcu=$(MCU) -Wl,-Map=contiki-$(TARGET).map

where the emulation option should be
-m $(MCU)

also msp430-ld does not recognise the -W option (and this error also shows
(Continue reading)

Andrea Pacini | 16 Jul 2006 18:44
Picon
Favicon

Codeprop problem

I 've used succesfully the codeprop utility for some weeks.
 
Since yesterday it seems  to doesn't work any more : when I run codeprop it blocks on this statement
 
//...
if(connect(s, (struct sockaddr *)&sa, sizeof(sa)) < 0) {
//...
 
It is very strange to me because I didn't modidfy anything.
I tried to reboot, plug/unplug mote, and recompiliing applications many times but still doesn't work.
 
Tunslip works fine.
I usually run tunslip as:
 
./tunslip 172.16.0.1 255.255.0.0
 
and codeprop as
 
./codeprop 172.16.0.1 filename.prg
 
I can successfully ping the mote as:
 
ping 127.0.1.1
 
Can you help me ?
 
 
Thanks
Andrea
 



----
Email.it, the professional e-mail, gratis per te:clicca qui

Sponsor:
Video-Corsi.com : Vuoi scoprire un modo rapido e veloce per imparare? Scopri i nostri VideoCorsi professionali
Clicca qui


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
Shadow | 24 Jul 2006 02:26
Picon

uIP webclient

Hello, guyz.

Sorry for a little offtopic.
I'm working on uIP(version 0.9, ported to winpcap). Tried asking questions on 
uIP mailing list, but didn't get any result.
So, I need webclient from uIP.
Ping and httpd works Ok.

But the webclient is not....

I digged a bit to the source and this is how I see the process:
1. webclient_init() is empty.... well, ok...
2. when you call webclient_get() it executes uip_connect() function and fills 
the webclient_state structure.
3. uip_connect() searches open port and fills uip_conn structure, so it 
initializes a connection.
4. it sets conn->timer to 1, so it must send SYN soon...
5. but... it doesn't fill any packet structure to be sent, so how can it 
initialize connection and what is it going to send???
6. it really isn't sending anything, cause I checked structure filling - its 
Ok, but SYN packets don't go away....

Please correct me if I'm wrong...

Any help greatly appreciated.

Thanks alot.

--

-- 
uname -a
Linux TRUSK 2.6.8-2-686 #1 Thu May 19 17:53:30 JST 2005 i686 GNU/Linux

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Andrea Pacini | 31 Jul 2006 13:29
Picon
Favicon

Remote IP and port of TCP connection

How can I retrieve remote IP and port of TCP connection in 
example "example-psock.server.c" (chapter 10.6) (contiki documentation, 
contiki-2.x-snap5.pdf) ?

Thanks
Andrea

 --

 Email.it, the professional e-mail, gratis per te: http://www.email.it/f

 Sponsor:

 Conto Arancio: 3.50% per tutto il 2006! Scopri come

 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=5043&d=31-7

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

Gmane