📜 ⬆️ ⬇️

Redesign HP 39GS Programmable Calculator to 48GII

It turns out that some programmable calculators actually know much more than they actually are and one of them is HP 39GS. How to awaken the necessary memories, we consider in this article.




I'll start from afar. Surely each of us has devices that have technical or other perfection, and this alone means automatically the desire to possess them. For some, these are laptops, phones of a certain company, maybe microcontrollers or FPGA, maybe music equipment. In general, there are many of us, and opinions and desires are even more, but I always liked programmable calculators. Perhaps a session of psychoanalysis would show that this is because of the calculator "Electronics MK-61" which I once programmed in order to play on it. We can say that today the calculators have almost become obsolete, and there is some truth in this. There is a corresponding software for the PC, next to which the calculator is like the Mozhaisk airplane compared to the SSJ100, there are emulators for the phone that can emulate the same calculators. But despite all this, there are niches where the calculator remains difficult to replace, and the emulator on the phone will not give that warm and lampy feeling from pressing real buttons and working time.


At work I have a TI89 Titanium, this is without exaggeration one of the most advanced and convenient calculators. A couple of years ago I bought it used on ebay for 4500 and then persuaded myself for a long time. And here we see another feature, the cost of such calculators is completely divorced from their iron content. It can easily cost under $ 200 and absolutely not be ashamed of it. So what should the proletariat do? Here, the children also drowned my old home Casio fx-220, which served faithfully for 15 years and I realized that without a calculator at home I couldn’t need to do anything. I wanted to be programmed for the cost of a modern analog fx-220, and the only thing that came across was the Casio fx-5800p.


And then by chance I came across a Chinese forum where people convert 39GS to 48GII, after seeing how much it costs 39GS, I realized that this is my case.


Briefly, how 39GS differs from 48GII. In a nutshell, the second is CAS and RPN. CAS is when you can perform symbolic calculations — for example, solve equations in general form or find an indefinite integral; RPN is the reverse Polish notation - the form of the record when the numbers are entered before the operation, I did not understand its charms, but many like it. A little more if, then the second allows statistics, operations on numbers of different number systems, vector analysis, series, complex numbers, systems of equations, probability theory - his guide 900 pp. 300 against 39GS. For hardware in the second chip with firmware capacity twice as large (2 MB).


What you need: 39GS, costs from 650 p. (without cover) up to 1200 r, debugger / programmer from 700 rub - Segger J-LINK clone and suitable memory. On the back side of his debugger, I pinned his pinout, if someone needs to have svg at the end of the note. If the programmer is within reach, then it is possible without a debugger at all.



The Chinese recommend SST39VF1601 (in the end I bought 3 pieces - 200 rubles), but I thought that it was possible to fuck up my old junk, it probably must be somewhere somewhere. I found the required chip volume in old DVD drives, both Macronix supported one of them Segger, the other did not.



Disassembly 39GS. I could not understand for a long time with disassembly, I even began to drill like seals under the battery cover, but it turned out to be much easier. The first thing you need is to tear off the screen protection. I could not find anything better than a spatula, which I sharpened to tear off the details from the table of a 3D printer. We insert into the gap between the protection and the body and slowly hook it, under it there are 2 screws that we unscrew.



Then from the end, who is what, and I push the halves of the body with the same trowel. Strongly not lyutuy, since you can tear off the speaker, which we unsolder.



Carefully put the open, peel off and take the film to the side.



My next step is to solder to the JTAG heels. Then we solder the microcircuit and solder the suitable one. I soldered with a blowtorch, soldered to them, or 40 W with a soldering iron, naturally flux. If there is a problem with a hair dryer, you can try to solder it with a soldering iron with the Rose alloy, I’m so-so the BIOS on the mat. The board has many legs, while it is working. Everything in the end should look like this.




In the upper pigtail, only one wire is used to supply a 3.3 V reference voltage to the debugger (from the STM32 debug board foot) to the VCC contact of the debugger; without it, the debugger could not see the calculator controller.


Everything is ready for the firmware. Install drivers for the debugger and install J-Link Commander and J-Link Flash. Experienced to find out that version 6.12 with a clone no longer works, but 5.12 works exactly. Understand what it is and how to win did not.


Install the batteries in the calculator, launch J-Link Commander, write “connect”, then “?” To select the target chip (our Samsung S3C2410A, well, or at worst, choose ARM9) and if everything is good, you will get the following window.



Then run J-Flash and follow the pictures from the Chinese site .


At this step, gentlemen, I was a fiasco. I could count the memory, but I could not erase or write the firmware. I changed the chips several times, but nothing came of it. Identification of the chip and the controller is there, but it was impossible to fill in something. It was the beginning of October, I thought that maybe the chips were write-protected and I could not do without ordering the recommended SST39VF1601, I soldered my native chip back. Having decided to bring the matter to either a 39GS breakdown or a happy ending, I ordered SST39VF1601. It so happened that at the same time with him I also ordered the TL866A programmer with TSOP-48 block. Looking ahead, I’ll say that both chips from the drives were a good match for the programmer, but having soldered them, I didn’t get a working calculator. Analyzing, I later came to the following conclusions:




Then we collect everything in reverse order. The patient begins to rebound and remembered everything that is needed.



The last step is a sticker on the buttons, I didn’t find anything on the Internet, so I drew it myself (attached in svg, the carlito font should be), print on A4 as is. The only thing I would finish is to move the inscriptions to each other (which are above the keys) in svg so that you only need to cut one strip for the sticker, but I already realized that when I pasted half of it, I additionally wrote tape on top with adhesive tape. As a result, the patient finally came to his senses and immensely makes us happy. The difference between what was huge.



48GII buttons. 48GII firmware. Segger.


If not difficult, put it on some Yandex disk.


PS True to count on it, I could not, although TI89 can.


')

Source: https://habr.com/ru/post/399397/


All Articles