Author Topic: RFduino v2.3 Released for Arduino IDE 1.6.3  (Read 11001 times)

tolson

  • Global Moderator
  • *****
  • Posts: 812
  • Karma: +19/-0
    • View Profile
    • Thomas Olson Consulting
Re: RFduino v2.3 Released for Arduino IDE 1.6.3
« Reply #15 on: May 12, 2015, 02:30:53 PM »
Good Idea TomWS!!


F800

  • RFduino Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: RFduino v2.3 Released for Arduino IDE 1.6.3
« Reply #16 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.



F800

  • RFduino Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: RFduino v2.3 Released for Arduino IDE 1.6.3
« Reply #17 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.

SuperJonotron

  • RFduino Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: RFduino v2.3 Released for Arduino IDE 1.6.3
« Reply #18 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?

tolson

  • Global Moderator
  • *****
  • Posts: 812
  • Karma: +19/-0
    • View Profile
    • Thomas Olson Consulting
Re: RFduino v2.3 Released for Arduino IDE 1.6.3
« Reply #19 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.
> }
>
>

kasperkamperman

  • RFduino Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: RFduino v2.3 Released for Arduino IDE 1.6.3
« Reply #20 on: June 27, 2015, 09:34:48 AM »
I'm pretty confused. In the readme.md on Github 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.



« Last Edit: June 30, 2015, 01:56:26 AM by kasperkamperman »

kursatu

  • RFduino Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: RFduino v2.3 Released for Arduino IDE 1.6.3
« Reply #21 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.

ichbinsnur

  • RFduino Jr. Member
  • **
  • Posts: 58
  • Karma: +0/-0
    • View Profile
Re: RFduino v2.3 Released for Arduino IDE 1.6.3
« Reply #22 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

kursatu

  • RFduino Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: RFduino v2.3 Released for Arduino IDE 1.6.3
« Reply #23 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.

ichbinsnur

  • RFduino Jr. Member
  • **
  • Posts: 58
  • Karma: +0/-0
    • View Profile
Re: RFduino v2.3 Released for Arduino IDE 1.6.3
« Reply #24 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

mjkuwp94

  • RFduino Newbie
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: RFduino v2.3 Released for Arduino IDE 1.6.3
« Reply #25 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?

tolson

  • Global Moderator
  • *****
  • Posts: 812
  • Karma: +19/-0
    • View Profile
    • Thomas Olson Consulting

tw1111

  • RFduino Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: RFduino v2.3 Released for Arduino IDE 1.6.3
« Reply #27 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.