|
From: Bryce L. <br...@vp...> - 2011-09-22 20:55:49
|
Sorry, let me clarify. By HAL I meant that the collection of hardware drivers exist for the CC2530 RF05 Eval Board. See the following directories: ../contiki-2.x/platform/cc2530eb/dev/ ../contiki-2.x/cpu/cc2530/dev/ You will see drivers for LEDs, the LCD, the clock, UART, DMA, ADM, and the RF radio. You will see duplicates in both these directories, but only one gets used (depending on the driver). I would like to clean that up for future builds. It may be easiest to simply download IAR 8051 Workbench Eval version and build and load the project onto your eval board. Then you can step through the code as the LEDs are being turned on and the LCD is being driven with the text. Note: These drivers are not TI's drivers (since TI owns their code they can't be contributed to an open source project like Contiki). They are the drivers that were created by our wonderful community. :) Good luck and let me know. Bryce -----Original Message----- From: Andrew Hardy [mailto:a....@20...] Sent: Thursday, September 22, 2011 2:24 PM To: Bryce Lembke Cc: Contiki developer mailing list Subject: Re: [Contiki-developers] [BULK] about CC2530 port Hi Bryce, Thanks for that. I really appreciate it. Just to clarify something you say "...Much of the HAL layer was already completed by Bojan and the CC2430 gurus...". I have download from github. Did you mean to say that a port of the original cc2530 hal has been made and included? I cannot see the hal folder or any of the same hal headers or prototype functions. There are some similar-ish ones. Have the names been changed in the port? Or has the hal 'not' yet been imported? Many thanks again. Andrew On 22/09/2011 17:07, Bryce Lembke wrote: > Hi Andrew, > > I have been running Contiki with the TI Smart RF05 CC2530 kits for about > 4 months now. Contiki for me has performed very well on that platform. > Please see the GIT branch in the email below. Much of the HAL layer was > already completed by Bojan and the CC2430 gurus. The hal layer already > supports use of the LCD, LCD, and UARTs on the Smart RF05 dev kits. > > As mentioned below, the rtimer and watchdog drivers aren't complete in > this branch, but I have them almost ready to check in. You will need at > least the rtimer if you want to do some of the main power saving RDC > layers in Contiki. > > Please note however that I posted this branch as pretty much Bojan's > original code. In order to get Rime to work I had to make some > additional changes which are not yet in this branch. I think this code > uses UIPv6 stuff which I haven't tried other than loading it and > verifying that the LCD, LEDs, and UART work. > > Bryce > > ------------------------ > I have created a git branch for Bojan's port to the Texas Instruments > CC2530. > > https://github.com/brycel/ContikiCC2530Port > > There are some missing hardware drivers (e.g. rtimer, watchdog) that are > needed for some Contiki configurations (using ContikiMAC for example), > but it should be a good starting point for anyone interested in using > this radio. > > Bryce > > -----Original Message----- > From: Andrew Hardy [mailto:a....@20...] > Sent: Thursday, September 22, 2011 5:39 AM > To: Contiki developer mailing list > Cc: Bryce Lembke > Subject: Re: [Contiki-developers] [BULK] about CC2530 port > > Possibly slightly off topic? > > But... > > I have been using CC2530 with the RF05 Evaluation Board and been using > TIMAC directly. I am very interested interested to upload Contiki but > am pretty new to this. > > One thought is, TI provide a useful hardware abstraction layer (hal) > which I have found very useful for accessing the LCD and other > facilities. Does any one know if the way Contiki runs generally or the > state of this contiki EW project is likely to make merging the hal into > it straight forward, difficult or impossible? > > > > On 07/09/2011 00:40, Bryce Lembke wrote: >> The IAR 8051 Workbench is available for trial from IARs website. I > believe the trial period is 30 days, but yes, the long term version > unfortunately costs money. >> -----Original Message----- >> From: Bryce Lembke [mailto:br...@vp...] >> Sent: Tuesday, September 06, 2011 5:37 PM >> To: Contiki developer mailing list >> Subject: Re: [Contiki-developers] [BULK] about CC2530 port >> >> The port was originally done using SDCC. However, Bojan's most recent > work on this port was done using IAR which I have also been using. I am > not sure the state of the SDCC build. At this moment I won't have a > chance to go back and verify/fix the SDCC build, but it is there in my > github branch if someone would like to try it out. >> Bryce >> >> -----Original Message----- >> From: jon...@gm... [mailto:jon...@gm...] >> Sent: Tuesday, September 06, 2011 5:22 PM >> To: Contiki developer mailing list >> Subject: Re: [Contiki-developers] [BULK] about CC2530 port >> >> On Tue, Sep 6, 2011 at 6:04 PM, Bryce Lembke<br...@vp...> > wrote: >>> Yes. I agree the CC2531 as a SystemOnChip with integrated USB > controller has been very attractive, especially for the cost. >>> I have a driver for USB on the CC2531 in my local Contiki branch. >> Which C compiler are you using? >> Does it work with sdcc? Have you compared sdcc and IAR? >> >> >>> I will add it to the github branch as soon as I have cleaned it up > for delivery (unless someone needs it sooner). >>> I also have the missing rtimer and watchdog drivers almost ready to > check in as well. >>> Bryce >>> >>> >>> -----Original Message----- >>> From: jon...@gm... [mailto:jon...@gm...] >>> Sent: Tuesday, September 06, 2011 3:50 PM >>> To: Contiki developer mailing list >>> Subject: Re: [Contiki-developers] [BULK] about CC2530 port >>> >>> On Tue, Sep 6, 2011 at 4:33 PM, Bryce Lembke<br...@vp...> > wrote: >>>> I have created a git branch for Bojan's port to the Texas > Instruments >>>> CC2530. >>> Are you going to do a driver for the cc2531? That is the cheapest USB >>> stick device I know of. >>> >>> >>>> https://github.com/brycel/ContikiCC2530Port >>>> >>>> There are some missing hardware drivers (e.g. rtimer, watchdog) that > are >>>> needed for some Contiki >>>> configurations (using ContikiMAC for example), but it should be a > good >>>> starting point for anyone interested in using this radio. >>>> >>>> Bryce >>>> >>>> -----Original Message----- >>>> From: Bryce Lembke [mailto:br...@vp...] >>>> Sent: Thursday, July 28, 2011 10:19 AM >>>> To: Contiki developer mailing list >>>> Subject: Re: [Contiki-developers] [BULK] about CC2530 port >>>> >>>> I agree. >>>> >>>> I'll see if I can check Bojan's project in as a git branch. There > are >>>> some pieces of the port that are not quite finished (rtimer, > watchdog, >>>> and some other small items). When it is ready, then perhaps it can > be >>>> added into the main project. >>>> >>>> Bryce >>>> >>>> -----Original Message----- >>>> From: jon...@gm... [mailto:jon...@gm...] >>>> Sent: Monday, July 18, 2011 10:38 AM >>>> To: Contiki developer mailing list >>>> Subject: Re: [Contiki-developers] [BULK] about CC2530 port >>>> >>>> 2011/7/18 Bryce Lembke<br...@vp...>: >>>>> Today, I just used the second hyperlink using Google Chrome and I > was >>>> able >>>>> to download it just fine (you have to wait 45 seconds because >>>> Megaupload >>>>> wants to give you a chance to get their Premium membership before >>>> letting >>>>> you do the basic download). >>>> Can't this be checked in as a git branch? If it is not ready for >>>> prime-time being on a branch doesn't hurt anything. Plus it makes it >>>> easy to keep the port up to date via merging. >>>> >>>> >>>> -- >>>> Jon Smirl >>>> jon...@gm... >>>> >>>> > ------------------------------------------------------------------------ >>>> ------ >>>> AppSumo Presents a FREE Video for the SourceForge Community by Eric >>>> Ries, the creator of the Lean Startup Methodology on "Lean Startup >>>> Secrets Revealed." This video shows you how to validate your ideas, >>>> optimize your ideas and identify your business strategy. >>>> http://p.sf.net/sfu/appsumosfdev2dev >>>> _______________________________________________ >>>> Contiki-developers mailing list >>>> Con...@li... >>>> https://lists.sourceforge.net/lists/listinfo/contiki-developers >>>> >>>> > ------------------------------------------------------------------------ >>>> ------ >>>> Got Input? Slashdot Needs You. >>>> Take our quick survey online. Come on, we don't ask for help often. >>>> Plus, you'll get a chance to win $100 to spend on ThinkGeek. >>>> http://p.sf.net/sfu/slashdot-survey >>>> _______________________________________________ >>>> Contiki-developers mailing list >>>> Con...@li... >>>> https://lists.sourceforge.net/lists/listinfo/contiki-developers >>>> >>>> > ------------------------------------------------------------------------ > ------ >>>> Malware Security Report: Protecting Your Business, Customers, and > the >>>> Bottom Line. Protect your business and customers by understanding > the >>>> threat from malware and how it can impact your online business. >>>> http://www.accelacomm.com/jaw/sfnl/114/51427462/ >>>> _______________________________________________ >>>> Contiki-developers mailing list >>>> Con...@li... >>>> https://lists.sourceforge.net/lists/listinfo/contiki-developers >>>> >>> >>> -- >>> Jon Smirl >>> jon...@gm... >>> >>> > ------------------------------------------------------------------------ > ------ >>> Malware Security Report: Protecting Your Business, Customers, and the >>> Bottom Line. Protect your business and customers by understanding the >>> threat from malware and how it can impact your online business. >>> http://www.accelacomm.com/jaw/sfnl/114/51427462/ >>> _______________________________________________ >>> Contiki-developers mailing list >>> Con...@li... >>> https://lists.sourceforge.net/lists/listinfo/contiki-developers >>> >>> > ------------------------------------------------------------------------ > ------ >>> Malware Security Report: Protecting Your Business, Customers, and the >>> Bottom Line. Protect your business and customers by understanding the >>> threat from malware and how it can impact your online business. >>> http://www.accelacomm.com/jaw/sfnl/114/51427462/ >>> _______________________________________________ >>> Contiki-developers mailing list >>> Con...@li... >>> https://lists.sourceforge.net/lists/listinfo/contiki-developers >>> >> |