Axl Schreiber schrieb:
> Janos Sallai schrieb:
>   
>> Axl,
>>
>>   
>>     
>>>> I assume that you've attempted turning off all optimizations, i.e.
>>>>       
>>>>         
>> your
>>   
>>     
>>>> make command line is something like this:
>>>> CFLAGS+="-O0 -g2 -ggdb -fnesc-no-inline" make iris
>>>>   
>>>>       
>>>>         
>>> Yes, I have turned off all optimizations. I have used
>>>     CFLAGS += "O0 -g -fnesc-no-inline".
>>> I have tryed your
>>>     CFLAGS += "O0 -g2 -ggdb -fnesc-no-inline",
>>> but the behavior is the same.
>>>     
>>>       
>> You're missing a dash before O0.
>>   
>>     
> You're right. I did the mistake by writing the email. There is a dash
> before O0 in the makefile.
>   
>> AFAIK, avr-gcc 3.4.6 has some debugging related issues. Nevertheless, it
>> is strange that the problem doesn't come up when debugging a micaz. Did
>> you consider upgrading to avr-gcc 4.2.1? That's the default now with
>> TinyOS 2.1.
>>   
>>     
> I will upgrade to avr-gcc 4.2.1 and than report on the result.
>   
I've tested avr-gcc 4.2.1 and 4.1.2 along with binutils 2.17 .  My OS is
openSUSE 10.3.
If I use avr-gcc 4.2.1 I get the message:
...
tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:222: internal compiler
error: in start_function, at c-decl.c:6178
...

If I use avr-gcc 4.1.2 the application compiles fine, but avr-insight
shows the same behavior as befor.
>> Janos
>>
>> -----Original Message-----
>> From: Axl Schreiber [mailto:[EMAIL PROTECTED] 
>> Sent: Monday, September 15, 2008 3:00 AM
>> To: Janos Sallai
>> Cc: [email protected]
>> Subject: Re: [Tinyos-help] Problem, using avarice/avr-insight on IRIS
>> motes
>>
>> Janos Sallai schrieb:
>>   
>>     
>>> Axl,
>>>
>>> I assume that you've attempted turning off all optimizations, i.e.
>>>     
>>>       
>> your
>>   
>>     
>>> make command line is something like this:
>>> CFLAGS+="-O0 -g2 -ggdb -fnesc-no-inline" make iris
>>>   
>>>     
>>>       
>> Yes, I have turned off all optimizations. I have used
>>      CFLAGS += "O0 -g -fnesc-no-inline".
>> I have tryed your
>>      CFLAGS += "O0 -g2 -ggdb -fnesc-no-inline",
>> but the behavior is the same. 
>>   
>>     
>>> What avr-gcc version do you use? What JTAG hardware do you use?
>>>   
>>>     
>>>       
>> I use avr-gcc version 3.4.6 and the "AVR JTAGICE mkII" hardware.
>>   
>>     
>>> Janos
>>>
>>> -----Original Message-----
>>> From: [EMAIL PROTECTED]
>>> [mailto:[EMAIL PROTECTED] On Behalf Of Axl
>>> Schreiber
>>> Sent: Friday, September 12, 2008 9:58 AM
>>> To: [email protected]
>>> Subject: [Tinyos-help] Problem, using avarice/avr-insight on IRIS
>>>     
>>>       
>> motes
>>   
>>     
>>> Hi all,
>>>
>>> I am facing a strange problem using avr-insight on IRIS motes.
>>> I have tested avarice 2.7/2.8, avr-insight 6.4 debugging the Blink
>>> application of Tinyos-2.x on IRIS motes.
>>>
>>> I set breakpoints at
>>>     call Leds.led0Toggle(),
>>>     call Leds.ledToggle1() and
>>>     call Leds.led2Toggle().
>>> The program stops at the first breakpoint "call Leds.led0Toggle()"
>>>     
>>>       
>> only.
>>   
>>     
>>> The other two breakpoits were never reached.
>>> If I use one breakpoint only, it works like expected.
>>>
>>> If I use MICAz motes to test avarice/avr-insight, all three
>>>     
>>>       
>> breakpoints
>>   
>>     
>>> were reached.
>>>
>>> It looks like avarice/avr-insight can handle only one breakpoint on
>>>     
>>>       
>> IRIS
>>   
>>     
>>> motes.
>>>
>>> Has anybody the same problem?
>>> Any hints and/or suggestion to solve the problem?
>>>
>>> Axl
>>>
>>> _______________________________________________
>>> Tinyos-help mailing list
>>> [email protected]
>>>
>>>     
>>>       
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>   
>>     
>>> No virus found in this incoming message.
>>> Checked by AVG - http://www.avg.com 
>>> Version: 8.0.169 / Virus Database: 270.6.20/1666 - Release Date:
>>> 9/11/2008 6:55 PM
>>>   
>>>     
>>>       
>> No virus found in this incoming message.
>> Checked by AVG - http://www.avg.com 
>> Version: 8.0.169 / Virus Database: 270.6.20/1666 - Release Date:
>> 9/14/2008 7:16 AM
>>   
>>     
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>   

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to