Author Topic: Classpad II fx-CP400 hardware - a hidden SD card reader ?  (Read 22140 times)

0 Members and 1 Guest are viewing this topic.

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Classpad II fx-CP400 hardware - a hidden SD card reader ?
« on: July 23, 2013, 10:15:55 pm »
In a previous TI-Planet news, Adriweb published a software test of the Casio ClassPad II fx-CP400 sample he received from TSPromotion.

Today let's discover its hardware together.

The calculator is quite easy to open once you get the trick. After removing all 6 screws on the back (including 4 inside the battery compartement), the entire front plate (screen and keyboard included) must be detached from the case by forcing on one of the corners :)




And now, you get the ClassPad II fx-CP400 hardware:

The hardware consists of two distinct PCBs :
  • the power supply board RJA527047-001V01 (LY777-E4W)
  • the motherboard RJA527046-001V02 (LY777-1)
It seems that is the second version of the motherboard, but of the first version of the power supply board.
We can take that with two distinct boards, a future version powered by a rechargeable battery would be quite easy, and the system already supports it.



The motherboard seems to have a setup close to the ones found on most recent Casio graphic calculators USB (Casio fx-9750Gii/fx-9860Gii, Casio Prizm fx-CG10/20).

It's built around 3 integrated chipsets:
  • at position U101, a processor chip on which we can't get more information for now, as it's been drowned in a solid epoxy drop (which is usual with Casio)
  • at position U231, a huge SDRAM memory chip - M12L128168A from ESMT - 2Mbits x 16-bits x 4 banks, which results in a 2 MB RAM
  • at position U221, a NAND Flash memory chip - S99 50338 from Spansion - however its datasheet is not public
About the RAM, the RAM chip was also 2MB on the Casio Prizm, but only 64KB were available for the user. And here in a similar way, we've only got 512 KB available for the user! >:(

About the NAND Flash ROM, if the informations found on the official website are accurate, the chip should have a capacity of 32MB, but only 5.5MB would remain available for the end user.



About the connectivity, a huge surprise awaits us. We've got:
  • at positions HS401 et CN501, the connections to the power supply board
  • at position CN401, the mini-Jack connector to transfer data between calcuators
  • at position CN102, the mini-USB connector for a computer
  • at position CN703, an unsoldered connector! :o

This CN703 connector with its pinout of 9 contacts and one lateral contact, and by its shape that gives an empty space on the board is clearly a connector for an SD memory card reader! :D
Unlike older Casio Classpad models, it is possible to add a SD card memory reader to the ClassPad II! ;D




We're not sure if Casio has a future project for this since it would be a forbidden module by exam regulations of some countries (including France).
Traces of SD memory card reader support were already found on TI-Nspire and even on Casio Prizm fx-CG10/20 operating systems, although they were clearly missing from the hardware.
In fact, it seems those readers are used during hardware development where they give a way to reprogram or emulate easily the content of the ROM memory during tests - and so avoid permanently bricking the calculator prototypes with bad code: you just need to switch the SD card.

However, the community could clearly wonder if there wouldn't be some possibility for us to add a working SD card reader ourselves ;)



Source:
http://tiplanet.org/forum/viewtopic.php?t=12716&lang=en
« Last Edit: July 23, 2013, 10:20:44 pm by critor »
TI-Planet co-admin.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Classpad II fx-CP400 hardware - a hidden SD card reader ?
« Reply #1 on: July 23, 2013, 10:21:55 pm »
Darn it's a shame that they include such stuff but never end up using it. If they changed their mind and added SD card support that calc would have ruled. D: Good find, though ;)

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Re: Classpad II fx-CP400 hardware - a hidden SD card reader ?
« Reply #2 on: July 23, 2013, 10:24:10 pm »
And that's why we shall add it ourselves! ;)
TI-Planet co-admin.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Classpad II fx-CP400 hardware - a hidden SD card reader ?
« Reply #3 on: July 23, 2013, 11:50:46 pm »
Indeed, but if that happens, it would need to not require much hardware modding, since many people aren't good with wires and especially soldering. Just remember the few bricked Nspires due to connecting cables to the wrong pin in the port at the bottom of the calc. D:

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Re: Classpad II fx-CP400 hardware - a hidden SD card reader ?
« Reply #4 on: July 24, 2013, 05:15:18 am »
Just remember the few bricked Nspires due to connecting cables to the wrong pin in the port at the bottom of the calc. D:

I haven't heard of such thing...
TI-Planet co-admin.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Re: Re: Classpad II fx-CP400 hardware - a hidden SD card reader ?
« Reply #5 on: July 24, 2013, 11:40:00 am »
Just remember the few bricked Nspires due to connecting cables to the wrong pin in the port at the bottom of the calc. D:

I haven't heard of such thing...
it was in one thread by that one Omni member that has an extremely long nickname starting with Rhombi or something. Apparently if the wire touched one wrong pin in particular it could fry the calc. I think it was when he wanted to try Nspire Audio Player.

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Classpad II fx-CP400 hardware - a hidden SD card reader ?
« Reply #6 on: July 24, 2013, 02:17:40 pm »
That was Rhombicuboctahedron. :P And yeah I heard of that issue too. Maybe it was just a short or something ?

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: Classpad II fx-CP400 hardware - a hidden SD card reader ?
« Reply #7 on: July 24, 2013, 02:54:44 pm »
Some corrections:
SDRAM capacity is 16 MB
NOR ROM capacity is 64 MB

Key sequences:
Test mode 1: [=]+[EXP]+[Clear], then [z]+[Cursor_left]
Test mode 2: [z]+[EXP]+[Clear], then [z]+[Cursor_left]
OS update: [^]+[EXP]+[Clear]+RESTART


Very nice (and welcome here), where did you find all that ? :)
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Re: Classpad II fx-CP400 hardware - a hidden SD card reader ?
« Reply #8 on: July 24, 2013, 06:40:26 pm »
Some corrections:
SDRAM capacity is 16 MB

Thank you.


Then 512KB RAM usable among 16MB RAMis even more unacceptable.

What are your sources by the way?
For me, 2Mbits x 16-bits x 4banks = 2MB.
« Last Edit: July 25, 2013, 10:56:09 am by critor »
TI-Planet co-admin.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Classpad II fx-CP400 hardware - a hidden SD card reader ?
« Reply #9 on: July 24, 2013, 06:43:29 pm »
Indeed. Is that extra RAM just used by the screen and as video memory or something? ??? One screen takes 337920 bytes of RAM. (assuming it's 16 bits)
« Last Edit: July 24, 2013, 06:48:11 pm by DJ Omnimaga »

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: Classpad II fx-CP400 hardware - a hidden SD card reader ?
« Reply #10 on: July 24, 2013, 06:47:47 pm »
For me, 2Mbits x 16-bits x 4banks = 2MB.
Here's why I believe you are wrong about the "2Mbits" : The datasheet says "2M" and not 2 MBits.
Then, it's 2 mega (millions) * 16 bits (2 bytes) * 4 banks, which is, for me : 2 millions * 2 bytes, four times. Which is 4 MB, 4 times= 16 MB.

Your "2MBits x 16-bits" means that units-wise the result would be in bitsĀ² :P

So, yeah, it's neither MBytes nor MBits, just mega, for "million", hence the 16 MB as explained above.

That's what I believe at least and looks right with other similar chips with same info.


Anyway, I'm off to bed now :P
« Last Edit: July 24, 2013, 06:48:18 pm by adriweb »
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline SimonLothar

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 129
  • Rating: +35/-1
    • View Profile
Re: Classpad II fx-CP400 hardware - a hidden SD card reader ?
« Reply #11 on: January 31, 2015, 10:14:09 am »
The LCD-controller of the CP400 seems to be some R61526- or R61581-clone. It identifies itself as R61523, when queried with command 0xBF.
« Last Edit: January 31, 2015, 11:25:04 am by SimonLothar »
I'll be back.

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: Classpad II fx-CP400 hardware - a hidden SD card reader ?
« Reply #12 on: January 31, 2015, 04:01:34 pm »
The LCD-controller of the CP400 seems to be some R61526- or R61581-clone. It identifies itself as R61523, when queried with command 0xBF.
Interesting ! How did you manage to do such a query ? :)
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline SimonLothar

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 129
  • Rating: +35/-1
    • View Profile
Re: Classpad II fx-CP400 hardware - a hidden SD card reader ?
« Reply #13 on: February 01, 2015, 04:12:00 am »
I used the very last door, they left open. Even on the CP400 the good old protocol 7.00 function 0x56 (Upload'n'Run) still works.
(BTW: Perhaps some moderator could move this topic to the CASIO-calculators section)
« Last Edit: February 01, 2015, 06:37:46 am by SimonLothar »
I'll be back.

Offline TeamFX

  • LV3 Member (Next: 100)
  • ***
  • Posts: 49
  • Rating: +9/-0
    • View Profile
Re: Classpad II fx-CP400 hardware - a hidden SD card reader ?
« Reply #14 on: February 01, 2015, 05:36:55 am »