研究筆記 - Bus Pirate

緣起

參考

零件主頁:https://www.sparkfun.com/products/12942

Bus Pirate v3.6a Hookup Guide

Bus Pirate wiki

Bus Pirate 101 tutorial

Bus Pirate menu options guide

實驗過程

HiZ>~                                                                          

Disconnect any devices                                                         

Connect (Vpu to +5V) and (ADC to +3.3V)                                        

Space to continue                                                              

Ctrl                                                                           

AUX OK                                                                         

MODE LED OK                                                                    

PULLUP H OK                                                                    

PULLUP L OK                                                                    

VREG OK                                                                        

ADC and supply                                                                 

5V(5.00) OK                                                                    

VPU(4.99) OK                                                                   

3.3V(3.30) OK                                                                  

ADC(3.31) OK                                                                   

Bus high                                                                       

MOSI OK                                                                        

CLK OK                                                                         

MISO OK                                                                        

CS OK                                                                          

Bus Hi-Z 0                                                                     

MOSI OK                                                                        

CLK OK                                                                         

MISO OK                                                                        

CS OK                                                                          

Bus Hi-Z 1                                                                     

MOSI OK                                                                        

CLK OK                                                                         

MISO OK                                                                        

CS OK                                                                          

MODE and VREG LEDs should be on!                                               

Any key to exit 

Found 0 errors.

將 3.3V 接上 ADC 想量到 3.3V

reset(#) 後 Measure ADC(d) =>  VOLTAGE PROBE: 0.00V 

因為 Power supplies 是 OFF, 需使用 PSU(W) 

PSU(W) 在 Default mode 不支援,切換到 1-WIRE 後,Power suppliesn ON(W)

1-WIRE>d

VOLTAGE PROBE: 3.31V 

bus pirate python library and examples

i2c-test.py

Entering raw I2C mode:  OK.

Configuring I2C.

Reading EEPROM.

0

0

0

0

0

None

Reset Bus Pirate to user terminal: 

OK.

DIO>a                                                                          

AUX LOW                                                                        

DIO>A                                                                          

AUX HIGH                                                                       

將 3V3 PIN 連上 AUX PIN

DIO>@                                                                          

AUX INPUT/HI-Z, READ: 0                                                        

DIO>W                                                                          

Power supplies ON                                                              

DIO>@                                                                          

AUX INPUT/HI-Z, READ: 1

Macros, user macros

firmware

BP 自動化層級區分

共用自動測試基本情境與需求

輔助器具研究

摘自 樂高機器人創意寶典 181 種絕妙新組合

相關專案