Post Reply 
newRPL - Updated to build 1510 [official build remains at 1487]
07-29-2021, 02:35 PM
Post: #138
RE: newRPL - Updated to build 1487 [ including official build]
(07-29-2021 11:51 AM)Alejandro Paz(Germany) Wrote:  Hei, I'd like to give it (finally) a try using a 39gs. My question is how should I strip the binary (newrpl39.bin) so I can flash it using a jlink (I "added" a jtag connector to my 39gs).
I would like to try with the connectivity kit but that never worked.
Alternatively I could try to flash from linux, is that possible ? The 39gs has a standard ROM.

I think that an "enable flash erase" or so maybe needed (besides the normal enable programming on flash devices):

Code:

J-Link>mem8 0, 16
00000000 = 06 00 00 EA 3F 00 00 EA 45 00 00 EA 4B 00 00 EA
00000010 = 51 00 00 EA FE FF
J-Link>loadfile d:\temp\newrpl39_stripped.bin
No address passed for .bin file. Assuming address: 0x0
Downloading file [d:\temp\newrpl39_stripped.bin]...
Writing target memory failed.
J-Link>

But maybe it is just that the jlink doesn't identify the flash chip attached to the arm9... I'll try to read a bit more on how to use it.

Any help appreciated

Thanks in advance,
Ale

The file doesn't have any extra headers. The ROM merely changes the "KINPOHP39G+IMAGE" string at the beginning of the file with "Kinposhcopyright" (total 16 bytes changed). This is checked to see if the ROM is valid, so you need to do it or the calculator won't boot.
Once you replace that string, just write the whole file to 0x4000. Make sure you DON'T erase the blocks at 0 thru 0x3fff since that's the bootloader and it's not included in the rom file.

Best of luck.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: newRPL - Updated to build 1487 [ including official build] - Claudio L. - 07-29-2021 02:35 PM
Navigating through sub-menus - Gilles - 05-13-2023, 11:31 AM
It's a mystery to me... - Klaus - 11-27-2023, 12:24 PM



User(s) browsing this thread: 3 Guest(s)