This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
projects:repair:dell_pa10 [2013/05/27 00:39] – [Debugging with Bus Pirate] admin | projects:repair:dell_pa10 [2013/10/29 02:05] (current) – [Relevant articles] admin | ||
---|---|---|---|
Line 88: | Line 88: | ||
* (Bus Pirate) +5v -> (ATtiny13A) +5v | * (Bus Pirate) +5v -> (ATtiny13A) +5v | ||
- | With Bus Pirate v4 an external pull-up resistor is not required. The board con be configured by software to have one. Connect the Bus Pirate and enter the following commands: | + | With Bus Pirate v4 an external pull-up resistor is not required. The board con be configured by software to have one. Use a terminal, configure speed to 9600 N81, 'new line' shall be only CR. Connect the Bus Pirate and enter the following commands: |
< | < | ||
HiZ>m | HiZ>m | ||
Line 191: | Line 191: | ||
Ready | Ready | ||
HiZ> | HiZ> | ||
+ | </ | ||
+ | |||
+ | Programming a DS2502 with bus pirate: | ||
+ | < | ||
+ | 1-WIRE> | ||
+ | BUS RESET OK | ||
+ | READ ROM (0x33): 0x89 0xA0 0x56 0x2E 0x12 0x70 0x5E 0x1C | ||
+ | Unknown device | ||
+ | |||
+ | 1-WIRE>r | ||
+ | READ: 0xFF | ||
+ | 1-WIRE> | ||
+ | READ: 0xFF 0xFF ... 0xFF | ||
+ | </ | ||
+ | 255 bytes will be read | ||
</ | </ | ||
==== Alternative implementations ==== | ==== Alternative implementations ==== | ||
Line 207: | Line 222: | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// |