![]() |
Help with flashing HP30s - Printable Version +- HP Forums (https://archived.hpcalc.org/museumforum) +-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html) +--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html) +--- Thread: Help with flashing HP30s (/thread-249329.html) |
Help with flashing HP30s - John Ioannidis - 09-01-2013 I'm trying to flash my HP30s and failing. The setup:
* Programming cable (thank you, Gene) None of the four combinations of port type and operating system seem to work. I select the port in sam-ba, select the right chip, and then I either get connection error (windows) or just indefinite wait (linux). The instructions on the wiki mention sam-ba v2.9, but that's not available any more, and I don't see why that would make a difference. I have an oscilloscope, a logic analyzer, and stuff like that, if debugging the problem involves using them. Help? Thanks,
/ji
Re: Help with flashing HP30s - Walter B - 09-02-2013 Please use the procedure as specified in the manual - it will work.
d:-)
Re: Help with flashing HP30s - Jamil (Brazil) - 09-02-2013 Hi John,
"Samba" never worked for me too. Re: Help with flashing HP30s - Barry Mead - 09-02-2013 Grab the MySamBa.zip file from this web site here All of this is in the manual, but somehow I was lead to the wrong version of samba my first time too, so use the MySamba program from the link above on a windows 7 machine and you will be fine. Edited: 2 Sept 2013, 11:04 a.m.
Re: Help with flashing HP30s - John Ioannidis - 09-02-2013 If you by that you mean "erase the calculator first", yes, I did that. AFAICT, I'm using the procedure in the manual. Thanks,
/ji
Re: Help with flashing HP30s - John Ioannidis - 09-02-2013 I did that too. strace() on the process shows that the calculator never responds to the first two commands sent by the flashing program. I've tried this on two calculators. Any way of testing whether the cable is working properly?
Re: Help with flashing HP30s - Barry Mead - 09-03-2013 You can mail the calculator to someone with a known good flashing cable. I don't have one, but perhaps you can find someone on the forum who does.
Re: Help with flashing HP30s - Thomas Chrapkiewicz - 09-03-2013 I too was not able to get the flash process to work until I acquired a FTDI USB/Serial cable.
TomC
Re: Help with flashing HP30s - Walter B - 09-03-2013 I hate to repeat, but please follow carefully the procedure as described in App. A (and possibly also App. G) of the manual and it shall work: this includes MySamba, an FTDI USB/serial converter, and maybe more you may need.
On my site, it works both with FTDI converter + Gene's flashing cable or Harald's USB board + standard USB cable -- always under Windows 7. Edited: 3 Sept 2013, 10:59 a.m.
Re: Help with flashing HP30s - pascal_meheut - 09-03-2013 +1. I've been able to make it work under Seven & XP, with MySamba and with Sam-BA 2.10. And even sometimes on a Mac & on Linux using my own flashing tool but this is less reliable.
Trying many times may sometimes be necessary (i.e. 10 or 20). Edited: 3 Sept 2013, 1:04 p.m.
Re: Help with flashing HP30s - John Ioannidis - 09-03-2013 I dug up an old enough laptop with a "real" (COM1, on irq4 and port 3F8), and it finally worked. I wonder what the code was trying to do that was failing for the usb cable I had, or the PCI card with the serial ports. I didn't see anything suspicious when strace-ing the process, but if it works, it works! Thanks to all who responded. Off to write my own firmware now!
Re: Help with flashing HP30s - Gene Wright - 09-03-2013 Good news! I have yet to see a bad cable. It is almost always one of these problems first:
1) Not following the procedure exactly as written. I have fallen into this trap several times myself. Only after all those have been completely examined should the cable be considered as at fault. There's just nothing in the cable that can really go bad easily at all.
Glad things worked!
Re: Help with flashing HP30s - Siegfried (Austria) - 09-04-2013 One of mine needed constant pressure on the connector to alllow flashing.
Re: Help with flashing HP30s - John Ioannidis - 09-04-2013 That's why God made rubber bands :)
Re: Help with flashing HP30s - Marcus von Cube, Germany - 09-05-2013 Glad to see it worked. The problem is that the boot code in the chip cannot assume a crystal being available so it tries to guess the proper oscillator settings iteratively. That's why the host sends several packages of data to synchronize the connection. The whole process is flaky at best.
One common problem with flashing is that the calculator is properly erased but not turned on. There is no visible indication that the chip is powered on. You can just press ON long enough to make sure. Interrupting power will turn it off again.
|