Dump title:Non-Arduino MPU-6050 DMP (Not Working)
Input format:Saleae I2C analysis CSV
Device(s) defined:MPU-6050 6-axis accelerometer/gyroscope @ 0x68
MPU6050 register map:Yes
Download original dump content (88.1 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.00175050x68 (MPU6050)Read0x6F (MEM_R_W)10x4D

Bitfield detail

  • MEM_R_W = 77
(MEM_R_W=77)
20.0024640x68 (MPU6050)Read0x00 (AUX_VDDIO)10x89

Bitfield detail

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

Bitfield detail

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

Bitfield detail

  • ZG_OFFS_TC = 0
(ZG_OFFS_TC=0)
50.003661250x68 (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)
60.00435050x68 (MPU6050)Read0x6B (PWR_MGMT_1)10x40

Bitfield detail

  • DEVICE_RESET = 0 - Inactive
  • SLEEP = 1 - Enabled
  • CYCLE = 0 - Disabled
  • TEMP_DIS = 0 - Enabled
  • CLK_SEL = 0 - Internal 8MHz oscillator
(DEVICE_RESET=0, SLEEP=1, CYCLE=0, TEMP_DIS=0, CLK_SEL=0)
70.0463243750x68 (MPU6050)Write0x6E (MEM_START_ADDR)30x71 0x00 0x72
80.0464156250x68 (MPU6050)Write0x50 (EXT_SENS_DATA_07)10x00

Bitfield detail

  • EXT_SENS_DATA_07 = 0
(EXT_SENS_DATA_07=0)
90.046614750x68 (MPU6050)Write0x6F (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/15"
INFO/Phej.php1962885Using controller "tools"
INFO/Phej.php2392887Using view method "analyzer"
INFO/Phej.php342482,017Loading plugin "jquery_balloon"