User Tools

Site Tools


rom_dump_cw1

This is an old revision of the document!


Rom dump from Casio ClassWiz

1. Required programmer

As for now this manual show how to dump rom using one of these two official Lapis/OKI branded programmers:

2. Pinout and connections

Description of test pads on calculator (click to enlarge):
pinout_cw1_pcb.jpg

Pad Meaning
P150 VPP - Programming voltage
P151 SCK - RST/SCK - reset/clock
P152 SDA - Communication Data

Connection between programmer and target (calculator):

Programmer pin Calculator Pad
3.3VOUT BT+ or P154 or battery contact (positive)
Vss BT- or P172 or battery contact (negative)
VTref Connect together with 3.3VOUT
RST_OUT/SCK P151
SDATA P152
Vpp P150 Only for flashing!

3. Preparing environment

Download and install LEXIDE-Ω development tools. If you install it do default directory then in file C:\U8Dev\Trg\ML620418.TRG replace target IDs:

from:

TARGETID00=47114180H
TARGETID32=0AF6298B4H
TARGETID64=11810003H

to:

TARGETID00=47119060H
TARGETID32=CF5304B2H
TARGETID64=00810004H

Do it for both sections: [UEASE] and [EASE1000] or just for your programmer.

4. Dumping rom

  • In menu start find and run DTU8 Debugger
  • In newly opened window select target:

    and click OK
  • If connection is correct you should see window asking for Security ID:
  • Enter this: FFFF FFFF 7379 6771 5961 4753 4143 3137 2329 1719 1113 2307.
    First 16 bytes of that password is stored in calculator rom at address 0xFDE0 in reversed order.
    I don't have idea yet from where come the last 8 bytes.
  • When password is accepted in main DTU8 window select from menu: File > Save program to file… and provide file name to store rom.
  • Rom will be saved to file

5. To do

  • Find out how last 8 bytes of security ID was obtained
  • Prepare procedure to flash rom
  • Create better target file as current one uses larger rom window than necessary
rom_dump_cw1.1720117520.txt.gz · Last modified: 2024/07/04 20:25 by cfx