Forum
Could not compile stylesheet for timeless. Using last compiled stylesheet.
Offline
Monday, January 26 2015, 08:27 PM
Hello,

I am trying to run the attached communication test program on the eMote 1.0.11_R12, with one .NOW mote set up as sender (MODE_SEND) and the other one as receiver (MODE_RECEIVE). This program is based on the Radio Signal Meter app note. Described simply, the sender sends rounds of 1000 packets each with inter-packet intervals of 100 ms (the variable SendDelay). At the end of each round, the sender is made to sleep for 10 s while the receiver enters the round statistics into the NOR datastore (this involves a timer at the receiver's end, which has not been implemented in the version attached in order to keep the code simple. So, the receiver receives continuously).

I have the following issues with running the program on the eMote 1.0.11_R12:

Urgent issue: The receiver program seems to crash within the first 10 sender rounds. The receiver simply gets stuck at a certain packet after 3, 5 or 7 rounds (the exact round number in an experiment is nondeterministic, though it never seems to go past 7 rounds.)



Once the program is deployed and run in the receiver mode and incoming packets are processed, subsequent application deployments cannot be made. The errors reported are typically: "Unable to communicate with device Serial:COMxy" or "An error has occurred: please check your hardware."



Radio receive errors, though quite rare, do seem to occur. Most of them are of type "Error downloading message", though once I have also seen "Message is too big".


Thanks and Regards,
Dhrubo.

Accepted Answer

Samraksh
Wednesday, February 04 2015, 03:26 PM - #Permalink
We are in the final stages of testing our next release. The problem you are seeing should be fixed in that release.
The reply is currently minimized Show
Responses (3)
  • Accepted Answer

    Friday, January 30 2015, 02:27 PM - #Permalink
    Hello Nathan,

    This is the message from MFDeploy at the start of the program. I'm also attaching ER_FLASH.

    .NetMF v4.3_1.0.11
    EmoteDotNow, Build Date:
    Dec 9 2014 15:17:56
    ?.NetMF v4.3_1.0.11
    EmoteDotNow, Build Date:
    Jan 23 2015 19:46:01
    GNU Compiler version 4.7.3
    Optimization: no-speed-optimization, no-size-optimization
    TinyCLR (Build 4.3.0.0)
    Software ID: 5e1f94dc8b2b31c4cf34b1511d205c267981731a-modified by: Ananth
    Starting...
    Created EE.
    Started Hardware.
    Found debugger!
    Create TS.
    Loading start at 80a6530, end 80b82d4
    Assembly: mscorlib (4.3.0.0) Assembly: Microsoft.SPOT.Native (4.3.0.0) Assembly: Microsoft.SPOT.Hardware (4.3.0.0) Assembly: Microsoft.SPOT.Hardware.PWM (4.3.0.0) Assembly: Microsoft.SPOT.Hardware.SerialPort (4.3.0.0) Assembly: Microsoft.SPOT.Hardware.Usb (4.3.0.0) Assembly: Microsoft.SPOT.Hardware.OneWire (4.3.0.0) Loading Deployment Assemblies.
    Attaching deployed file.
    Assembly: Microsoft.SPOT.Graphics (4.3.0.0) Attaching deployed file.
    Assembly: Utility (1.0.0.0) Attaching deployed file.
    Assembly: SignalMeter (1.2.5508.25857) Attaching deployed file.
    Assembly: Samraksh_eMote_Net (1.0.0.0) Attaching deployed file.
    Assembly: Samraksh_eMote_DotNow (1.0.0.1) Resolving.
    Ready.


    Thanks,
    Dhrubo.
    Attachments:
    The reply is currently minimized Show
  • Accepted Answer

    Samraksh
    Friday, January 30 2015, 01:33 PM - #Permalink
    I'm a little confused as to which CLR version you are using. I know you said "eMote 1.0.11_R12" but I need more information. Can you paste the startup text that MFDeploy spits out?
    The reply is currently minimized Show
  • Accepted Answer

    Monday, January 26 2015, 08:37 PM - #Permalink
    Due to limitations in the attachment size, I am only attaching the Program.cs file. Please download the Radio Signal Meter app note and use this Program.cs instead. Please use #define MODE_SEND on the sender side and #define MODE_RECEIVE on the receiver side.
    Attachments:
    The reply is currently minimized Show
Your Reply