WP34S Under WINE



#2

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?


#3

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.


#4

Quote:
You certainly did not try to reflash an HP 40, did you?

Whoops, no! Sorry about the typo.

#5

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?


#6

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.


#7

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.

#8

Quote:
Yes, it's a replacement originally written by Cyrille from IBM ..

Careful there. You'll start a rumor. :)

#9

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?


#10

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!


#11

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.


#12

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.

#13

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.

#14

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


Possibly Related Threads...
Thread Author Replies Views Last Post
  HP Prime Connectivity software in Virtualbox/wine Chris Pem10 2 833 11-22-2013, 02:20 PM
Last Post: Chris Pem10
  old wine in new skins Mike (Stgt) 11 1,894 12-05-2012, 08:00 AM
Last Post: Mike (Stgt)
  [WP34S] WP34S firmware on the AT91SAM7L-STK dev kit? jerome ibanes 1 733 10-04-2012, 04:59 PM
Last Post: Paul Dale
  Successful running EmuXY under Wine 1.4 Christoph Giesselink 0 475 03-12-2012, 03:06 PM
Last Post: Christoph Giesselink
  [wp34s] Incomplete Gamma on the wp34s Les Wright 18 3,027 12-06-2011, 11:07 AM
Last Post: Namir
  [wp34s] Romberg Integration on the wp34s Les Wright 2 938 12-04-2011, 10:49 PM
Last Post: Les Wright
  WP34S 956 crashing in wine Neil Hamilton (Ottawa) 4 971 05-25-2011, 07:21 AM
Last Post: Neil Hamilton (Ottawa)
  Emu48 1.42 and WINE - It Works! Howard Owen 0 343 09-02-2006, 10:21 PM
Last Post: Howard Owen

Forum Jump: