---------- Forwarded message ---------- From: mejda chouaieb <[EMAIL PROTECTED]> Date: Oct 19, 2007 1:07 AM Subject: Porting Tinyos To A New Hardware Platform To: SANG Junjun <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED]
Hello Mr SANG Junjun , First of all, thank you for help. I have an other question: do you know witch Makefiles are hardware dependent ? I programmed Makefiles under C:\jennic\cygwin\opt\tinyos- 2.x\support\make\JN513X for my new platform, and I want to know if there are other makefiles that are hardware dependent ? Thanks, Mejda CHOUAIEB ----- Message d'origine ---- De : SANG Junjun <[EMAIL PROTECTED]> À : mejda chouaieb <[EMAIL PROTECTED]> Cc : tinyos-help@millennium.berkeley.edu Envoyé le : Samedi, 13 Octobre 2007, 12h33mn 23s Objet : Re: Re : Re : Re : Re : [Tinyos-help] Porting Tinyos To A New Hardware Platform Yes, these files are drivers. The problem is how to use them in TinyOS. On 10/13/07, mejda chouaieb <[EMAIL PROTECTED]> wrote: > > Hello, > I have C:\jennic\cygwin\jennic\SDK\Chip\JN513xR > and the folder JN513xR contains 4 folders : Build, Include, Library and > Source. > for example the folder Build contains 3 files : ChipConfig.mk, > Rom_Functions.ld and AppBuild_JN5139R.ld > for example AppBuild_JN5139R.ld contains : > _________________________________________ > > INCLUDE Rom_Functions.ld > > MEMORY > > { > > flashh : ORIGIN = 0x04000fdc, LENGTH = 0x00000024 > > mac : ORIGIN = 0x04001000, LENGTH = 0x00000020 > > ram : ORIGIN = 0x04001020, LENGTH = 0x000167e0 > > sector3 : ORIGIN = 0x04018fdc, LENGTH = 0x00008000 > > } > > SECTIONS > > { > > .flashheader : > > { > > LONG(0xe0e0e0e0) > > LONG(ABSOLUTE(_data_beg)) > > LONG(_data_len) > > LONG(0x00040030) > > LONG(0) > > LONG(ABSOLUTE(_bss_beg)) > > LONG(_bss_len) > > LONG(ABSOLUTE(_AppWarmStart)) > > LONG(ABSOLUTE(_AppColdStart)) > > } > flashh > > .mac : > > { > > _data_beg = ABSOLUTE(.); > > LONG(0xffffffff) > > LONG(0xffffffff) > > LONG(0xffffffff) > > LONG(0xffffffff) > > LONG(0xffffffff) > > LONG(0xffffffff) > > LONG(0xffffffff) > > LONG(0xffffffff) > > } > mac > > .rodata : > > { > > *(.rodata*) > > } > ram > > .data : > > { > > *(.data*) > > } > ram > > .text : > > { > > *(.text*) > > _data_end = ABSOLUTE(.); > > } > ram > > .bss : > > { > > _bss_beg = ABSOLUTE(.); > > *(.bss*) > > } > ram > > _bss_end = ABSOLUTE(.); > > _data_len = _data_end - _data_beg; > > _bss_len = (_bss_end - _bss_beg + 3) & 0xfffffffc; > > .sector3 : > > { > > *(.sector3*) > > } > sector3 > > } > > _apvReg = 0x10000000; > > _apvSysReg = 0x10000000; > > _apvAesReg = 0x10000c00; > > _apvAnaReg = 0x10000f00; > > _apvGpioReg = 0x20000000; > > _apvUart0Reg = 0x30000000; > > _apvUart1Reg = 0x40000000; > > _apvTimer0Reg = 0x50000000; > > _apvTimer1Reg = 0x60000000; > > _apvSiReg = 0x70000000; > > _apvSpiReg = 0x80000000; > > _apvSpiIpReg = 0x90000000; > > _apvSpiIpMem = 0x98000000; > _________________________________________ > and ChipConfig.mk contains : > ____________________________ > CFLAGS += -DCHIP_RELEASE_5131 > > ____________________________ > > so I think these files are the drivers, is it right ? > ----- Message d'origine ---- > De : SANG Junjun < [EMAIL PROTECTED]> > À : mejda chouaieb <[EMAIL PROTECTED]> > Cc : tinyos-help@millennium.berkeley.edu > Envoyé le : Vendredi, 12 Octobre 2007, 4h49mn 41s > Objet : Re: Re : Re : Re : [Tinyos-help] Porting Tinyos To A New Hardware > Platform > > I mean the drivers for chip under TinyOS, for example the drivers under > the folder tos/chips. > If drivers for MCU is prepareed, you can try to make your platform > defination(see lesson 10 in tutorials**) > And then try to make TinyOS recongnize your platform(just like yamp in > lesson) for your start. > > On 10/11/07, mejda chouaieb < [EMAIL PROTECTED]> wrote: > > > > Hello, > > I think that drivers exist for JN5139 because I installed " JN-SW-4027 > > SDK with CLI<http://www.jennic.com/support/view_file.php?fileID=0000000115>" > > software from jennic website > > http://www.jennic.com/support/view_section.php?sectionID=0000000010 and > > I have : > > C:\jennic\drivers\FTDI_drivers\WinXP > > If you have any direction as to what a good starting point would be, I > > would greatly appreciate it. > > Thanks, > > Mejda CHOUAIEB > > > > ----- Message d'origine ---- > > De : SANG Junjun < [EMAIL PROTECTED]> > > À : mejda chouaieb <[EMAIL PROTECTED]> > > Cc : tinyos-help@millennium.berkeley.edu > > Envoyé le : Mercredi, 10 Octobre 2007, 15h55mn 16s > > Objet : Re: Re : Re : [Tinyos-help] Porting Tinyos To A New Hardware > > Platform > > > > I think you should develop drivers for JN5139 first. > > > > On 10/10/07, mejda chouaieb < [EMAIL PROTECTED]> wrote: > > > > > > JN5139 Wireless Microcontroller (IEEE802.15.4 and ZigBee) > > > > > > ----- Message d'origine ---- > > > De : SANG Junjun < [EMAIL PROTECTED]> > > > À : mejda chouaieb <[EMAIL PROTECTED]> > > > Cc : tinyos-help@millennium.berkeley.edu > > > Envoyé le : Mercredi, 10 Octobre 2007, 15h40mn 12s > > > Objet : Re: Re : [Tinyos-help] Porting Tinyos To A New Hardware > > > Platform > > > > > > what's the type of jennic's MCU? > > > > > > > > > On 10/10/07, mejda chouaieb < [EMAIL PROTECTED]> wrote: > > > > > > > > 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 < [EMAIL PROTECTED]> > > > > À : mejda chouaieb <[EMAIL PROTECTED]> > > > > Cc : tinyos-help@millennium.berkeley.edu > > > > 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 <http://db.hit.edu.cn/> of Harbin Institute of > > > > Technology<http://en.hit.edu.cn/> > > > > . > > > > > > > > On 10/10/07, mejda chouaieb < [EMAIL PROTECTED]> 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 > > > > > Tinyos-help@Millennium.Berkeley.EDU > > > > > > > > > > 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 ! > > > > <http://fr.promotions.yahoo.com/mail/nouveau_yahoomail2.html> > > > > > > > > > > > > > > > > -- > > > Best Regards, > > > SANG JUNJUN > > > > > > > > > > > > ------------------------------ > > > Stockage illimité de vos mails avec Yahoo! Mail. Changez aujourd'hui > > > de mail ! > > > <http://fr.promotions.yahoo.com/mail/nouveau_yahoomail2.html> > > > > > > > > > > > -- > > Best Regards, > > SANG JUNJUN > > > > > > > > ------------------------------ > > Stockage illimité de vos mails avec Yahoo! Mail. Changez aujourd'hui de > > mail ! <http://fr.promotions.yahoo.com/mail/nouveau_yahoomail2.html> > > > > > > -- > Best Regards, > SANG JUNJUN > > > > ------------------------------ > Stockage illimité de vos mails avec Yahoo! Mail. Changez aujourd'hui de > mail ! <http://fr.promotions.yahoo.com/mail/nouveau_yahoomail2.html> > -- Best Regards, SANG JUNJUN ------------------------------ Découvrez le blog Yahoo! Mail <http://blog.mail.yahoo.fr/> : dernières nouveautés, astuces, conseils.. et vos réactions ! -- Best Regards, SANG JUNJUN
_______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help