6 Replies Latest reply on Mar 2, 2015 11:54 AM by AlexG

    pca953x 1-0020: failed reading register

    mikemoy

      Can someone kindly explain why i am getting these errors when i boot the Edison.

      FYI, If it helps i am using the mini Edison dev kit

       

       

      Starting kernel ...

       

      [    0.768833] pca953x 1-0020: failed reading register

      [    0.774044] pca953x 1-0021: failed reading register

      [    0.774437] pca953x 1-0022: failed reading register

      [    0.784308] pca953x 1-0023: failed reading register

      [    1.644077] pmic_ccsm pmic_ccsm: Error reading battery profile from battid frmwrk

      [    1.655077] pmic_ccsm pmic_ccsm: Battery Over heat exception

      [    1.655163] pmic_ccsm pmic_ccsm: Battery0 temperature inside boundary

        • 1. Re: pca953x 1-0020: failed reading register
          David_J_Hunt

          Mike,

             The Edison module doesn't know what baseboard it's plugged into, so it's expecting the hardware on the Arduino board to be present. When it doesn't find it, it generates these messages. They are harmless.

          Rgds,

          Dave.

          • 2. Re: pca953x 1-0020: failed reading register
            mikemoy

            Thank you. not knowing what i am talking about here is that something that is part of the build or a startup script.

            Another way to put it, can i stop it from trying to talk to things that are not there.

            • 3. Re: pca953x 1-0020: failed reading register
              David_J_Hunt

              It's not part of the build or the startup scripts, afaik. There is no easy way to stop it.

              • 4. Re: pca953x 1-0020: failed reading register
                mikemoy

                ok. Maybe whatever it is. Intel should have to versions of the firmware one for just the Edison itself, and the other for Arduino

                • 5. Re: pca953x 1-0020: failed reading register
                  mikalhart

                  FWIW, I get (a variant of) these messages even when my Edison IS plugged into the Arduino breakout:

                   

                  Starting kernel ...

                  [    0.758919] pca953x 1-0020: failed reading register

                  [    1.636840] pmic_ccsm pmic_ccsm: Error reading battery profile from battid frmwrk

                  [    1.645296] pmic_ccsm pmic_ccsm: Battery Over heat exception

                  [    1.645383] pmic_ccsm pmic_ccsm: Battery0 temperature inside boundary

                  • 6. Re: pca953x 1-0020: failed reading register
                    AlexG

                    Please help,

                    I have the same errors every time i boot the Edison with the mini breakout board:

                    [   12.830177] i2c-1: try to abort xfer, scl_gpio 19, sda_gpio 20

                    [   12.834629] i2c-1: scl_gpio val 1, sda_gpio val 0

                    [   12.834708] i2c-1: toggle begin

                    [   12.844439] i2c-1: toggle SCL loop 0

                    [   12.844603] i2c-1: toggle SCL loop 1

                    [   12.844756] i2c-1: toggle SCL loop 2

                    [   12.844908] i2c-1: toggle SCL loop 3

                    [   12.845070] i2c-1: toggle SCL loop 4

                    [   12.845234] i2c-1: toggle SCL loop 5

                    [   12.845393] i2c-1: toggle SCL loop 6

                    [   12.845555] i2c-1: toggle SCL loop 7

                    [   12.845707] i2c-1: toggle SCL loop 8

                    [   12.845754] i2c-1: toggle end

                    [   12.846121] pca953x 1-0023: failed reading register

                    [   13.847618] pmic_ccsm pmic_ccsm: Error reading battery profile from battid frmwrk

                    [   13.856506] pmic_ccsm pmic_ccsm: Battery Over heat exception

                    [   13.856595] pmic_ccsm pmic_ccsm: Battery0 temperature inside boundary

                     

                    Also when i try to run the i2cdetect i get similar crash stacktrace:

                    root@Edison:~# i2cdetect -r 1

                    WARNING! This program can confuse your I2C bus, cause data loss and worse!

                    I will probe file /dev/i2c-1 using read byte commands.

                    I will probe address range 0x03-0x77.

                    Continue? [Y/n] y

                         0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f

                    00:          [  893.736229] i2c-designware-pci 0000:00:08.0: ===== REGISTER DUMP (i2c) =====

                    [  893.736325] i2c-designware-pci 0000:00:08.0: DW_IC_CON:               0x65

                    [  893.736400] i2c-designware-pci 0000:00:08.0: DW_IC_TAR:               0x3

                    [  893.736472] i2c-designware-pci 0000:00:08.0: DW_IC_SS_SCL_HCNT:       0x2f8

                    [  893.736544] i2c-designware-pci 0000:00:08.0: DW_IC_SS_SCL_LCNT:       0x37b

                    [  893.736617] i2c-designware-pci 0000:00:08.0: DW_IC_FS_SCL_HCNT:       0x87

                    [  893.736688] i2c-designware-pci 0000:00:08.0: DW_IC_FS_SCL_LCNT:       0x10a

                    [  893.736761] i2c-designware-pci 0000:00:08.0: DW_IC_INTR_STAT:         0x0

                    [  893.736832] i2c-designware-pci 0000:00:08.0: DW_IC_INTR_MASK:         0x246

                    [  893.736904] i2c-designware-pci 0000:00:08.0: DW_IC_RAW_INTR_STAT:     0x10

                    [  893.736975] i2c-designware-pci 0000:00:08.0: DW_IC_RX_TL:             0x20

                    [  893.737047] i2c-designware-pci 0000:00:08.0: DW_IC_TX_TL:             0x20

                    [  893.737118] i2c-designware-pci 0000:00:08.0: DW_IC_ENABLE:            0x1

                    [  893.737189] i2c-designware-pci 0000:00:08.0: DW_IC_STATUS:            0x2

                    [  893.737260] i2c-designware-pci 0000:00:08.0: DW_IC_TXFLR:             0x1

                    [  893.737330] i2c-designware-pci 0000:00:08.0: DW_IC_RXFLR:             0x0

                    [  893.737401] i2c-designware-pci 0000:00:08.0: DW_IC_TX_ABRT_SOURCE:    0x0

                    [  893.737472] i2c-designware-pci 0000:00:08.0: DW_IC_DATA_CMD:          0x0

                    [  893.737542] i2c-designware-pci 0000:00:08.0: ===============================

                    [  893.737641] CPU: 0 PID: 349 Comm: i2cdetect Tainted: G        W  O 3.10.17-poky-edison+ #1

                    [  893.737646] Hardware name: Intel Corporation Merrifield/BODEGA BAY, BIOS 466 2014.06.23:19.20.05

                    [  893.737653] task: f51274d0 ti: f6e2a000 task.ti: f6e2a000

                    [  893.737714] Stack:

                    [  893.737782] Call Trace:

                    [  893.738201] Code: b3 ff ff 89 f8 09 d0 80 ce 04 83 ff 02 0f 44 c2 8b 15 54 4b b9 c1 89 82 00 b3 ff ff f7 c6 00 02 00 00 74 14 e8 e7 f8 0a 00 56 9d <83> c4 04 5b 5e 5f 5d c3 90 8d 74 26 00 56 9d e8 d1 f4 0a 00 83

                    [  893.738226] CPU: 1 PID: 203 Comm: sketch.elf Tainted: G        W  O 3.10.17-poky-edison+ #1

                    [  893.738231] Hardware name: Intel Corporation Merrifield/BODEGA BAY, BIOS 466 2014.06.23:19.20.05

                    [  893.738240] task: f6fe4de0 ti: f5050000 task.ti: f5050000

                    [  893.739212] i2c-1: try to abort xfer, scl_gpio 19, sda_gpio 20

                    [  893.944777] i2c-1: scl_gpio val 1, sda_gpio val 0

                    [  893.944854] i2c-1: toggle begin

                    [  893.953019] i2c-1: toggle SCL loop 0

                    [  893.956605] i2c-1: toggle SCL loop 1

                    [  893.961403] i2c-1: toggle SCL loop 2

                    [  893.965014] i2c-1: toggle SCL loop 3

                    [  893.968586] i2c-1: toggle SCL loop 4

                    [  893.972157] i2c-1: toggle SCL loop 5

                    [  893.975739] i2c-1: toggle SCL loop 6

                    [  893.979313] i2c-1: toggle SCL loop 7

                    [  893.982885] i2c-1: toggle SCL loop 8

                    [  893.982933] i2c-1: toggle end

                     

                    I tried flashing the latest image but it didn't help. I cant use the i2c bus with those errors.