3 Replies Latest reply on Mar 17, 2017 1:12 PM by Intel Corporation

    How to changing I2C speed in Arduino IDE?(Fast->Std)

    dev_kor

      I have a VOC sensor(mics-vz-89f). It can i2c communication at STD mode(100kbit)

       

      but Edison i2c mode is Fast mode(400kbit)

       

      How to changing edison i2c mode? fast -> std

       

      I try to rebuild kernel, but I got errors.

       

      Please, Help me

       

      Loading cache: 100% |########################################################################################################################################################################| ETA:  00:00:00
      Loaded 2238 entries from dependency cache.
      WARNING: No recipes available for:
        /home/kyu/Downloads/iot-devkit-yp-poky-edison-20160606/build_edison/../poky/meta-intel-iot-devkit/recipes-kernel/linux/linux-yocto-quark_3.8.bbappend
      NOTE: Resolving any missing task queue dependencies
      NOTE: multiple providers are available for jpeg (jpeg, libjpeg-turbo)
      NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg
      NOTE: multiple providers are available for runtime java2-runtime (cacao, jamvm, openjdk-8-jre, openjdk-7-jre, openjdk-6-jre)
      NOTE: consider defining a PREFERRED_PROVIDER entry to match java2-runtime
      NOTE: multiple providers are available for virtual/java-native (cacao-native, jamvm-native)
      NOTE: consider defining a PREFERRED_PROVIDER entry to match virtual/java-native
      NOTE: multiple providers are available for jpeg-native (jpeg-native, libjpeg-turbo-native)
      NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg-native
      NOTE: multiple providers are available for runtime java2-vm (openjdk-7-jre, openjdk-6-jre)
      NOTE: consider defining a PREFERRED_PROVIDER entry to match java2-vm
      NOTE: multiple providers are available for virtual/java-initial-native (cacao-initial-native, jamvm-initial-native)
      NOTE: consider defining a PREFERRED_PROVIDER entry to match virtual/java-initial-native
      
      
      Build Configuration:
      BB_VERSION        = "1.24.0"
      BUILD_SYS         = "x86_64-linux"
      NATIVELSBSTRING   = "Ubuntu-14.04"
      TARGET_SYS        = "i586-poky-linux"
      MACHINE           = "edison"
      DISTRO            = "poky-edison"
      DISTRO_VERSION    = "1.7.3"
      TUNE_FEATURES     = "m32 core2"
      TARGET_FPU        = ""
      meta              
      meta-intel-arduino 
      meta-intel-edison-bsp 
      meta-intel-edison-distro 
      meta-intel-iot-devkit 
      meta-intel-iot-middleware 
      meta-java         
      meta-oic          
      meta-filesystems  
      meta-networking   
      meta-oe           
      meta-python       
      meta-ruby         
      meta-webserver    
      meta-yocto        
      meta-yocto-bsp    = "<unknown>:<unknown>"
      
      
      NOTE: Preparing runqueue
      NOTE: Executing SetScene Tasks
      NOTE: Executing RunQueue Tasks
      WARNING: Failed to fetch URL http://serf.googlecode.com/svn/src_releases/serf-1.3.7.tar.bz2, attempting MIRRORS if available
      WARNING: Failed to fetch URL http://www.apache.org/dist/subversion/subversion-1.8.9.tar.bz2, attempting MIRRORS if available
      WARNING: Checksum failure encountered with download of http://icedtea.classpath.org/hg/release/icedtea7-forest-2.1/archive/f89009ada191.tar.bz2;name=openjdk;unpack=false - will attempt other sources if available
      WARNING: Renaming /home/kyu/Downloads/iot-devkit-yp-poky-edison-20160606/build_edison/downloads/f89009ada191.tar.bz2 to /home/kyu/Downloads/iot-devkit-yp-poky-edison-20160606/build_edison/downloads/f89009ada191.tar.bz2_bad-checksum_2bc941373ca4b033c9a25f972eec7858
      ERROR: Fetcher failure for URL: 'http://icedtea.classpath.org/hg/release/icedtea7-forest-2.1/archive/f89009ada191.tar.bz2;name=openjdk;unpack=false'. Checksum mismatch!
      File: '/home/kyu/Downloads/iot-devkit-yp-poky-edison-20160606/build_edison/downloads/f89009ada191.tar.bz2' has md5 checksum 2bc941373ca4b033c9a25f972eec7858 when c26bbb33addfaeb14d28a1329b4b5a3e was expected
      File: '/home/kyu/Downloads/iot-devkit-yp-poky-edison-20160606/build_edison/downloads/f89009ada191.tar.bz2' has sha256 checksum 5efd8e66f18fcbf45527bcc74aa3e6ed11f66bc793c88e3841925c4acb4827ba when 54a0ef02b56b265b4122324e08a33c42ececbf2a300ada260611e7b6ccdba96d was expected
      If this change is expected (e.g. you have upgraded to a new version without updating the checksums) then you can use these lines within the recipe:
      SRC_URI[openjdk.md5sum] = "2bc941373ca4b033c9a25f972eec7858"
      SRC_URI[openjdk.sha256sum] = "5efd8e66f18fcbf45527bcc74aa3e6ed11f66bc793c88e3841925c4acb4827ba"
      Otherwise you should retry the download and/or check with upstream to determine if the file has become corrupted or otherwise unexpectedly modified.
      
      
      ERROR: Function failed: Fetcher failure for URL: 'http://icedtea.classpath.org/hg/release/icedtea7-forest-2.1/archive/f89009ada191.tar.bz2;name=openjdk;unpack=false'. Unable to fetch URL from any source.
      ERROR: Logfile of failure stored in: /home/kyu/Downloads/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/work/x86_64-linux/icedtea7-native/2.1.3-r1.0/temp/log.do_fetch.2908
      ERROR: Task 3003 (/home/kyu/Downloads/iot-devkit-yp-poky-edison-20160606/build_edison/../poky/meta-java/recipes-core/icedtea/icedtea7-native_2.1.3.bb, do_fetch) failed with exit code '1'
      NOTE: Tasks Summary: Attempted 2106 tasks of which 2087 didn't need to be rerun and 1 failed.
      Waiting for 0 running tasks to finish:
      
      
      Summary: 1 task failed:
        /home/kyu/Downloads/iot-devkit-yp-poky-edison-20160606/build_edison/../poky/meta-java/recipes-core/icedtea/icedtea7-native_2.1.3.bb, do_fetch
      Summary: There were 5 WARNING messages shown.
      Summary: There were 2 ERROR messages shown, returning a non-zero exit code.