Closed GoogleCodeExporter closed 9 years ago
I plugged the JTAG and compiled RadioCountToLeds app with -O0 . It seems that
the problem appears in CC2420XDriverLayerP.nc during SoftwareInit.init:
At the end of the function there is a call SpiResource.request() that, when
granted calls the initRadio function. This function calls on its turn
resetRadio() which writes on IOCFG0 register of CC2420.
The writeRegister function fails on "status.value = call
FastSpiByte.splitRead()" in the sense that it loops forever in
Msp430SpiNoDMAP.nc in a while(! call Usart.isRxPending()) .
I commented the content of the resetRadio() function in CC2420XDriverLayerP and
at least the mote boots (but of course the radio does not work).
Am I the only one having this issue? Am I missing something when using the
cc2420x stack?
Original comment by ucolesa...@gmail.com
on 16 Feb 2012 at 4:29
I have a custom application based on cc2420x which exhibits the same problem.
Compiling with -O2 instead of -Os solved the problem for me though.
Original comment by marku...@gmail.com
on 27 Feb 2012 at 3:26
Thanks a lot! it worked for me too.
Original comment by ucolesa...@gmail.com
on 27 Feb 2012 at 3:40
fixed in r5914
Original comment by sallai.j...@gmail.com
on 27 Feb 2012 at 7:08
Original comment by marku...@gmail.com
on 28 Feb 2012 at 8:34
Original issue reported on code.google.com by
ucolesa...@gmail.com
on 9 Feb 2012 at 12:09