Discussion:
File structure of HP calculators?
(too old to reply)
ilkka.t.i.korhonen
2020-03-18 18:00:45 UTC
Permalink
hi!

Does anyone know good resource to encrypt file structure of HP calculator e.g. HP48, which is sent thru serial interface?

I am getting it with XMODEM and so far I understand the XMODEM packet structure (SOH + packet number + "negative" packet number + data + checksum). It is the data content what I dont understand. (Also, the file can be transferred to PC text file with communication software & usb).

For example the next string sends list L2 which has one item, as hex string (only the "data" part):

4850333942696E45024C32742A70F2112B3110010000742AB012030C000040A7022B31C0000000742AB012030C000040A7022B31C0000000742AB012030C000040A7022B31C0000000742AB012030C0000E0B1021100100000010000800100001E2B100100010010000000180000E0B1021100100000010000800100001E2B10

I can change the value of item (number), I can read/find HP objects, but there is something else too... between HP objects there are some weird numbers like C000000 which meaning is unknown so far.

for example the nibbles of list 02A74 prolog, and epilogue 0312B can be found easily from the hex string. it looks like there are multiple lists in the file format (just to fill the packet?)

any help appreciated.
l***@gmail.com
2020-03-20 04:30:00 UTC
Permalink
Post by ilkka.t.i.korhonen
hi!
Does anyone know good resource to encrypt file structure of HP calculator e.g. HP48, which is sent thru serial interface?
I am getting it with XMODEM and so far I understand the XMODEM packet structure (SOH + packet number + "negative" packet number + data + checksum). It is the data content what I dont understand. (Also, the file can be transferred to PC text file with communication software & usb).
4850333942696E45024C32742A70F2112B3110010000742AB012030C000040A7022B31C0000000742AB012030C000040A7022B31C0000000742AB012030C000040A7022B31C0000000742AB012030C0000E0B1021100100000010000800100001E2B100100010010000000180000E0B1021100100000010000800100001E2B10
I can change the value of item (number), I can read/find HP objects, but there is something else too... between HP objects there are some weird numbers like C000000 which meaning is unknown so far.
for example the nibbles of list 02A74 prolog, and epilogue 0312B can be found easily from the hex string. it looks like there are multiple lists in the file format (just to fill the packet?)
any help appreciated.
Have you read "Journey to the Center of the HP48"? It sounds like you might have already but thought I should mention it. Note that the one in English covers the HP 48SX but there is a French version that covers the 48GX.

https://www.hpcalc.org/details/2733
i***@gmail.com
2020-04-01 02:57:10 UTC
Permalink
thank you, very interesting. does not help with file structure though, it reveals the object structure.
Post by l***@gmail.com
Post by ilkka.t.i.korhonen
hi!
Does anyone know good resource to encrypt file structure of HP calculator e.g. HP48, which is sent thru serial interface?
I am getting it with XMODEM and so far I understand the XMODEM packet structure (SOH + packet number + "negative" packet number + data + checksum). It is the data content what I dont understand. (Also, the file can be transferred to PC text file with communication software & usb).
4850333942696E45024C32742A70F2112B3110010000742AB012030C000040A7022B31C0000000742AB012030C000040A7022B31C0000000742AB012030C000040A7022B31C0000000742AB012030C0000E0B1021100100000010000800100001E2B100100010010000000180000E0B1021100100000010000800100001E2B10
I can change the value of item (number), I can read/find HP objects, but there is something else too... between HP objects there are some weird numbers like C000000 which meaning is unknown so far.
for example the nibbles of list 02A74 prolog, and epilogue 0312B can be found easily from the hex string. it looks like there are multiple lists in the file format (just to fill the packet?)
any help appreciated.
Have you read "Journey to the Center of the HP48"? It sounds like you might have already but thought I should mention it. Note that the one in English covers the HP 48SX but there is a French version that covers the 48GX.
https://www.hpcalc.org/details/2733
Robert Tiismus
2020-04-06 18:24:24 UTC
Permalink
Post by ilkka.t.i.korhonen
hi!
Does anyone know good resource to encrypt file structure of HP
calculator e.g. HP48, which is sent thru serial interface?
I am getting it with XMODEM and so far I understand the XMODEM packet
structure (SOH + packet number + "negative" packet number + data +
checksum). It is the data content what I dont understand. (Also, the
file can be transferred to PC text file with communication software & usb).
For example the next string sends list L2 which has one item, as hex
4850333942696E45024C32742A70F2112B3110010000742AB012030C000040A7022B31C0000000742AB012030C000040A7022B31C0000000742AB012030C000040A7022B31C0000000742AB012030C0000E0B1021100100000010000800100001E2B100100010010000000180000E0B1021100100000010000800100001E2B10
I can change the value of item (number), I can read/find HP objects, but
there is something else too... between HP objects there are some weird 
numbers like C000000 which meaning is unknown so far.
for example the nibbles of list 02A74 prolog, and epilogue 0312B can be
found easily from the hex string. it looks like there are multiple lists
in the file format (just to fill the packet?)
any help appreciated.
Hello Ilkka!

You could check out the Splitdir 3.0 on the hpcalc.org website.
It is rather old (2008) and probably will not work on modern system, but
it includes the source code.

Regards,
Robert Tiismus

Loading...