Hello Aurélien Francillon : thank you for your reply . 1.when i compile the application , i use the command make mica2 debug . when i debug the application , i still can't see the NesC source in tinyos1.15(avarice version 2.4) , but i can see the NesC source in tinyos2.x(avarice version 2.4-1) , i think it should not be the problem of version, because if it is the problem of version , then you can't debug the app in tinyos1.x because you only see assembler code. why ? 2. i want to know how to update my tools in tinyos . if the format of tools are *. tar.bz2 , how to update ? can you tell me ? thank you !!! 2008/5/8, Aurélien Francillon <[EMAIL PROTECTED]>: > > jiwen zhang a écrit : > >> Hello : >> > Hi, > > i am trying debugging the nesc code. >> the version of avarice i am using is 2.4. i find a problem that some >> times i can connect but sometimes not when i use the same setting , and also >> i can't see the C source , only see assembler code(tinyos1.15) . (i am using >> jtagICE mkii ) >> > to see the C/nesc source code you need to build with '-g' compiler flags > or just > make XXX debug > under tinyos which is adding the proper flags to gcc > without those flags the debugger don't know the relationships between the > assembly and the C source line, however if you build with optimizations > (-Os) then the assembly/C relations might look weird because of the > optimizations. > > after i connected , i set a breakpoint and click "run" , i find it never >> stop at the breakpoint. >> > > so i click the "stop" , and click "run" again, it gives an error that >> "can't connect". i am puzzled. >> > I have trouble too with the stop like commands, breakpoints work fine > however... > > so i doubt the version of avarice . so i want to update it . i have a >> question : >> i have download the avarice from www.sourceforge.net < >> http://www.sourceforge.net> , the version is 2.7 . there are two packets >> named "avarice-2.7.tar.bz2" and "avarice-2.7.tar.bz2.sig". >> 1. what is the useness of the "avarice-2.7.tar.bz2.sig "? >> > > It's a signature of the file, you may ignore it, you can find more details > on gnupg.org if you want to check the signature > > 2.they are used for linux . can they be used in cygwin ? >> > probably, I haven't personnaly tried > > cheers > Aurélien > > >
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
