Issues with Arduino IDE board definition 1.0.1

I have a complex working code base running well on boards version 1.0.0 - the moment I update to board definition 1.0.1, the I2C subsystem seems to be completely unstable - using RTC or EEPROM - there a random lockups and unpredictable operations.

I have used two diferent I2C libraries for the eeprom with similar results on board version 1.0.1 - those same libraries work corectly on boards 1.0.0

Has anyone else seen this behaviour - my topboard is v.17-3117

Shane van Jaarsveldt
Shane van Jaarsveldt
22
| 0 0 0
Asked on 1/16/18, 2:48 PM
0
vote
416 Views

Hi Shane, i have tested the simple RTC and EEPROM demo sketches again on 1.0.1 and i don't find any problems. Could you try with those demo sketches. Are you using I2C for anything else except the standard Indio library, RTC, EEPROM? https://github.com/Industruino/democode

Tom
on 1/18/18, 11:24 PM
Thanks Tom 

I will use a new unit and test. I2C only used for RTC and eeprom. I’ll let you know. 

Cheers

Sent from my mobile phone, please excuse brevity or errors...

On 19 Jan 2018, at 01:24, Tom <tomtobback@gmail.com> wrote:

Hi Shane, i have tested the simple RTC and EEPROM demo sketches again on 1.0.1 and i don't find any problems. Could you try with those demo sketches. Are you using I2C for anything else except the standard Indio library, RTC, EEPROM? https://github.com/Industruino/democode

--
Tom
Sent by Industruino using Odoo about Forum Post Issues with Arduino IDE board definition 1.0.1
Shane van Jaarsveldt
on 1/19/18, 5:18 AM
Testing results

Debug output to SerialUSB - BSP1.0.0

00:00:01:POST:SYS/Init/AB061n
00:00:01:POST:WDT/Init/16000ms
00:00:01:POST:RTC:Friday 19 January 2014 13:21:19
13:21:19:POST:EEP/Init/OK
15:21:19:POST:xIO/Init
15:21:19:s01 set as input
15:21:19:s02 set as input
15:21:19:s03 set as input
15:21:19:s04 set as input
15:21:19:d01 set as output
15:21:19:d02 set as output
15:21:19:d03 set as output
15:21:19:d04 set as output
15:21:19:a01 set to input type 0-10V
15:21:19:a02 set to input type 0-10V
15:21:19:a03 set to input type 0-10V
15:21:19:a04 set to input type 0-10V
15:21:19:v01 set to output type 0-10V
15:21:19:v02 set to output type 0-10V
15:21:19:POST:DEV/ID:0A0017110000
15:21:19:POST:SD/Init.../SD:OK/SD:Type SDHC/SD:FAT:32/Size 980 MB

Updated to 1.0.1

and now seems to work - I will test more and let you know if any issues.

I am using following libraries

WDT - #include <MCP7940.h> // includes wire.h 

EEPROM - from github
## **EEPROM Library V1.0** for Industruino D21G
**Written by:** _Xabier Garmendia - EA2EGA_. - _Ingran Engineering S.L._.  
Based on the work of: David A. Mellis and Christopher Andrews
It uses I2C_EEPROM as well and works with the “standard” functions of the IDE bundled EEPROM.h for AVR



Regards Shane


 
Shane van Jaarsveldt

Tel: +27 11 469 4750  Cel: +27 82 601 0499  Fax: +27 11 469 3370 
P.O. BOX 64, WITKOPPEN, 2068, SOUTH AFRICA

On 19 Jan 2018, at 07:18, Shane van Jaarsveldt <shane@brightenup.co.za> wrote:

Thanks Tom 

I will use a new unit and test. I2C only used for RTC and eeprom. I’ll let you know. 

Cheers

Sent from my mobile phone, please excuse brevity or errors...

On 19 Jan 2018, at 01:24, Tom <tomtobback@gmail.com> wrote:

Hi Shane, i have tested the simple RTC and EEPROM demo sketches again on 1.0.1 and i don't find any problems. Could you try with those demo sketches. Are you using I2C for anything else except the standard Indio library, RTC, EEPROM? https://github.com/Industruino/democode

--
Tom
Sent by Industruino using Odoo about Forum Post Issues with Arduino IDE board definition 1.0.1

Shane van Jaarsveldt
on 1/19/18, 2:02 PM

Hi TOM,

I reinstalled IDE and libraries - RTC and EEPROM are working ok - ther must have been a corruption in my setup - very odd. Thansk for the help

 

 

Shane van Jaarsveldt
Shane van Jaarsveldt
22
| 0 0 0
Answered on 1/27/18, 2:26 PM
0
vote

Your answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

Ask a Question

Keep Informed

About This Forum

This community is for professionals and enthusiasts of our products and services.

Read Guidelines

Question tools

42 follower(s)

Stats

Asked: 1/16/18, 2:48 PM
Seen: 416 times
Last updated: 1/27/18, 2:26 PM