Actually it was more simple than expected, after having implemented the Counter and Compare component based on RTC everything built-up quite quickly up to the TimerMilli. Now Blink is compiling and working correctly.
Ugo 2014-08-17 11:23 GMT+02:00 Ugo Maria Colesanti <[email protected]>: > Hi all, > it is just to inform that I started the port of the Atmel SamR21Xplained > board. The board has the SamR21 which is a bundle of the SamD21 (cortex > m0+) and AT86RF233 transceiver. I'm using the Linaro gcc 4.8.3 patched > following instructions for the Opal (Sam3u) port ( > https://github.com/csiro-wsn/tinyos-csiro-opal). > I started from scratch, hence, there is not that much. I implemented the > GeneralIO and Leds interface, and wrote two components for managing the > Generic Clock Controller, which selects clock sources and distribute them > in the chip. I briefly tested, using direct register access, the RTC (set > to 32bit mode), Timer/Counter (both, 16 bit and 32 bit), EIC (External > Interrupt Controller) and they seem to work. Now I want to start writing > components implementing Counter,Alarm and Timer interfaces, but I got lost > looking at implementations for MSP430 and RFA1 thus, I think it will take a > little bit for doing that in a clean way. In addition I have one more week > of holidays, then the port will become low-priority again. > > If anybody is interested in helping me (or even giving me some hints), I > can share the code on git. In particular, I know almost nothing on linker > scripts and startup codes, I copied them from the Atmel Studio ASF > framework and it worked, but for me it's magic :) > I don't have a linux programming tool, I compile the code and load the > ihex from atmel studio on windows using the EDBG chip onboard. > Bye, > > Ugo > > > > 2014-04-20 20:44 GMT+02:00 Ugo Colesanti <[email protected]>: > > On 04/20/2014 06:09 PM, Martin Cerveny wrote: >> >>> Hello. >>> >>> Is there some progress or stable/final/tested code for Atmel newer RF >>> chips on ZigBit (ATZB) modules ? >>> Did someone check/test compatibility with previous chip generations ? >>> Is there some TinyOS implementation with XMega CPU (ATxmegaxxx) ? >>> And what about ARM Cortex-M0+ CPU (ATSAMR21xxx, >>> https://code.google.com/p/tinyos-cortex/) ? >>> >> We just bought an R21XplainedPro board, we are playing bit with it but >> with atmel studio only. There is almost no documentation (atmel sent us a >> very preliminary datasheet). We scheduled to work on a tinyos porting, but >> with very-low priority. The problem is that we are not familiar with cortex >> and with arm-gcc in general... if anyone wants to join... >> >> >> >>> RF: >>> - AT86RF233 - compatible with RF230 ? >>> - Atmel module - http://www.atmel.com/tools/ATZB-RF-233-1-C.aspx >>> Some references: >>> - http://wiesel.ece.utah.edu/projects/10/ >>> - git://wiesel.ece.utah.edu/tinyos/tinyos-prod.git (branch wiesel) >>> >>> - AT86RF212B - compatible with RF212 ? >>> - Atmel module - http://www.atmel.com/tools/ATZB-RF-212B-0-U.aspx >>> - Atmel module - http://www.atmel.com/tools/ATZB-RF-212B-0-CN.aspx >>> >>> CPU&RF: >>> - ATmega256RFR2 - compatible with 128RFA1 ? >>> - Atmel module - http://www.atmel.com/tools/ATZB-S1-256-3-0-U.aspx >>> - Atmel module - http://www.atmel.com/tools/ATZB-S1-256-3-0-C.aspx >>> >> We are very familiar with RFA1 (we have a custom board based on this >> chip) and we have a couple of RFR2 bought from dresden elektronik, we >> didn't had time to focus on RFR2 yet, but it is planned very soon. We can >> let you know on any updates about this topic (it seems there are few >> changes in transceiver and ADC modules, for the rest they seem the same). >> >> >> >>> CPU+RF: >>> - ATxmega256A3U + AT86RF233 >>> - Atmel module - http://www.atmel.com/tools/ATZB-X0-256-3-0-C.aspx >>> >>> - ATxmega256A3U + AT86RF212B >>> - Atmel module - http://www.atmel.com/tools/ATZB-X0-256-4-0-U.aspx >>> - Atmel module - http://www.atmel.com/tools/ATZB-X0-256-4-0-CN.aspx >>> >>> Thanks for answers, Martin Cerveny >>> _______________________________________________ >>> Tinyos-help mailing list >>> [email protected] >>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >>> >> >> >> -- >> Ugo Maria Colesanti >> Dipartimento di Ingegneria Informatica, Automatica e Gestionale "Antonio >> Ruberti" >> Sapienza Universita' di Roma >> Via Ariosto 25, II floor, room A221 >> 00185, Rome >> http://wiserver.dis.uniroma1.it/cms/index.php/contacts/13- >> postdoc/4-ugo-colesanti >> Phone: +39 06 77274056 >> Fax: +39 06 77274002 >> >> >
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
