Forum lockedPost a reply Page 1 of 1   [ 1 post ]
Author Message
 Post subject: problems with API v22 ?
PostPosted: Fri Jan 20, 2012 12:51 pm 

Joined: Mon Sep 28, 2009 1:06 pm
Posts: 7516
************************************************************
************************************************************
**
** 23th-March-2012:
** We have just released the API v23, which must be used with the IDE v0.2. It is basically the same
** than the v22, but with new libraries for our new modules and some improvements.
**
** Get this stuff from here: http://www.libelium.com/development/waspmote
**
** The changelog can be read here:
** http://www.libelium.com/downloads/Waspmote_changelog.txt
**
************************************************************
************************************************************


//////////
8th-February-2012:
All the API v22 problems explained in this post have been corrected now with the new IDE v0.2.

For all users (Windows / Linux / Mac), we advise to download the new IDE v0.2 to work with API v22,
because the max size for the sketch has changed.
Get the new IDE here: http://www.libelium.com/development/waspmote

For Windows/Mac users, this API includes certain AVR-GCC libraries which solve the problems below.

The Linux users still need to update the AVR-GCC "by hand", since it depends on each distribution.
Linux users (specially on Ubuntu) may receive a wrong error about write check in the IDE after uploading code to Waspmote.
Just ignore this error, since even if the upload went well, this error is shown on Linux.

The changelog can be read here:
http://www.libelium.com/downloads/Waspmote_changelog.txt
////////////




Hello,

Some users have experienced problems with the API v22 for Windows or Mac, regarding EEPROM read/write:

Code:
C:\Users\User\AppData\Local\Temp\build4764578894293203263.tmp\core.a(WaspUtils.cpp.o): In function `WaspUtils::writeEEPROM(int, unsigned char)':

C:\Users\User\Desktop\waspmote-ide-v.01-windows\hardware\cores\waspmote-api-v.022/WaspUtils.cpp:387: undefined reference to `__eewr_byte_m1281'

C:\Users\User\AppData\Local\Temp\build4764578894293203263.tmp\core.a(WaspUtils.cpp.o): In function `WaspUtils::readEEPROM(int)':

C:\Users\User\Desktop\waspmote-ide-v.01-windows\hardware\cores\waspmote-api-v.022/WaspUtils.cpp:375: undefined reference to `__eerd_byte_m1281'


And also:

Code:
C:\Documents and Settings\***********\Desktop\waspmote-ide-v.01-windows\waspmote-ide-v.01-windows\hardware\cores\waspmote-api-v.022\WaspSensorParking.cpp:123: error: 'eeprom_read_float' was not declared in this scope


EDITED 23th-1-2012:
This is owed to a missing function of the AVR-GCC compiler in the Windows or Mac IDE version. Now we have updated the files related to the new AVR-GCC compiler inside the IDE for Windows and Mac. We use version 4.3.5.

Solution:

1 - For Windows or Mac users, please download the latest IDE+API and reinstall. It is available here:
http://www.libelium.com/development/waspmote

2 - For Linux users, please reinstall the latest API (just in case) and also reinstall the AVR-GCC compiler, version 4.3.5. Note the our latest IDE for Linux cannot contain the AVR-GCC, since for each distribution there is a different way of installation. The Linux Community has created guides on how to proceed with the AVR-GCC.

EDITED 27-1-11

For the moment the API v22 + new IDE ("v0.2" because it comes with the with updated AVR-GCC compiler inside) are not stable for Windows and Mac, so that we have uploaded the API v21 and the IDE "v0.1" to the default download adress:
http://www.libelium.com/development/waspmote

API v22 is stable for Linux if the user updates the appropriate AVR-GCC in his PC. On Linux, the IDE has not changed because it is not possible to update AVR-GC in an automatic way.

Best regards


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum lockedPost a reply Page 1 of 1   [ 1 post ]


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