Right.... so now you need to either create a python script (or run
python interactively), or write a C++ program to interact with this
object file.

Take a loot at tutorial 11

http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/lesson11.html

specifically at the sections entitled "Running TOSSIM with Python" and "C++"

Kevin

On 10/10/07, zahid iqbal <[EMAIL PROTECTED]> wrote:
> Hi All !
>
>
> I am using the follwing to compile my nesC application:
>
>  make micaz sim
>
> my program compiles successfully, & says:
>
> "compiling PeriodicReaderAppC to object file sim.o"
>
> So what I get is an object file in /build/micaz/ directory and not an
> executable file. My question is how do I get an executable file.
>
>
> thanks.
>
>
> [EMAIL PROTECTED] wrote:
>  Send Tinyos-help mailing list submissions to
>  [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
> or, via email, send a message with subject or body 'help' to
>  [EMAIL PROTECTED]
>
> You can reach the person managing the list at
>  [EMAIL PROTECTED]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Tinyos-help digest..."
>
>
> Today's Topics:
>
>  1. Re: UART Problems with MicaZ, TinyOS-1.1 (Nick Soldner)
>  2. FormatStorage on Tmote problem (David Henry)
>  3. Porting Tinyos To A New Hardware Platform (mejda chouaieb)
>  4. Re: Porting Tinyos To A New Hardware Platform
>  (Marco Antonio Lopez Trinidad)
>  5. Re: Porting Tinyos To A New Hardware Platform (SANG Junjun)
>  6. Re : [Tinyos-help] Porting Tinyos To A New Hardware Platform
>  (mejda chouaieb)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 10 Oct 2007 17:02:03 +0800
> From: "Nick Soldner"
> Subject: Re: [Tinyos-help] UART Problems with MicaZ, TinyOS-1.1
> To: "Greg Turnipseed"
> Cc: [email protected]
> Message-ID:
> <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Greg,
>
> At first when I read your post I immediately thought that you might have SW2
> on the mib510 serial programming board turned on (if you're even using the
> mib510). If this is the case you might want to flip it. I can't remember at
> the moment however whenever this switch is on it will not allow messages to
> be received or sent (can't remember which) through the mib510's UART.
>
> Also, are you using the BcastInject java tool to inject packets? Although I
> haven't needed to, if I was confronted by the same issue as you I would dig
> into the components included in the TOSBase configuration file (such as
> FramerM and RadioCRCPacket).
>
> Hope that helps, BTW do you have any experience writing to the EEPROM?
>
> Nick
>
> On 10/10/07, Greg Turnipseed wrote:
> >
> > Hey, all. I've been trying to get my computer to speak back to the base
> > station running a barely modified TOSBase (just added a toggle if it
> > receives/sends things over the UART).
> >
> > I know for certain that I am connected, because I'm receiving packets from
> > the motes on the network, and my computer's able to decode them. However,
> > I'm not able to send packets back. I've been looking through the
> > archives,
> > and have not found a solution that has worked thus far.
> >
> > I have tried just sending the data I want to send (no header, no nothing).
> > Clearly, that didn't work, so I looked closer into it, and learned that I
> > needed the header and such on there, as well. Thus, my packet now looks
> > as
> > follows:
> >
> > 0x7E - Frame
> > 0x41 - ACK format
> > 0x FF \ Destination (broadcast)
> > 0x FF /
> > 0x04 - Packet Type
> > 0x7D - Escape character
> > 0x5D - Escaped '7D' to refer to the group address
> > 0x02 - Length (in bytes)
> > 0x27 - Data byte 1
> > 0x10 - Data byte 2
> > 0x?? - CRC LSB
> > 0x?? - CRC MSB
> > 0x7E - End Frame
> >
> > Yes, I know the ??'s can't stay there, which brings me to my next
> > question:
> > CRC on here has proven infuriating to decipher. First, I'd never heard of
> > CRC until a few days ago, so I'm learning as I go, and I've used multiple
> > CRC algorithms off here (I know the polynomial's x^16+x^12+x^5+1, which
> > translates to 0x8811, but my home-made algorithms don't work, and neither
> > do
> > the ones I've found, for example,
> > tinyos-1.x/tools/java/net/tinyos/util/Crc.java. I've been
> testing it
> > using
> > data I collected off the sensor. The data I got was:
> > 7E 42 FF FF 04 7D 5D 04 03 00 01 00 10 5F 7E
> >
> > According to what I've read, the CRC for this should be 5F10, since the
> > bytes are reversed. What I can't figure out is how it got that. I've
> > tried
> > this multiple times, using all kinds of combinations, and I can't seem to
> > figure it out. So, here are some questions:
> > Is the CRC calculated on escaped characters, or unescaped?
> > Is the data in the correct order (e.g., MSB then LSB)? What about the
> > address, source, etc.? Are they in MSB then LSB order, or vice-versa?
> > Which values does the CRC take into account? Does it include frames?
> > Message format? Destination? Group Address? Etc.?
> > Is the polynomial I determined correct?
> > Why does the Crc.java not give me the same CRC values the MicaZ does?
> > What's the correct packet format, and/or is there a simple way to package
> > it
> > using a TinyOS java class/method/package?
> >
> > Thanks,
> > Greg Turnipseed
> > Senior, University of Texas at Dallas
> >
> >
> > _______________________________________________
> > Tinyos-help mailing list
> > [email protected]
> >
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20071010/52695205/attachment-0001.htm
>
> ------------------------------
>
> Message: 2
> Date: Wed, 10 Oct 2007 12:28:19 +0200
> From: "David Henry"
> Subject: [Tinyos-help] FormatStorage on Tmote problem
> To:
> Message-ID:
> Content-Type: text/plain; charset="windows-1255"
>
> I'm trying to get the TestNewFlash programs to work on my TmoteSky hardware
> but Block consistently fails. On debugging further I noticed that reading
> the sector table from the top of each sector is always 1 byte off i.e. it
> reads from the second byte.
> This ties in with my experience of running Deluge on the same hardware. I
> can inject images but reboot never works.
>
> On the plus side, Deluge and reboot works successfully on Tmoteinvent. Unitl
> I get the proper JTAG adaptor for Tmoteinvent I cannot do the same debugging
> as for Tmote. However it begs the question - is there a known problem with
> Tmote and did Tmoteinvent fix it?
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20071010/9c106c68/attachment-0001.html
>
> ------------------------------
>
> Message: 3
> Date: Wed, 10 Oct 2007 10:55:10 +0000 (GMT)
> From: mejda chouaieb
> Subject: [Tinyos-help] Porting Tinyos To A New Hardware Platform
> To: [email protected]
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=iso-8859-1
>
> Hello All,
> I want to port Tinyos to an other platform with the same radio 2024 but with
> a diffrent microcontroller,
> Now, I want to port some basic components of TinyOS to Jennic. Right now, I
> just want to get the URAT working.
> I was wondering if anyone else has attempted to port Tiny OS to other
> platforms. If you have any
> direction as to what a good starting point would be, I would greatly
> appreciate it.
> Thanks,
> Mejda CHOUAIEB
>
>
> ____________________________________________________________________________________________
> Découvrez le blog Yahoo! Mail : dernières nouveautés, astuces, conseils.. et
> vos réactions !
> http://blog.mail.yahoo.fr
>
>
>
> ------------------------------
>
> Message: 4
> Date: Wed, 10 Oct 2007 13:44:34 +0200
> From: Marco Antonio Lopez Trinidad
> Subject: Re: [Tinyos-help] Porting Tinyos To A New Hardware Platform
> To: mejda chouaieb
> Cc: [email protected]
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1
>
>
>
> here there is a lesson.
>
> http://ecosensory.com/tinyos-2.x/doc/html/tutorial/lesson10a.html
>
> ciao,
> --marco.
>
> > Hello All,
> > I want to port Tinyos to an other platform with the same radio 2024 but
> with
> > a diffrent microcontroller,
> > Now, I want to port some basic components of TinyOS to Jennic. Right now,
> I
> > just want to get the URAT working.
> > I was wondering if anyone else has attempted to port Tiny OS to other
> > platforms. If you have any
> > direction as to what a good starting point would be, I would greatly
> > appreciate it.
> > Thanks,
> > Mejda CHOUAIEB
> >
> >
> >
> >
> ____________________________________________________________________________________________
> > Découvrez le blog Yahoo! Mail : dernières nouveautés, astuces, conseils..
> et
> > vos réactions !
> > http://blog.mail.yahoo.fr
> >
> > _______________________________________________
> > Tinyos-help mailing list
> > [email protected]
> >
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >
>
>
>
>
>
> ------------------------------
>
> Message: 5
> Date: Wed, 10 Oct 2007 21:19:13 +0800
> From: "SANG Junjun"
> Subject: Re: [Tinyos-help] Porting Tinyos To A New Hardware Platform
> To: "mejda chouaieb"
> Cc: [email protected]
> Message-ID:
> <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> We have ported T2 to Hawk platform with MSP430 and nrf905 successfully.
> I think the most difficult part of our work is the chip driver(driver for
> nrf905).
>
> I think focus on your MCU for first step is a good idea.
>
> By the way, Hawk platform is designed by Data Engineering Research
> Centerof Harbin
> Institute of Technology .
>
> On 10/10/07, mejda chouaieb wrote:
> >
> > Hello All,
> > I want to port Tinyos to an other platform with the same radio 2024 but
> > with a diffrent microcontroller,
> > Now, I want to port some basic components of TinyOS to Jennic. Right now,
> > I just want to get the URAT working.
> > I was wondering if anyone else has attempted to port Tiny OS to other
> > platforms. If you have any
> > direction as to what a good starting point would be, I would greatly
> > appreciate it.
> > Thanks,
> > Mejda CHOUAIEB
> >
> >
> >
> >
> ____________________________________________________________________________________________
> > Découvrez le blog Yahoo! Mail : dernières nouveautés, astuces, conseils..
> > et vos réactions !
> > http://blog.mail.yahoo.fr
> >
> > _______________________________________________
> > Tinyos-help mailing list
> > [email protected]
> >
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >
>
>
>
> --
> Best Regards,
> SANG JUNJUN
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20071010/221c7ec9/attachment-0001.htm
>
> ------------------------------
>
> Message: 6
> Date: Wed, 10 Oct 2007 13:35:17 +0000 (GMT)
> From: mejda chouaieb
> Subject: Re : [Tinyos-help] Porting Tinyos To A New Hardware Platform
> To: SANG Junjun
> Cc: [email protected]
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hello All,
> for more precision :
> I will port Tinyos2.x from telos hardware platform to jennic hardware
> platform
> both has the same radio CC2024 but a diffrent microcontroller.
>
> Thanks,
> Mejda CHOUAIEB
>
>
> ----- Message d'origine ----
> De : SANG Junjun
> À : mejda chouaieb
> Cc : [email protected]
> Envoyé le : Mercredi, 10 Octobre 2007, 15h19mn 13s
> Objet : Re: [Tinyos-help] Porting Tinyos To A New Hardware Platform
>
>
> We have ported T2 to Hawk platform with MSP430 and nrf905 successfully.
> I think the most difficult part of our work is the chip driver(driver for
> nrf905).
>
> I think focus on your MCU for first step is a good idea.
>
> By the way, Hawk platform is designed by Data Engineering Research Center of
> Harbin Institute of Technology.
>
> On 10/10/07, mejda chouaieb wrote:
> Hello All,
> I want to port Tinyos to an other platform with the same radio 2024 but with
> a diffrent microcontroller,
> Now, I want to port some basic components of TinyOS to Jennic. Right now, I
> just want to get the URAT working.
> I was wondering if anyone else has attempted to port Tiny OS to other
> platforms. If you have any
> direction as to what a good starting point would be, I would greatly
> appreciate it.
> Thanks,
> Mejda CHOUAIEB
>
>
> ____________________________________________________________________________________________
> Découvrez le blog Yahoo! Mail : dernières nouveautés, astuces, conseils.. et
> vos réactions !
> http://blog.mail.yahoo.fr
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>
>
>
> --
> Best Regards,
> SANG JUNJUN
>
>
> ______________________________________________________________________________
> Stockage illimité de vos mails avec Yahoo! Mail. Changez aujourd'hui de mail
> !
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20071010/be0450c5/attachment.html
>
> ------------------------------
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
> End of Tinyos-help Digest, Vol 54, Issue 37
> *******************************************
>
>
>
>  ________________________________
> Pinpoint customers who are looking for what you sell.
>
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>


-- 
~Kevin

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

Reply via email to