Post a new topicPost a reply Page 2 of 2   [ 16 posts ]
Go to page Previous  1, 2
Author Message
 Post subject: Re: OTA various problems
PostPosted: Wed May 09, 2012 5:07 pm 

Joined: Sun Oct 09, 2011 1:02 am
Posts: 18
Hi again,

I did manage to purchase from libelium SD cards as you suggested. Currently I am using the latest software for OTAP available from your site. I do manage to download firmware independently in each of my Waspmote ZigBeePro but not in broadcast manner only unicast. When trying to use broadcast the errors are too many and the download procedure takes forever.
Currently I am trying to download in 2 Waspmotes at the same time.

Any suggestions?


Top
 Profile  
 
 Post subject: Re: OTA various problems
PostPosted: Tue May 15, 2012 9:32 am 

Joined: Mon Sep 28, 2009 1:06 pm
Posts: 7818
Dear ee9vk,

Could you let us know the size of the cards, and the OS where you got it?

The simple facts that the SD cards you purchased are the same manufacturer than ours and the same model than ours are necessary but not sufficient to ensure the correct working of the SD cards.

we advise to use the SDs we sell officially, but not because they are ours, but because we test all of them and only sell the working ones.

Best regards


Top
 Profile  
 
 Post subject: Re: OTA various problems
PostPosted: Tue May 15, 2012 3:29 pm 

Joined: Sun Oct 09, 2011 1:02 am
Posts: 18
Dear Dev,

I am afraid you missed my previous post; I made it clear that the SD cards where bought from you. The SD cards where bought directly from Libelium, this you can verify through your sales department. This ensures the quality and size, as mentioned in previous posts, should not be a factor anymore.

The SD card where formatted using GPARTED Boot disk as FAT16.
Size in top right application window (where you select device) shows as 1.87GiB
In disk properties shows as 1.86GiB

In windows 7:
Capacity is 2.001.403.904bytes
1.86GB

The radio we are using is ZigBeePRO (Model:XBEEPRO2)

The code in WaspMotes to test OTAP is:

Code:
#define key_access "LIBELIUM"
#define id_mote "WaspMOTE12345678"
long previous = 0;

void setup()
{
  SD.ON();
  USB.begin();
  USB.println("Waspmote OTA Setup\n");
 
// Write Authentication Key in EEPROM memory
  for(int i=0;i<8;i++)
  {
    Utils.writeEEPROM(107+i,key_access[i]);
  }
 
// Write Mote ID in EEPROM memory
  for(int i=0;i<16;i++)
  {
    Utils.writeEEPROM(147+i,id_mote[i]);
  }

  // Initialize Xbee module
  xbeeZB.init(ZIGBEE,FREQ2_4G,PRO);
  xbeeZB.ON();
   
  // CheckNewProgram is mandatory in every OTA program
  xbeeZB.checkNewProgram(); 
}

void loop()
{
 
  previous=millis();
  while( (millis()-previous) < 60000 )
   {
      while( XBee.available() )
      {
        xbeeZB.treatData();
      }
    }
   
}


Using UNICAST mode firmware is uploaded in each WaspMote (we are using 2).
When using BROADCAST or MULTICAST there are too many errors and the process is very slow.

Thank you.


Top
 Profile  
 
 Post subject: Re: OTA various problems
PostPosted: Wed May 23, 2012 5:23 pm 

Joined: Sun Oct 09, 2011 1:02 am
Posts: 18
Any news on this?


Top
 Profile  
 
 Post subject: Re: OTA various problems
PostPosted: Thu May 24, 2012 1:18 pm 

Joined: Mon Sep 28, 2009 1:06 pm
Posts: 7818
ee9vk,

We apologize about our delay answering. We will be back to you as soon as possible.

Thanks for your patience and consideration.

Regards


Top
 Profile  
 
 Post subject: Re: OTA various problems
PostPosted: Fri May 25, 2012 9:41 am 

Joined: Mon Sep 28, 2009 1:06 pm
Posts: 7818
ee9vk,

Using broadcast mode requires transmitting a lot of RF packets, and it means time and packet collision may occur.

We are working on it and developing some upgrades for OTA processes. in the meantime, we recommend you to use Unicast modes.

Sorry for this inconvenience.

Best Regards.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 2 of 2   [ 16 posts ]
Go to page Previous  1, 2


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Libelium theme based on 610nm Style by Daniel St. Jules of http://www.gamexe.net


© Libelium Comunicaciones Distribuidas S.L. | Terms of use