Alternative flashing WP34S using Bus Pirate
|
12-02-2014, 02:01 PM
Post: #1
|
|||
|
|||
Alternative flashing WP34S using Bus Pirate
I wrote this some time ago but had problems activating my forum account. I've since seen the Arduino method which is very similar to mine. That method also prompted me to take a photo that may be useful.
Here is my original text... I successfully flashed my WP 34s through a Bus Pirate without manufacturing a cable. I used the MySamba software and it worked fine on Windows XP and 7 Pro. Please note, I'm not claiming anything new here, just describing what I did with what I had to hand. First off, we erase the HP 30b via the sequence described in the manual that uses the reset button and jumps ERASE to Vcc on the 6 pad serial interface: Code: Tx(in) Rx(out) Vcc We now have an apparently dead calculator On my PC I run PuTTY and start a serial session connecting to the Bus Pirate. At the HiZ> prompt type m3 to set up the UART. You could use Hyperterminal or any other terminal emulator I guess, but I use PuTTY a lot - it's the best and it's open source. The UART settings are: 115200, 8N1, Idle 1, Normal output drivers. Here's a session transcript. Code: HiZ>m3 Code: UART>(1) Exit the PuTTY session as it's locking out other programs on the PC from accessing the serial COM port that we just set up. So quit PuTTY so MySamBa can use it. The Bus Pirate LEDs will remain lit. Wire from the Bus Pirate to the calculator. The Bus Pirate has a 10 pin header of which we need just three of those lines: Code: 1 - GND Start MySamBa and select the binary file to flash and the COM port that PuTTY was talking to. Press the calculator reset button and then the ON/OFF button. With one hand, hold three flying leads connecting the Bus Pirate to the 3 serial interface pads: Code: Tx(in) Rx(out) Vcc Code: pin 8 on the Bus Pirate connects (via 1Kohm) to top left pad Tx(in) I use standard male ended bread board jumper leads. Hold the connections steady and with your free hand click "Send File" in MySamBa. You should see the file transfer progress meter tick along - calc.bin transfers in just 19s for me. Let go the leads, press reset again, press ON/OFF and there should be signs of life. Annunciator h-3-3-Enter will report the firmware version. You're done! PuTTY: http://www.chiark.greenend.org.uk/~sgtat...nload.html Bus Pirate: http://dangerousprototypes.com Why use a Bus Pirate? Because I had one already. I've used it for programming ATtiny chips over SPI, talking to accelerometers and gyros over I2C and for logging on to my Davis weather station console and Raspberry Pi with the 3.3V RS232 UART. They are widely available from Adafruit, Sparkfun, Seeedstudio etc. Expect to pay USD30/EU25/GBP20. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)