Author Topic: Reverse engineer Cannon printer control panel  (Read 3113 times)

0 Members and 1 Guest are viewing this topic.

Offline kevinateevTopic starter

  • Regular Contributor
  • *
  • Posts: 53
  • Country: ca
Reverse engineer Cannon printer control panel
« on: April 23, 2022, 08:20:24 pm »
I've seen a number of people asking about this display.  No specs available.  It has a nice 40x50mm LCD and controls.  From inside, it looks like a generic CPU is driving the LCD panel and brokering button presses back to another CPU.

With the Cannon board and panel connected, the board starts up and generally works (vid link below).  The button presses and LED signals, I got, they are srial Tx/Rx at 19200 baud.

https://youtu.be/7dj8Rzvtl2A

The display driving signals, they look different.  SPI?  sdio?  Kind of looks like SDIO but there is no clock signal.  Also, there is this wierd 20ns blip.  Almost looks like scan lines but still not quite.  Any ideas?

The controller is marked mb87m8260

Overview:
* Screen Shot 2022-04-23 at 4.17.31 PM.png (52.32 kB. 991x381 - viewed 192 times.)

First burst:
* Screen Shot 2022-04-23 at 4.18.23 PM.png (71.13 kB. 1010x370 - viewed 114 times.)

Detailed lines?:
* Screen Shot 2022-04-23 at 4.18.40 PM.png (56.99 kB. 1016x371 - viewed 128 times.)

That blue trace, is either 20 or 40ns.  It always leads or lags with one edge matching either the yellow signal or the green signal exactly.  Some kind of framing signal?

The yellow trace looks like four bytes then some kind of framing high whilst the green line sends a response byte?  It goes on like that but that blue trace is all over the place.  Later on, the pattern changes.

Think it just may be UART in two directions at an odd bit rate (53000 bits/s).

1470310-3

Hmm, so, for the boot sequence in the video, there are about 1248 bytes of data transmitted from control board to the panel processor.  That certainly isn't enough for raw image data.  There appears to be a higher level protocol at play here.  There are fonts, shading, a dialog box with a paragraph of text.  There is 1Meg DRAM on the control panel.  There is no eeprom so if there is pre-loaded forms/fonts etc. then they are in a OTP part of that processor.  Not looking good.  If it is OTP with pre-set text etc. it is toast.  If it is something like  OpenGL, then it may be usable.  Real shame as the buttons are all streightforward to decode. The action wheel works quite nicely too.
« Last Edit: April 24, 2022, 01:42:22 am by kevinateev »
 

Offline kevinateevTopic starter

  • Regular Contributor
  • *
  • Posts: 53
  • Country: ca
Re: Reverse engineer Cannon printer control panel
« Reply #1 on: April 24, 2022, 12:59:19 pm »
So here are the initial encodings with send and receive to display MCU.  this would be initialization at boot along the splash screen showing "Cannon" in a nice font with shading at top and bottom of screen. 

** Also, I looked at that third blue line above on the scope, it is RMS 1.25V with a bit of jitter.  It carries no data information.  Not sure what it is for right now.  Brightness maybe?  Something to verify later.

Code: [Select]
Id Time[ns] 0:UART: TX Response
0 96307160 3
1 96508120 24
2 96709080 0
3 96910040 0
97095080 86
4 97309760 3
5 97510720 1D
6 97711640 11
7 97912600 9F
98097200 86
8 98305720 3
9 98506680 0
10 98707600 0
11 98908560 82
99093200 86
12 99303880 3
13 99504840 8E
14 99705800 0
15 99906760 3
100091520 86
16 100302040 3
17 100503000 0F
18 100703960 0
19 100904920 82
101089640 86
20 101298000 3
21 101498960 90
22 101699920 0F
23 101900880 FF
102085920 86
24 102293960 3
25 102494920 95
26 102695880 EF
27 102896840 87
103082200 86
28 103289920 3
29 103490880 11
30 103691840 80
31 103892800 79
104078840 A6
32 104290280 3
33 104491240 96
34 104692200 0
35 104893160 3
105079400 A6
36 105288480 3
37 105489440 17
38 105690400 0
39 105891360 EF
106077120 86
40 106286640 3
41 106487600 14
42 106688560 27
43 106889520 85
107074880 86
44 107282600 3
45 107483560 99
46 107684520 0
47 107885480 0
108070880 86
48 108278560 3
49 108479520 3
50 108680480 0
51 108881440 0
109067120 86
52 109278920 3
53 109479880 84
54 109680840 0
55 109881800 A0
110067120 86
56 110277120 3
57 110478040 5
58 110679000 82
59 110879960 BF
111065040 86
60 111273080 3
61 111474000 6
62 111674960 0
63 111875920 82
112061040 86
64 112269040 3
65 112469960 87
66 112670920 20
67 112871880 0
113057480 86
68 113267200 3
69 113468160 88
70 113669120 82
71 113870080 BF
114056120 A6
72 114265360 3
73 114466320 9A
74 114667280 0
75 114868240 0
115054680 A6
76 115265720 3
77 115466680 1B
78 115667640 F8
79 115868600 9F
116054760 86
80 116266120 3
81 116467080 82
82 116668040 0
83 116869000 0
117055040 86
84 117264280 3
85 117465240 A6
86 117666200 0
87 117867160 0
118053360 86
88 118330920 3
89 118531880 82
90 118732840 0
91 118933800 6
119118880 86
92 119556520 3
93 119757480 82
94 119958440 0
95 120159400 0
119343000 7
120344160 86
96 120561320 3
97 120762280 82
98 120963240 0
99 121164200 5
121348960 86
121562240 7
121755120 31
100 121775920 0C
101 121976880 27
122161800 6
122354880 12
122549240 A0
122741920 30
122936320 A6
102 123160560 3
103 123361520 82
104 123562440 0
105 123763400 0
123948960 86
106 124171960 0C
107 124372920 27
124558000 6
124751120 12
124944840 A0
125137840 30
125332200 A6
108 125552160 3
109 125753120 27
110 125954080 0
111 126155040 24
126340520 86
112 126605560 3
113 126806520 82
114 127007480 0
115 127208440 6
127393800 86
127607360 7
116 127817920 3
117 128018880 82
118 128219840 0
119 128420800 0
128605680 86
120 128818320 3
121 129019280 82
122 129220240 0
123 129421160 5
129605760 86
129820720 27
130014280 31
130418120 6
124 130030680 0C
125 130231640 27
130610680 12
130805080 80
130998080 30
131190920 86
126 131402040 3
127 131603000 82
128 131803960 0
129 132004920 0
132190600 86
130 132404640 0C
131 132605600 27
132791960 6
132984560 12
133178240 A0
133372360 10
133565280 86
132 133778240 3
133 133979200 27
134 134180160 0
135 134381120 24
134566080 86
136 140610840 3
137 140811800 82
138 141012760 0
139 141213720 6
141399760 A6
140 141617840 3
141 141818800 82
142 142019760 0
143 142220720 6
142405640 86
142617960 7
144 142825800 3
145 143026760 82
146 143227720 0
147 143428680 0
143614440 86
148 143830600 3
149 144031560 82
150 144232480 0
151 144433440 84
144619640 A6
176010360 7
152 176224680 3
153 176425640 82
154 176626600 0
155 176827560 0
177012320 86
End of initial splash screen
« Last Edit: April 24, 2022, 04:22:27 pm by kevinateev »
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 6939
  • Country: es
Re: Reverse engineer Cannon printer control panel
« Reply #2 on: April 24, 2022, 03:16:06 pm »
Seems the display might be a standalone system, receiving simple commands to load the screens.
OpenGL over UART? :-DD Disassemble the screen and make pictures!
« Last Edit: April 24, 2022, 03:17:54 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline kevinateevTopic starter

  • Regular Contributor
  • *
  • Posts: 53
  • Country: ca
Re: Reverse engineer Cannon printer control panel
« Reply #3 on: April 24, 2022, 04:18:51 pm »
Here is a link to the same LCD display.  This person has maybe slightly different version but all of the components and layout are the same.  I'd bet this is a common interface for Cannon.  I'd even bet this is a standard system they are using.

https://twitter.com/sandarkr/status/909745508406542342

By translation of the above chat, I'd gleaned that he has already taken apart the LCD fully and found no other controller.  The listed CPU is doing the higher level application stuff and the low level signals needed for LCD scanning etc.

If it is a standard system, there will be 3rd party documentation for it, just gotta find that.

I am seeing that there is a category of Intelligent LCD systems out there that manufacturers use.

Like this one https://www.mouser.ca/new/futaba/futaba-lc-series-modules/ or this one https://www.lcd-module.com/produkte/edip.html maybe these guys https://www.stoneitech.com/civil-type/

This one looks promising, they have one in the 2" size range (this one is 2.6")  https://macnicadisplays.com/ortustech/ortustech-blanview-technology/.  Actually, this source is only raw displays, no intelligence.

However, now this is looking close, they show a printer as an example use case!  https://macnicadisplays.com/macnica-displays/
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 6939
  • Country: es
Re: Reverse engineer Cannon printer control panel
« Reply #4 on: April 24, 2022, 09:20:20 pm »
Seems a controller-less display, running over 4-lane mipi-dsi, you can see them in right side of the connector.
Not for DIY, it's a constant high-speed flow of data, similar to HDMI or DisplayPort.
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline kevinateevTopic starter

  • Regular Contributor
  • *
  • Posts: 53
  • Country: ca
Re: Reverse engineer Cannon printer control panel
« Reply #5 on: April 25, 2022, 11:49:49 am »
Here is a photo of my actual device.  A controller-less display with a dedicated MCU?  Hence the high level signals.  The rom for this thing is likely in this baked in chip isn't it.  Question is, is it a general purpose kind of rom or is it filled with specific forms and content just for this Cannon printer.

 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 6939
  • Country: es
Re: Reverse engineer Cannon printer control panel
« Reply #6 on: April 25, 2022, 05:49:57 pm »
That controller does everything and looks like a custom design for Canon, no datasheet whatsoever.
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline free_electron

  • Super Contributor
  • ***
  • Posts: 9056
  • Country: us
    • SiliconValleyGarage
Re: Reverse engineer Cannon printer control panel
« Reply #7 on: April 25, 2022, 05:58:22 pm »
That controller is made by Fujitsi. Borged by Oki.

Dirt cheap silver paste via technology... can't even bother to use true through-hole plating. probably a phenolic board.
Professional Electron Wrangler.
Any comments, or points of view expressed, are my own and not endorsed , induced or compensated by my employer(s).
 

Offline amyk

  • Super Contributor
  • ***
  • Posts: 9179
Re: Reverse engineer Cannon printer control panel
« Reply #8 on: April 26, 2022, 12:22:56 am »
That controller does everything and looks like a custom design for Canon, no datasheet whatsoever.
Probably based on other Fujitsu microcontrollers. Datasheet will likely be in Japanese if you could find one.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf

 

- - -
-->