Dump title:dmptest2
Input format:Saleae I2C analysis CSV
Device(s) defined:MPU-6050 6-axis accelerometer/gyroscope @ 0x68
MPU6050 register map:Yes
Download original dump content (3.8 kB)








Phej Framework Error

Error: Undefined array key 3

#1 - File: /views/tools/tools_analyzer_viewdump.php, line 89

87:         $showData = array();
88:         foreach ($packets[$i] as $index=>$byte) {
89:             if ($index > 0 || !$writeOffset) $showData[] = $byte[3];
90:         }
91:         echo '<td>'.count($showData).'</td>';

#2 - File: /Phej.php, line 628

626:             }
627:             // load the view
628:             include ROOT_DIR.'/views/'.$view.'.php';
629:         }
630:     }

#3 - File: /layouts/wide_layout.php, line 46

44: 
45:       <div id="pageBody">
46:         <?php $this -> loadView($view, $meta); ?>
47:       </div>
48: 

#4 - File: /Phej.php, line 681

679:             }
680:             // load the layout (view is accessible through $view variable)
681:             include ROOT_DIR.'/layouts/'.$layout.'_layout.php';
682:         }
683: 

#5 - File: /controllers/tools_controller.php, line 71

69: 
70:             $this -> phej -> loadPlugin('jquery_balloon');
71:             $this -> layoutView("tools/tools_analyzer_viewdump", 'wide', $meta);
72:         } else {
73:             $meta["page_title"] = "I2C Protocol Analyzer | I2C Device Library";

#6 - File: /Phej.php, line 273

271:             if (!defined('VIEW')) define('VIEW', $view);
272: 
273:             $this -> controller -> $view($args);
274:         } catch (Exception $e) {
275:             phej_display_exception($this, $e);

#7 - File: /index.php, line 111

109: 
110: session_start();
111: $phej -> run(FRONT_URI);
112: 
113: } catch (Exception $e) {

Stack trace:

#TimeDeviceModeRegisterLengthData
10.0048330000000000x68 (MPU6050)Read0x75 (WHO_AM_I)10x68

Bitfield detail

  • WHO_AM_I = 52
(WHO_AM_I=52)
20.0053547500000000x68 (MPU6050)Write0x6B (PWR_MGMT_1)10x00

Bitfield detail

  • DEVICE_RESET = 0 - Inactive
  • SLEEP = 0 - Disabled
  • CYCLE = 0 - Disabled
  • TEMP_DIS = 0 - Enabled
  • CLK_SEL = 0 - Internal 8MHz oscillator
(DEVICE_RESET=0, SLEEP=0, CYCLE=0, TEMP_DIS=0, CLK_SEL=0)
30.0065862500000000x68 (MPU6050)Read0x3B (ACCEL_XOUT_H)60xC3 0x60 0x05 0xBC 0xEA 0x68
40.0086917500000000x68 (MPU6050)Read0x3B (ACCEL_XOUT_H)60xC2 0xF0 0x06 0x00 0xEA 0x3C
50.0107955000000000x68 (MPU6050)Read0x75 (WHO_AM_I)10x68

Bitfield detail

  • WHO_AM_I = 52
(WHO_AM_I=52)
60.0113240000000000x68 (MPU6050)Write0x1C (ACCEL_CONFIG)10x18

Bitfield detail

  • XA_ST = 0 - Inactive
  • YA_ST = 0 - Inactive
  • ZA_ST = 0 - Inactive
  • AFS_SEL = 3 - ± 16g, 2048 LSB/mg
  • ACCEL_HPF = 0 - Reset
(XA_ST=0, YA_ST=0, ZA_ST=0, AFS_SEL=3, ACCEL_HPF=0)
76.9577325000000000x68 (MPU6050)Write0x6B (PWR_MGMT_1)10x80

Bitfield detail

  • DEVICE_RESET = 1 - Triggered
  • SLEEP = 0 - Disabled
  • CYCLE = 0 - Disabled
  • TEMP_DIS = 0 - Enabled
  • CLK_SEL = 0 - Internal 8MHz oscillator
(DEVICE_RESET=1, SLEEP=0, CYCLE=0, TEMP_DIS=0, CLK_SEL=0)
86.9874062500000000x68 (MPU6050)Write0x6B (PWR_MGMT_1)10x00

Bitfield detail

  • DEVICE_RESET = 0 - Inactive
  • SLEEP = 0 - Disabled
  • CYCLE = 0 - Disabled
  • TEMP_DIS = 0 - Enabled
  • CLK_SEL = 0 - Internal 8MHz oscillator
(DEVICE_RESET=0, SLEEP=0, CYCLE=0, TEMP_DIS=0, CLK_SEL=0)
97.0155912500000000x68 (MPU6050)Write0x6D (BANK_SEL)10x70

Bitfield detail

  • PRFTCH_EN = 1 - Enabled
  • CFG_USER_BANK = 1 - Enabled
  • MEM_SEL = 16
(PRFTCH_EN=1, CFG_USER_BANK=1, MEM_SEL=16)
107.0437430000000000x68 (MPU6050)Write0x6E (MEM_START_ADDR)10x06

Bitfield detail

  • START_ADDR = 6
(START_ADDR=6)
117.0755337500000000x68 (MPU6050)Read0x6F (MEM_R_W)10xA5

Bitfield detail

  • MEM_R_W = 165
(MEM_R_W=165)
127.1495215000000000x68 (MPU6050)Write0x6D (BANK_SEL)10x00

Bitfield detail

  • PRFTCH_EN = 0 - Disabled
  • CFG_USER_BANK = 0 - Disabled
  • MEM_SEL = 0
(PRFTCH_EN=0, CFG_USER_BANK=0, MEM_SEL=0)
137.1823347500000000x68 (MPU6050)Read0x00 (AUX_VDDIO)10x81

Bitfield detail

  • AUX_VDDIO = 1 - VDD
  • XG_OFFS_TC = 0
  • OTP_BNK_VLD = 1
(AUX_VDDIO=1, XG_OFFS_TC=0, OTP_BNK_VLD=1)
147.2386860000000000x68 (MPU6050)Read0x00 (AUX_VDDIO)10x81

Bitfield detail

  • AUX_VDDIO = 1 - VDD
  • XG_OFFS_TC = 0
  • OTP_BNK_VLD = 1
(AUX_VDDIO=1, XG_OFFS_TC=0, OTP_BNK_VLD=1)
157.2398452500000000x68 (MPU6050)Read0x01 (YG_OFFS_TC)10x79

Bitfield detail

  • YG_OFFS_TC = 60
(YG_OFFS_TC=60)
167.2410047500000000x68 (MPU6050)Read0x02 (ZG_OFFS_TC)10x81

Bitfield detail

  • ZG_OFFS_TC = 0
(ZG_OFFS_TC=0)
177.3402642500000000x68 (MPU6050)Write0x25 (I2C_SLV0_ADDR)10x7F

Bitfield detail

  • I2C_SLV0_RW = 0 - Disabled
  • I2C_SLV0_ADDR = 127
(I2C_SLV0_RW=0, I2C_SLV0_ADDR=127)
187.3710245000000000x68 (MPU6050)Read0x6A (USER_CTRL)10x00

Bitfield detail

  • DMP_EN = 0 - Disabled
  • FIFO_EN = 0 - Disabled
  • I2C_MST_EN = 0 - Disabled
  • I2C_IF_DIS = 0 - Enabled
  • DMP_RESET = 0 - Inactive
  • FIFO_RESET = 0 - Inactive
  • I2C_MST_RESET = 0 - Inactive
  • SIG_COND_RESET = 0 - Inactive
(DMP_EN=0, FIFO_EN=0, I2C_MST_EN=0, I2C_IF_DIS=0, DMP_RESET=0, FIFO_RESET=0, I2C_MST_RESET=0, SIG_COND_RESET=0)
197.3716030000000000x68 (MPU6050)Write0x6A (USER_CTRL)10x00

Bitfield detail

  • DMP_EN = 0 - Disabled
  • FIFO_EN = 0 - Disabled
  • I2C_MST_EN = 0 - Disabled
  • I2C_IF_DIS = 0 - Enabled
  • DMP_RESET = 0 - Inactive
  • FIFO_RESET = 0 - Inactive
  • I2C_MST_RESET = 0 - Inactive
  • SIG_COND_RESET = 0 - Inactive
(DMP_EN=0, FIFO_EN=0, I2C_MST_EN=0, I2C_IF_DIS=0, DMP_RESET=0, FIFO_RESET=0, I2C_MST_RESET=0, SIG_COND_RESET=0)
207.4150317500000000x68 (MPU6050)Write0x25 (I2C_SLV0_ADDR)10x68

Bitfield detail

  • I2C_SLV0_RW = 0 - Disabled
  • I2C_SLV0_ADDR = 104
(I2C_SLV0_RW=0, I2C_SLV0_ADDR=104)
217.4489227500000000x68 (MPU6050)Read0x6A (USER_CTRL)10x00

Bitfield detail

  • DMP_EN = 0 - Disabled
  • FIFO_EN = 0 - Disabled
  • I2C_MST_EN = 0 - Disabled
  • I2C_IF_DIS = 0 - Enabled
  • DMP_RESET = 0 - Inactive
  • FIFO_RESET = 0 - Inactive
  • I2C_MST_RESET = 0 - Inactive
  • SIG_COND_RESET = 0 - Inactive
(DMP_EN=0, FIFO_EN=0, I2C_MST_EN=0, I2C_IF_DIS=0, DMP_RESET=0, FIFO_RESET=0, I2C_MST_RESET=0, SIG_COND_RESET=0)
227.4494755000000000x68 (MPU6050)Write0x6A (USER_CTRL)10x02

Bitfield detail

  • DMP_EN = 0 - Disabled
  • FIFO_EN = 0 - Disabled
  • I2C_MST_EN = 0 - Disabled
  • I2C_IF_DIS = 0 - Enabled
  • DMP_RESET = 0 - Inactive
  • FIFO_RESET = 0 - Inactive
  • I2C_MST_RESET = 1 - Triggered
  • SIG_COND_RESET = 0 - Inactive
(DMP_EN=0, FIFO_EN=0, I2C_MST_EN=0, I2C_IF_DIS=0, DMP_RESET=0, FIFO_RESET=0, I2C_MST_RESET=1, SIG_COND_RESET=0)
237.5112150000000000x68 (MPU6050)Write0x6D (BANK_SEL)10x00

Bitfield detail

  • PRFTCH_EN = 0 - Disabled
  • CFG_USER_BANK = 0 - Disabled
  • MEM_SEL = 0
(PRFTCH_EN=0, CFG_USER_BANK=0, MEM_SEL=0)
247.5119630000000000x68 (MPU6050)Write0x6E (MEM_START_ADDR)10x00

Bitfield detail

  • START_ADDR = 0
(START_ADDR=0)
257.5136742500000000x68 (MPU6050)Write0x6D (BANK_SEL)10x00

Bitfield detail

  • PRFTCH_EN = 0 - Disabled
  • CFG_USER_BANK = 0 - Disabled
  • MEM_SEL = 0
(PRFTCH_EN=0, CFG_USER_BANK=0, MEM_SEL=0)
267.5144220000000000x68 (MPU6050)Write0x6E (MEM_START_ADDR)10x00

Bitfield detail

  • START_ADDR = 0
(START_ADDR=0)
277.5156955000000000x68 (MPU6050)Read0x6F (MEM_R_W)10xFB

Bitfield detail

  • MEM_R_W = 251
(MEM_R_W=251)
287.5167380000000000x68 (MPU6050)Read0x6F (MEM_R_W)10xFD

Bitfield detail

  • MEM_R_W = 253
(MEM_R_W=253)
297.5177800000000000x68 (MPU6050)Read0x6F (MEM_R_W)10xFF

Bitfield detail

  • MEM_R_W = 255
(MEM_R_W=255)
307.5188222500000000x68 (MPU6050)Read0x6F (MEM_R_W)10x01

Bitfield detail

  • MEM_R_W = 1
(MEM_R_W=1)
317.5198642500000000x68 (MPU6050)Read0x6F (MEM_R_W)10x03

Bitfield detail

  • MEM_R_W = 3
(MEM_R_W=3)
327.5209065000000000x68 (MPU6050)Read0x6F (MEM_R_W)10x05

Bitfield detail

  • MEM_R_W = 5
(MEM_R_W=5)
337.5219485000000000x68 (MPU6050)Read0x6F (MEM_R_W)10x07

Bitfield detail

  • MEM_R_W = 7
(MEM_R_W=7)
347.5229907500000000x68 (MPU6050)Read0x6F (MEM_R_W)10x09

Bitfield detail

  • MEM_R_W = 9
(MEM_R_W=9)
357.5240330000000000x68 (MPU6050)Read0x6F (MEM_R_W)10x00

Bitfield detail

  • MEM_R_W = 0
(MEM_R_W=0)
367.5250750000000000x68 (MPU6050)Read0x6F (MEM_R_W)10x26

Bitfield detail

  • MEM_R_W = 38
(MEM_R_W=38)
377.5261170000000000x68 (MPU6050)Read0x6F (MEM_R_W)10x53

Bitfield detail

  • MEM_R_W = 83
(MEM_R_W=83)
387.5271590000000000x68 (MPU6050)Read0x6F (MEM_R_W)10x46

Bitfield detail

  • MEM_R_W = 70
(MEM_R_W=70)
397.5282007500000000x68 (MPU6050)Read0x6F (MEM_R_W)10x00

Bitfield detail

  • MEM_R_W = 0
(MEM_R_W=0)
407.5292427500000000x68 (MPU6050)Read0x6F (MEM_R_W)10x00

Bitfield detail

  • MEM_R_W = 0
(MEM_R_W=0)
417.5302850000000000x68 (MPU6050)Read0x6F (MEM_R_W)10x2A

Bitfield detail

  • MEM_R_W = 42
(MEM_R_W=42)
427.5313270000000000x68 (MPU6050)Read0x6F (MEM_R_W)
#FileLineCall
1 /views/tools/tools_analyzer_viewdump.php 89 phej_exception_error_handler(integer, string, string, integer)
2 /Phej.php 628 include(string)
3 /layouts/wide_layout.php 46 Controller -> loadView(string, array[3])
4 /Phej.php 681 include(string)
5 /controllers/tools_controller.php 71 Controller -> layoutView(string, string, array[3])
6 /Phej.php 273 tools_controller -> analyzer(array[1])
7 /index.php 111 Phej -> run(string)

Activity log:

LevelFileLineTime (ms)Memory (kB)Message
INFO/Phej.php9000Phej framework v2.0 started
INFO/Phej.php34203Loading plugin "pdoquery"
INFO/Phej.php3420412Loading plugin "phej_auth"
INFO/Phej.php3421414Loading plugin "jquery"
INFO/Phej.php3421416Loading plugin "tablesorter"
INFO/Phej.php3421418Loading plugin "superfish"
INFO/Phej.php3421420Loading plugin "ganalytics"
INFO/Phej.php3421421Loading plugin "woopra"
INFO/Phej.php3421422Loading plugin "syntaxhighlighter"
INFO/Phej.php1151835Starting Phej run with URI "/tools/analyzer/82"
INFO/Phej.php1962885Using controller "tools"
INFO/Phej.php2392887Using view method "analyzer"
INFO/Phej.php342421,929Loading plugin "jquery_balloon"