Calculator Community > HP Calculators

Announcing Rip'Em, a third-party firmware for the HP Prime

(1/2) > >>

Jean-Baptiste Boric:
Ran out of presents to rip open? How about ripping open your HP Prime for science?

This is Rip'Em, a third-party firmware for the HP Prime calculator. It is a (rather primitive for now) unofficial bootloader that replaces PRIME_OS.ROM and is currently written by someone who doesn't know what he's doing.

For now, unless you can connect to the 3.3v TTL serial port inside the calculator nothing too exciting will happen.

What you can do with it for now :

* Launch a homegrown GDB stub over serial (only suitable for poking memory and upload/run code) ;
* Launch a single ELF file as a payload. Current payloads available are :

* dummy.elf : A dummy payload that blinks the LEDs so you can hang your HP Prime to your Christmas tree ;
* PRIME_OS.ROM : The official firmware can be launched using the osrom2elf tool supplied.
* Write your own application on bare metal using the libraries supplied.
Current plans and what you can do to help :

* Play around with Rip'Em ;
* Use the GDB stub to figure out the hardware ;
* Replace the homegrown GDB stub with the real stuff ;
* Write a USB serial driver to enable the GDB stub to work over it ;
* Add the ability to have multiple payloads, to read payloads from the FAT16 partition in PRIME_APP.DAT and to select a payload with a simple graphical user interface.
Non-goals (at least for me) :

* Reverse-engineering, patching or otherwise tampering with the official firmware. The TODO list is already big enough to keep me busy for a long time ;
* Bloat within RIp'Em itself. It's an ELF launcher, not a operating system. Even the GDB stub should be demoted as a payload eventually.
Source code available over at https://github.com/boricj/ripem. Kudos to Lionel Debroux for being the first one to run a third-party firmware on the HP Prime.

As always : please void your warranty in a responsible manner. I will decline any responsibility should you turn your HP Prime into the thinnest CAS calculator brick available currently on the market.

pimathbrainiac:
Yet another reason to want a prime for myself!

This looks amazing! Keep up the good work!

TIfanx1999:
This is a very good start. Congratulations on your accomplishment! ;D

Jean-Baptiste Boric:
Just a quick update : Rip'Em can now use the LCD screen on the HP Prime. The dummy payload has been updated to take advantage of it, displaying the current time from the RTC on it.

Next goal is to figure out the keypad.

Jean-Baptiste Boric:
New stuff added since last time :

* Complete keypad support ;
* gzip-compressed payloads ;
* Graphical menu to select a payload to launch ;
* Dumb integer RPN calculator demo, complete with 26 (a-z) variables.The ability to boot the original firmware is crippled for now (only booting the diagnostic screen works).

I have now run out of simple things to implement. I can't push this thing any further without first porting a real-time operating system and making a USB GDB stub...

Navigation

[0] Message Index

[#] Next page

Go to full version