The Museum of HP Calculators

HP Forum Archive 19

[ Return to Index | Top of Index ]

Hypothetically - How would you flash a 35s?
Message #1 Posted by JJB299 on 17 Jan 2010, 10:23 p.m.

If you had unlimited time and resources, how would you write data to a HP 35s from a computer (i.e. program data)?

Ditto for the 33s.

      
Re: Hypothetically - How would you flash a 35s?
Message #2 Posted by Paul Dale on 17 Jan 2010, 10:47 p.m.,
in response to message #1 by JJB299

You can't the CPU has ROM inside and it cannot be rewritten.

- Pauli

            
Re: Hypothetically - How would you flash a 35s?
Message #3 Posted by Richard Reed on 18 Jan 2010, 3:44 a.m.,
in response to message #2 by Paul Dale

A perfect example of the dangers of cheaper 'mask' devices.

                  
Re: Hypothetically - How would you flash a 35s?
Message #4 Posted by Joel Setton (France) on 19 Jan 2010, 3:30 p.m.,
in response to message #3 by Richard Reed

IMHO, this is not a matter of "cheap" devices. It's just that mask ROMs are the right choice for any product which is intend for large-volume production. Mask ROMs were used in the HP-35, and in many -- if not all -- HP calculators. All the Classics, Woodstocks, Spices, Voyagers, Pioneers use masked ROMs.

Joel Setton

                        
Re: Hypothetically - How would you flash a 35s?
Message #5 Posted by Richard Reed on 19 Jan 2010, 5:26 p.m.,
in response to message #4 by Joel Setton (France)

Quote:
IMHO, this is not a matter of "cheap" devices. It's just that mask ROMs are the right choice for any product which is intend for large-volume production. Mask ROMs were used in the HP-35, and in many -- if not all -- HP calculators. All the Classics, Woodstocks, Spices, Voyagers, Pioneers use masked ROMs.

Joel Setton


Of course this is right. I should have emphasized that if you're going to commit code to a mask, you can't be cheap about testing it. I think that's what crept into 35s, and goes along with the physical cheapening of some models. In my own experience, the steady move to 'bottom-line' management of development has pushed out even obvious quality and technical considerations.

      
Re: Hypothetically - How would you flash a 35s?
Message #6 Posted by Bart (UK) on 18 Jan 2010, 6:37 a.m.,
in response to message #1 by JJB299

Ha, don't be put off by these negative nellies ;), with hypothetically unlimited time & resources, anything is possible.

Option 1: dig out the CPU die from under the resin blob (if you find an ingenious method of doing so without destroying stuff you need to keep, let me know), get a new CPU die, programme it and put it in place of the old one (again if you find an ingenious method of doing so with hobbyist tools, let me know).

Option 2: cut out the resin blob and some surrounding parts, create a piggy-back board that replaces what you cut out (including a new programmed CPU) that "pins-out" onto the cut tracks.

Option 3: Get (make ?) a blank complete 35s PCB, populate it with the neccessary components (including a new programmed CPU) and replace the one in the 35s.

Moral of the story: it requires replacement of the CPU as it contains built-in 256K ROM - not EPROM, FLASH or any re-programmable memory.

            
Re: Hypothetically - How would you flash a 35s?
Message #7 Posted by Walter B on 18 Jan 2010, 7:33 a.m.,
in response to message #6 by Bart (UK)

Quote:
Ha, don't be put off by these negative nellies ;), with hypothetically unlimited time & resources, anything is possible.
You'll need less than 1/2 of it: sufficient time will do ;^)
Quote:
Option 1: dig out the CPU die from under the resin blob (if you find an ingenious method of doing so without destroying stuff you need to keep, let me know)...
Just sit in front of the PCB and wait until the CPU tunnels through - just some pi times 1E16 s d:-)>

Edited: 18 Jan 2010, 7:33 a.m.

                  
Re: Hypothetically - How would you flash a 35s?
Message #8 Posted by Thomas Radtke on 18 Jan 2010, 7:46 a.m.,
in response to message #7 by Walter B

A couple of years ago, I had some smalltalk with another physicist in an elevator. I asked about the probability to end up somewhere else in the universe. You know, the usual things to kill time. He replied that his major concern would be *how much* of us would end there.

                        
Re: Hypothetically - How would you flash a 35s?
Message #9 Posted by Marcus von Cube, Germany on 18 Jan 2010, 10:49 a.m.,
in response to message #8 by Thomas Radtke

I would be concerned *how many* of us would end up in the same place. ;)

                              
Re: Hypothetically - How would you flash a 35s?
Message #10 Posted by Walter B on 18 Jan 2010, 10:55 a.m.,
in response to message #9 by Marcus von Cube, Germany

Oooh, probability is very low that two of us will meet this way d;-)

                                    
Re: Hypothetically - How would you flash a 35s?
Message #11 Posted by Bart (UK) on 18 Jan 2010, 11:23 a.m.,
in response to message #10 by Walter B

In my book anything below 1E-9 is "extremely improbable" and "considered not to occur". 1E-16 is so many orders of magnitude less than that and so close to zero, that as an engineer I say "close enough to zero to = zero" :-)

                                          
Re: Hypothetically - How would you flash a 35s?
Message #12 Posted by Paul Dale on 18 Jan 2010, 3:46 p.m.,
in response to message #11 by Bart (UK)

Extremely improbable events take place around us all the time.

Want something with a probability less than 1E-9? Toss a coin thirty times recording the results in order. My 15c tells me that that was a 9.3E-10 probability event.

Want to get to 1E-16? Toss the coin some more (twenty four more times).

1E-100? 333 times.

- Pauli

                  
Re: Hypothetically - How would you flash a 35s?
Message #13 Posted by Bart (UK) on 18 Jan 2010, 11:06 a.m.,
in response to message #7 by Walter B

Quote:
Just sit in front of the PCB and wait until the CPU tunnels through - just some pi times 1E16 s d:-)>
Hunger and the need for caffiene would be more likely to drag me away :)

Edited: 18 Jan 2010, 11:07 a.m.

                        
Re: Hypothetically - How would you flash a 35s?
Message #14 Posted by Michael Meyer on 18 Jan 2010, 11:41 a.m.,
in response to message #13 by Bart (UK)

I guess my first thought of a solution to this isn't so far off: Stand in front of the cpu wearing only a towel, then take off the towel. HP-35S flashed.

                              
Re: Hypothetically - How would you flash a 35s?
Message #15 Posted by Tim Wessman on 18 Jan 2010, 7:56 p.m.,
in response to message #14 by Michael Meyer

Hmm, I tried that in the office today and it didn't work. Fortunately HP is shut down for a holiday so nobody saw. . . :-D

TW

Edited: 18 Jan 2010, 7:57 p.m.

            
Re: Hypothetically - How would you flash a 35s?
Message #16 Posted by Bruce Bergman on 18 Jan 2010, 11:31 a.m.,
in response to message #6 by Bart (UK)

Interestingly enough, someone at Digitial Equipment Corporation (DEC) agreed with you. Back in the early 1980's, I was working with DECUS (DEC's User Society) and was on the board. I remember hearing from DEC about a group that was tasked with essentially accomplishing ANY project that came their way. Literally. The mission from Ken was to accept any job, any task and any project. With seriousness and sincerity.

The catch was that the group was allowed to couch all responses in terms of time, money and resources. If someone wanted to go to Mars, it might cost them $80B, take 100 years and half the USA propulation, but they would work on a way to make it happen.

I don't remember them ever actually beginning any project, but I know that they did respond to a few companies with proposals. I'm sure that if they still existed, they could take on this project too. :)

thanks, bruce

            
Re: Hypothetically - How would you flash a 35s?
Message #17 Posted by designnut on 18 Jan 2010, 12:54 p.m.,
in response to message #6 by Bart (UK)

I found DMSO dimethyl sulfoxide would dissolve epoxy. I use it freely on my body, it is used by vets. You would not need the pure product to dissolve the blob. Sam

      
Re: Hypothetically - How would you flash a 35s?
Message #18 Posted by David Hayden on 18 Jan 2010, 8:17 a.m.,
in response to message #1 by JJB299

Quote:
If you had unlimited time and resources, how would you write data to a HP 35s from a computer (i.e. program data)?

Ditto for the 33s.


I think you mean user programs, not flashing the ROM. In that case, I'd investigate a machine to press the keys to enter whatever you want. For starters, I'd try modifying a desktop pen plotter. The pen moves in two dimensions and can be made to go up/down. Sounds like a mechanical finger to me!

You'd need some sort of jig to hold the calculator in exactly the right place. Plus software to parse the input file and output the plotter movement commands. You'd need to be mindful of timing issues to avoid getting ahead of the calculator.

Option 2: kidnap Cyrille and force him to use a TI 83 until he agrees to put some form of external I/O on the 35s. :)

            
Re: Hypothetically - How would you flash a 35s?
Message #19 Posted by Bill (Smithville, NJ) on 18 Jan 2010, 10:07 a.m.,
in response to message #18 by David Hayden

Hi David,

Quote:
I think you mean user programs, not flashing the ROM. In that case, I'd investigate a machine to press the keys to enter whatever you want. For starters, I'd try modifying a desktop pen plotter. The pen moves in two dimensions and can be made to go up/down. Sounds like a mechanical finger to me!

Several years ago, I had given some thought to doing just what you proposed - for programming a HP-42S. Unfortnuatelly, I never ran across any usable old pen ploters at the ham radio flea markets or the Trenton Computer Fest. If I could find a small letter size pen plotter, I figured I'd cut out a rectangular the size of the calculator in the middle of the plotter, put some foam backing in it, and then use the plotter to program the calculator. Getting the key pressure right would be the hardest part - would hate to destroy a good HP-42S.

Another though I had, was using one of those single board robot arms that were around several years ago. I had one many years ago, and if I remember right, was programmed using the FORTH language.

Bill

                  
Re: Hypothetically - How would you flash a 35s?
Message #20 Posted by Egan Ford on 18 Jan 2010, 11:52 a.m.,
in response to message #19 by Bill (Smithville, NJ)

Quote:
Several years ago, I had given some thought to doing just what you proposed - for programming a HP-42S. Unfortnuatelly, I never ran across any usable old pen ploters at the ham radio flea markets or the Trenton Computer Fest. If I could find a small letter size pen plotter, I figured I'd cut out a rectangular the size of the calculator in the middle of the plotter, put some foam backing in it, and then use the plotter to program the calculator. Getting the key pressure right would be the hardest part - would hate to destroy a good HP-42S.

Another though I had, was using one of those single board robot arms that were around several years ago. I had one many years ago, and if I remember right, was programmed using the FORTH language.


Just get yourself a Lego Mindstorms kit. If it can solve a Rubik's Cube (http://www.youtube.com/watch?v=3QOvEG27Gt4) then you can probably make it program your calc. I have not looked into the NXT, but the first gen could be programmed with FORTH (pbForth) and C. I used LegOS (now BrickOS) on mine with an H8 C cross-compiler. That was much better than using the native macro programming.
                  
Re: Hypothetically - How would you flash a 35s?
Message #21 Posted by Martin Pinckney on 18 Jan 2010, 2:53 p.m.,
in response to message #19 by Bill (Smithville, NJ)

I know this thread is mostly in jest, but to use a pen plotter as described would entail a lot of work to reprogram it to for the required motions. To begin with, the normal up and down range of motion of the pens is probably not sufficient for the task.

I recall watching these things work, processing AutoCAD drawings, and they often exhibited seemingly very odd behavior. For instance, it might write some text, drawing the outline of the characters, then go and draw lines for 15 minutes, then come back and fill in the outline of the characters. Surely this was caused by AutoCAD, not the plotter itself. But it caused me to wonder what strange algorithm might be used.

In any event, by the time you figured out how to program the plotter, wrote a program to translate characters in a program listing into correct pen motions corresponding to the calculator's keys, made the physical modifications to the plotter, debugged it ... well, you get the idea.

Still, there are stranger things folks spend time on. Like responding to inane comments in a calculator geek forum...

                        
Re: Hypothetically - How would you flash a 35s?
Message #22 Posted by David Hayden on 18 Jan 2010, 5:07 p.m.,
in response to message #21 by Martin Pinckney

Quote:
I know this thread is mostly in jest, but to use a pen plotter as described would entail a lot of work to reprogram it to for the required motions. To begin with, the normal up and down range of motion of the pens is probably not sufficient for the task.
Yes, that would probably make the suggestion useless. But it got people thinking, and Egan's idea of using the Lego system is probably workable.

Quote:
I recall watching these things work, processing AutoCAD drawings, and they often exhibited seemingly very odd behavior. For instance, it might write some text, drawing the outline of the characters, then go and draw lines for 15 minutes, then come back and fill in the outline of the characters. Surely this was caused by AutoCAD, not the plotter itself. But it caused me to wonder what strange algorithm might be used.
I acquired a large surplus HP plotter for free many years ago. It turned out that the Windows printer driver had a nasty habbit of drawing thick lines like this:
--+ +--+ +--+ +--+ +--+ +--+ +--+ +--+ +
  | |  | |  | |  | |  | |  | |  | |  | |
  +--  +--  +--  +--  +--  +--  +--  +--
instead of like this:
---------------------------------------+
+--------------------------------------+
+---------------------------------------
In other words, it would draw the width of the line, move forward one pen-width, and draw the next width. It would be substantially faster to draw the length of the line, then move over one pen width and draw another length. In a fit of frustration I decoded the plotter language, worked out the geometry, and created a filter program that detected the case and converted from one format to the other.
Quote:
In any event, by the time you figured out how to program the plotter, wrote a program to translate characters in a program listing into correct pen motions corresponding to the calculator's keys, made the physical modifications to the plotter, debugged it ... well, you get the idea.
I'm not so sure. If any commercial outfits have large software programs for the 35s, something like this could be a real time saver.

Quote:
Still, there are stranger things folks spend time on. Like responding to inane comments in a calculator geek forum...
No argument there!! :)

                              
Re: Hypothetically - How would you flash a 35s?
Message #23 Posted by Bill (Smithville, NJ) on 19 Jan 2010, 6:45 a.m.,
in response to message #22 by David Hayden

For most plotters today, I agree that the up/down motion probally would not be enough to do the key presses. But I seem to remember that some of the early plotters had a pretty good pen motion up/down.

I don't think programming the plotter would be that difficult. Just program it to make a "DOT" at a specific x-y location. Map the x-y locations to the specific key of the calculator.

As to AutoCad plotting, we had noticed the same thing at our office. I think they try to optimize the total pen movement - also, if it is a multi-pen plotter, then you want to minimize pen changes. Optimizing it would be like the traveling salesman problem.

A friend of mine has a computerized sheet metal forming shop and his machine exhibits the same behaviour as the plotter. It'll move the sheet metal back and forth and do punching, cutting, folding in a seemly random order.

The Lego Mindstorms look like a great idea. And a lot of fun!.

Bill

                        
Re: Hypothetically - How would you flash a 35s?
Message #24 Posted by Norman Dziedzic on 19 Jan 2010, 7:21 a.m.,
in response to message #21 by Martin Pinckney

I recall the old hp plotter language (HPGL) to be very simple with instructions like PU (Pen Up) PD (Pen Down) And a pretty simple X/Y coordinate system for positioning. I'm not sure the plotter would have the force required to depress the keys. The pens are very light and pressing hard would rip the paper.

That said, the real thing to find to do this would be a small SCARA robot but it would be much more costly.

            
Re: Hypothetically - How would you flash a 35s?
Message #25 Posted by Bart (UK) on 18 Jan 2010, 11:03 a.m.,
in response to message #18 by David Hayden

Ah, yes, I see now, the reference to "flash" in the title mislead me.

I had been thinking of using some transistor controlled unit connected in parallel to the keyboard lines (this would also prevent keypad wear). This would be easier on the 35s than on the Pioneers, as the 35s can be easily opened. However, it may still take hours as one has to ensure enough delay between "keypresses" to prevent the missed keys problem (could use feedback from the "busy" annunciator line?).

This does not provide backup - although I do most of my developing in spreadsheets anyway so have copies of the code.

                  
Re: Hypothetically - How would you flash a 35s?
Message #26 Posted by Richard Reed on 18 Jan 2010, 11:46 a.m.,
in response to message #25 by Bart (UK)

I don't have a 35s, and given the long bug list, if I had one I would want a ROM re-program if I could get one.

Now that I have admitted my prejudice, it might be understandable why I wouldn't do much work to add automated programming on 35s, but maybe if you could override some of the bugs with user code it would be worthwhile.

      
Re: Hypothetically - How would you flash a 35s?
Message #27 Posted by JJB299 on 18 Jan 2010, 8:20 p.m.,
in response to message #1 by JJB299

Thanks guys. Very interesting responses.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall