Hey,

Currently I am trying to disable the AUTOCRC on CC2420, or say disable the
hardware frame check sequence (FCS) generation, so I have performed the
following modification:

Change line 502 of cc2420/control/CC2420ControlP.nc:

( 1 << CC2420_MDMCTRL0_AUTOCRC ) |

to

( 0 << CC2420_MDMCTRL0_AUTOCRC ) |

According to datasheet of the CC2420, this will disable the CC2420 to
calcualte the FCS by hardware. Although it also mentioned "CRC generation
and verification must be performed by software.", before I could perform
any further test, the node will completely stop transmitting packets, but
its receiving function works fine and can still receive packets from other
nodes (installed with unmodified tinyos program). I have used
a separate sniffer to verified the node is not transmitting any packet.
Also, it seems the blink program works fine with modified codes, the leds
are blinking periodicity.

Just for reference, the function call AMSend.send() at application layer
returns SUCCESS.

Any help would be greatly appreciated.

Best,
Dong
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to