RFduino Forum

General => RFduino Announcements => Topic started by: mkay on April 15, 2015, 10:07:14 AM

Title: RFduino v2.3 Released for Arduino IDE 1.6.3
Post by: mkay on April 15, 2015, 10:07:14 AM
RFduino v2.3 Released

http://www.rfduino.com/download-rfduino-library/
https://github.com/RFduino/RFduino

Please note you must upgrade to Arduino 1.6.3 to use RFduino v2.3, installation instructions have changed, please view the readme for instructions (https://github.com/RFduino/RFduino/blob/master/README.md (https://github.com/RFduino/RFduino/blob/master/README.md))

v 2.3
- Fixes required to support Arduino 1.6.3 (NOTE: Arduino 1.6.3 or higher is now required for RFduino 2.3 or above).
- Include explicit information about Java 6 (thanks gortok)
- Fixed analogRead freeze problem + fixing indentation (thanks OrenLederman)
- Removing deprecated field in iOS framework and sample projects (thanks SensiBots)
- Make these virtual (thanks tripzero)
- Remove dependence on UIKit; fix use of deprecated UUID attribute (thanks aeberbach)

Title: Re: RFduino v2.3 Released for Arduino IDE 1.6.3+
Post by: tolson on April 15, 2015, 04:43:52 PM
OK for Linux users that have already been using RFduino with the help of WINE for the RFDLoader the location has changed for 1.6.3+.

Drop your RFDLoader bash script into this folder...
~/.arduino15/packages/RFduino/tools/RFDLoader/1.2/

RFDLoader
Code: [Select]
#!/bin/bash
/usr/bin/wine ~/.arduino15/packages/RFduino/hardware/RFduino/2.3.0/RFDLoader.exe $1 com1 $3

Make it's permissions 755.

For first time RFduino users on Linux...
You need to install WINE.
Your user must be a member of group dialout.
You need to have a symlink for your WINE com1: port to linux USB linux device for the RFduino.
~/.wine/dosdevices/com1 -> dev/ttyUSB0
Title: Re: RFduino v2.3 Released for Arduino IDE 1.6.3+
Post by: sgetz on April 16, 2015, 11:43:54 AM
Installed Arduino V1.6.3

Can not get it to allow me to select the board.

Shows libraries and example programs.

Compiler can not find the .h files either.

Title: Re: RFduino v2.3 Released for Arduino IDE 1.6.3+
Post by: tolson on April 16, 2015, 07:42:53 PM
Installed Arduino V1.6.3

Can not get it to allow me to select the board.

Shows libraries and example programs.

Compiler can not find the .h files either.

Can you describe your OS, etc.
Title: Re: RFduino v2.3 Released for Arduino IDE 1.6.3+
Post by: rus on April 17, 2015, 10:29:18 AM
Hello
Is it any way to manually install rfduino 2.3 for arduino 1.6.3?
Where to get binaries?
Following the way described in https://github.com/RFduino/RFduino/blob/master/README.md will not works if you behind real proxy.

Thank you
Title: Re: RFduino v2.3 Released for Arduino IDE 1.6.3+
Post by: tolson on April 17, 2015, 11:18:45 AM
Is it any way to manually install rfduino 2.3 for arduino 1.6.3?

I don't think so. Arduino has moved to this new approach believing it is way more simpler on newbies, I guess. But, for now, it looks like the only way to add boards and librairies to the new way Arduino does things is via their IDE itself. Which means users have to wait for all their favorite board makers to come up the support for the new way.  At least the RFduino team seems to be on top of it.

Not sure what you mean by a real proxy. I think you're saying that your proxy server will not let you connect to rduino.com:8080?
Title: Re: RFduino v2.3 Released for Arduino IDE 1.6.3+
Post by: rus on April 17, 2015, 12:33:36 PM
I'm behind proxy and this is only way to be connected to internet, so if put my real proxy into "proxy" field "proxy:8080", I will have access to generic arduino board databases, but if i will put rfduino.com, I will have no connection to internet at all.This mean I will not able to setup new  rfduino at any way unless manual.
Title: Re: RFduino v2.3 Released for Arduino IDE 1.6.3+
Post by: TomWS on April 23, 2015, 12:23:46 PM
Where are the back level libraries?  I'm running IDE 1.6.0 and I do not want to upgrade to IDE 1.6.3 (and run hundreds of regression tests on my other products).  The ONLY link I found is to the most current library.

Tom
Title: Re: RFduino v2.3 Released for Arduino IDE 1.6.3+
Post by: tolson on April 23, 2015, 04:49:38 PM
Where are the back level libraries?  I'm running IDE 1.6.0 and I do not want to upgrade to IDE 1.6.3 (and run hundreds of regression tests on my other products).  The ONLY link I found is to the most current library.

Tom

https://github.com/RFduino/RFduino/releases
Title: Re: RFduino v2.3 Released for Arduino IDE 1.6.3+
Post by: TomWS on April 23, 2015, 05:40:52 PM
Mucho Gracias!
 :D
T
Title: Re: RFduino v2.3 Released for Arduino IDE 1.6.3+
Post by: kasperkamperman on May 07, 2015, 01:35:20 AM
Maybe you can add the RFDuino to this page for Arduino 1.6.4?

https://github.com/arduino/Arduino/wiki/Unofficial-list-of-3rd-party-boards-support-urls
Title: Re: RFduino v2.3 Released for Arduino IDE 1.6.3+
Post by: iwalker on May 07, 2015, 04:55:44 AM
Instructions do not seem to work for 1.6.4.

I get the following error when I open board manager.
http://downloads.arduino.cc/packages/package_index.json file signature verification failed. File ignored.
Can anybody confirm they are seeing the same issue ?
Title: Re: RFduino v2.3 Released for Arduino IDE 1.6.3+
Post by: brycej on May 11, 2015, 06:34:16 PM
Instructions do not seem to work for 1.6.4.

I get the following error when I open board manager.
http://downloads.arduino.cc/packages/package_index.json file signature verification failed. File ignored.
Can anybody confirm they are seeing the same issue ?

Confirming I receive the same error.

I successfully added the RFDuino board with no issues using Arduino IDE 1.6.3 on Mac Yosemite per Github 1.6.3+ instructions.

Today I upgraded to Arduino 1.6.4 IDE and was unsuccessful getting RFDuino added to IDE 1.6.4 receiving the same file signature error.
Title: Re: RFduino v2.3 Released for Arduino IDE 1.6.3+
Post by: tolson on May 11, 2015, 07:24:34 PM
Yep, me too. The Arduino people are at it again. Not only does installing 1.6.4 not work, it also screws up any 1.6.3 installation you already had working with RFduino 2.3.x installed. Ugh! So going back to it is a bit of a hassle. For me going back to 1.6.3 and then going into the board manager I see it thinks the RFduino is already INSTALLED. Hmm! Then exiting out of the board manager suddenly 1.6.3 is back to working. These versions of Arduino IDE should definitely be in  beta mode IMHO.

So until the RFduino Team mentions 1.6.4 stick with the Arduino 1.6.3 IDE.
Title: Re: RFduino v2.3 Released for Arduino IDE 1.6.3+
Post by: TomWS on May 12, 2015, 04:56:19 AM
<snip>
So until the RFduino Team mentions 1.6.4 stick with the Arduino 1.6.3 IDE.
And take the '+' out of the announcement title...

Tom
Title: Re: RFduino v2.3 Released for Arduino IDE 1.6.3
Post by: tolson on May 12, 2015, 02:30:53 PM
Good Idea TomWS!!

Title: Re: RFduino v2.3 Released for Arduino IDE 1.6.3
Post by: F800 on May 13, 2015, 09:56:12 AM
I only saw this thread after I tried (unsuccessfully) to install 1.6.4.  (OS is Win7/64-bit)
I have uninstalled 1.6.4 and deleted the .../AppData/Roaming/Arduino15 folder.
Then, I re-installed 1.6.3 and it all seems to go well until I try to add the RFduino.
When I try to get the RFduino library installed via Tools/Boards Manager, I get the attached message indicating that the ContributedPackage has encounted an unexpected end-of-input.
After this, I can no longer launch Arduino.  I get the splash screen, and then nothing until/unless I delete the .../AppData/Roaming/Arduino15 folder again.
Deleting the Arduino15 folder, and removing the rfduino.com server in the Preferences Proxy Settings results in the Boards Manager successfully finding and downloading a couple of Intel boards, but it all goes south as soon as I enter the rfduino.com proxy server.

Any suggestions would be appreciated.  Thanks in advance.


Title: Re: RFduino v2.3 Released for Arduino IDE 1.6.3
Post by: F800 on May 14, 2015, 07:22:51 AM
After removing AVG Antivirus and disabling the Firewalls without success, I removed all Arduino tools and restarted in Safe Mode.  Arduino 1.6.3 loaded and successfully installed the RFduino Boards support.  I'm back up and running with version 1.6.3.
Title: Re: RFduino v2.3 Released for Arduino IDE 1.6.3
Post by: SuperJonotron on May 30, 2015, 03:12:53 PM
Since this release (that's not beta) doesn't have SD card support anymore for the new IDE, when can we expect that to be fixed?
Title: Re: RFduino v2.3 Released for Arduino IDE 1.6.3
Post by: tolson on June 20, 2015, 07:01:54 PM
Since this release (that's not beta) doesn't have SD card support anymore for the new IDE, when can we expect that to be fixed?

 The Arduino SD CardInfo type apps haven't worked since 1.5.8, I think. The problem was that Arduino added SPI.beginTransaction and SPI.endTransaction to their examples. Those are not in the default SPI library on the RFduino. They aren't even needed for the RFduino, but since the Arduino examples use them you get errors. I have some diff files that add those functions and a couple other support definitions to the RFduino SPI library that work with 1.5.8+... and work with the 1.6.3... At least as far as getting the Arduino SD CardInfo example to work.

The diffs looks like this...

SPI.h.diff
Code: [Select]
1a2,11
> Sorryful incomplete hacks to get Arduino 1.5.8 SPI to work with RFduino 2.2 SPI
> teo20141116.01
>
>  Same Sorryful hacks to get RFduino SPI to work with Arduino 1.6.3+ SPI.
>  Effectively adding place holders for SPI functions that Arduino SD card expects.
>  Perhaps others as well.
>  teo20150630.01
> */
>
> /*
47a58,79
> #define SPI_HAS_TRANSACTION 0
> #define SPI_HAS_EXTENDED_CS_PIN_HANDLING 0
>
> // hack to add place holders for new or changed features for 1.5.8+ SPI
> class SPISettings {
> public:
>         SPISettings(uint32_t clock, BitOrder bitOrder, uint8_t dataMode) {
>         }
>         SPISettings() { init_AlwaysInline(4000000, MSBFIRST, SPI_MODE0); }
>
> private:
>         void init_AlwaysInline(uint32_t clock, BitOrder bitOrder, uint8_t dataMode) __attribute__((__always_inline__)) {
> // Not used on RFduino, yet!!!!
>         }
> };
>
>
>
>
>
>
>
68a101,106
>
>     // hack to add place holders for new or changed features for 1.5.8  SPI
>     void beginTransaction(SPISettings settings) { beginTransaction(PIN_SPI_SS, settings); }
>     void beginTransaction(uint8_t pin, SPISettings settings);
>     void endTransaction(void);


SPI.cpp.diff
Code: [Select]
1a2,12
> Sorryful incomplete hacks to get Arduino 1.5.8 SPI to work with RFduino 2.2 SPI
> teo20141116.01
>
>  Same Sorryful hacks to get RFduino SPI to work with Arduino 1.6.3+ SPI.
>  Effectively adding place holders for SPI functions that Arduino SD card expects.
>  Perhaps others as well.
>  teo20150630.01
> */
>
>
> /*
144a156,169
>
> // Hacks place holders for 1.5.8 new SPI functions not used by RFduino, yet
> void SPIClass::beginTransaction(uint8_t pin, SPISettings settings)
> {
> // do nothing since I don't know exactly what they are up to, yet.
> // Seems to have something to do with interrupt mode features.
> }
>
> void SPIClass::endTransaction(void){
> // do nothing since I don't know exactly what they are up to, yet.
> // Seems to have something to do with interrupt mode features.
> }
>
>
Title: Re: RFduino v2.3 Released for Arduino IDE 1.6.3
Post by: kasperkamperman on June 27, 2015, 09:34:48 AM
I'm pretty confused. In the readme.md on Github https://github.com/RFduino/RFduino (https://github.com/RFduino/RFduino) I read that the current version works with 1.6.4 or newer. However in this forum post mentions problems with 1.6.4.

[problem solved] It works with 1.6.5 as well.



Title: Re: RFduino v2.3 Released for Arduino IDE 1.6.3
Post by: kursatu on June 28, 2015, 02:55:31 PM
Hi
Can't load the board via boardmanager,
so I can't use the IDE and program RFDuino.
My other installation on my old machine works,
but I wanted to install on my new win10 machine.
The error message reads the following
Error downloading
http://arduino.cc/download.php?f=/gcc-arm-none-eabi-4.8.3-2014q1-windows.tar.gz
Attached is the screen snippet of the error.
I've tried few times during 1-2 days or so, the problem persisted.
So either arduino is missing this file, or there is some other problem.
Many people will be effected by it,
so a manual installation of the rfduino library and board definitions would be good.
I will try to copy them from my old installation.
Title: Re: RFduino v2.3 Released for Arduino IDE 1.6.3
Post by: ichbinsnur on June 29, 2015, 03:14:24 AM
Hi
Can't load the board via boardmanager,
...
Error downloading
http://arduino.cc/download.php?f=/gcc-arm-none-eabi-4.8.3-2014q1-windows.tar.gz

I had the same error with my Arduino 1.6.5-r2 installation.
Seems the Arduino download manager mnisinterprets the request..
As a workaround you can manually download the file and put it in the staging folder.
Then the download will complete succesfully.

I made the above mentioned additions to the SPI Library as well and now have it fully running with Arduino 1.6.5-r2.

Thanks again to TOLSON, for pointing me in the right direction.

cheers,

Christian
Title: Re: RFduino v2.3 Released for Arduino IDE 1.6.3
Post by: kursatu on June 29, 2015, 10:01:22 PM
ichbinsnur, I've followed the following workaround for board manager download problem.
http://forum.rfduino.com/index.php?topic=1142.msg4137#msg4137
It worked.
Title: Re: RFduino v2.3 Released for Arduino IDE 1.6.3
Post by: ichbinsnur on June 30, 2015, 12:48:26 AM
Thanks kursatu, but i alredy got it working.
But it's a helpful tip if i have to reinstall.

cheers,

Christian
Title: Re: RFduino v2.3 Released for Arduino IDE 1.6.3
Post by: mjkuwp94 on July 08, 2015, 10:40:47 AM
I have to do a fresh installation of Arduino and RFduino in the next couple of days.

What is the recommended Arduino version?
Title: Re: RFduino v2.3 Released for Arduino IDE 1.6.3
Post by: tolson on July 08, 2015, 10:44:47 AM
1.6.5

https://github.com/RFduino/RFduino/blob/master/README.md

Title: Re: RFduino v2.3 Released for Arduino IDE 1.6.3
Post by: tw1111 on July 27, 2015, 10:44:23 AM
I had to recently reformate my computer and because I like your product on every version of arduino they have took out the Additional Board Manager on them so is there away around that...and have it been thought of making a compiler for your product where you would not have to deal with all the arduino updates because it seems to me arduino don't really like a compactor using there product.