Posts: 50
Threads: 16
Joined: Feb 2006
I was trying to flash an HP 40 to WP34S today and no great success (and limited time) using a Windows PC at work. As I only have a Mac at home I was going to try again using WINE (Codeweavers version) as I've read here that this has been successful.
The problem I was having starting SAM-BA were all about communication errors. I was using both a direct COM port and a USB converter and SAM-BA 2.11.
The ATMEL SAM-BA software crashed with a runtime error whenever I stated it. Does it need any additional software to run under WINE?
I also looked at Bossa and wondered if this might work.
Quote:
The motivation behind BOSSA is to create a simple, easy-to-use, open source utility to replace Atmel's SAM-BA software
Has anyone tried this?
Posts: 3,283
Threads: 104
Joined: Jul 2005
Get the MySamba application from SourceForge (http://sourceforge.net/projects/wp34s/files/FlashTool/) and try again.
You certainly did not try to reflash an HP 40, did you?
Edited: 19 Nov 2011, 12:12 p.m.
Posts: 50
Threads: 16
Joined: Feb 2006
Quote:
You certainly did not try to reflash an HP 40, did you?
Whoops, no! Sorry about the typo.
Posts: 50
Threads: 16
Joined: Feb 2006
Quote:
Get the MySamba application from SourceForge (http://sourceforge.net/projects/wp34s/files/FlashTool/) and try again.
Is the MySamba application in place of the ATMEL software that's referred to in the quick start guide?
Posts: 3,283
Threads: 104
Joined: Jul 2005
Yes, it's a replacement originally written by Cyrille from IBM and only slightly modified to make it compatible with the less than 128KB flash files for WP 34S. The software is much faster than Atmel's offering.
BTW, you will need fresh batteries because the SAMBA boot loader, once activated by erasing the flash with the cable, will have drained them already. Use a multimeter to verify this! If the batteries are still fine, chances are good that you did not successfully erase the calculator. Try to turn it on.
Posts: 50
Threads: 16
Joined: Feb 2006
Quote:
BTW, you will need fresh batteries because the SAMBA boot loader, once activated by erasing the flash with the cable, will have drained them already. Use a multimeter to verify this! If the batteries are still fine, chances are good that you did not successfully erase the calculator. Try to turn it on.
Thanks for the tips, they're welcome. The batteries seem okay - still reading about 2.78V.
Posts: 1,830
Threads: 113
Joined: Aug 2005
Quote:
Yes, it's a replacement originally written by Cyrille from IBM ..
Careful there. You'll start a rumor. :)
Posts: 38
Threads: 3
Joined: Sep 2007
Quote:
The ATMEL SAM-BA software crashed with a runtime error whenever I stated it. Does it need any additional software to run under WINE?
I had initially also crashes of SAM-BA under CrossOver. After I got the serial port configuration right everything worked.
Serial ports are defined in the dosdevices directory of ~/.wine or in the respective bottle of CrossOver.
Use 'com1' but not 'com1:' as the serial port name, the name with the colon does not work.
Hubert
Posts: 50
Threads: 16
Joined: Feb 2006
Thanks, that suggestion worked well and the calculator is now up and running.
Is there a self-test mode? I couldn't see a reference to it in the manual - everythings aseems to work well though.
It might be worth updating the Quick Start guide to remove the reference to the Atmal software?
Posts: 3,283
Threads: 104
Joined: Jul 2005
Quote:
Is there a self-test mode?
Do you really believe we implement a test to reveal the many bugs and shortcomings of our design? ;-)
No, if you want to test the hardware you'll need HP's original firmware. On the other hand, hardware failures aren't very common on this platform. So we decided to use the flash space for our own purposes.
Have fun!
Posts: 50
Threads: 16
Joined: Feb 2006
Quote:
Have fun!
I have had fun! Thanks for your help.
I've written up a few thoughts about this as I went along on my Tumblr Blog. I thought I'd link to it here in case it's of use to anyone.
Posts: 3,283
Threads: 104
Joined: Jul 2005
Steve, thanks for spreading the news. :-)
A remark:
Quote:
A JTAG serial programming cable. I got mine from Gene Wright.
This is not JTAG but a custom HP part. JTAG is the name of the connector that can be soldered to the board for hardware debugging.
Posts: 50
Threads: 16
Joined: Feb 2006
Thanks for that. I'll update it accordingly.
I think I assumed it was JTAG from the Atmel documentation and also from my own experience of working with FPGAs.