MyMPx.org

MyMPx.org (http://mympx.org/forum/)
-   Dead Players (http://mympx.org/forum/dead-players/)
-   -   FW 4 iPod Nano 3G clone -ZX-6302L-TLSTK V2.0 ACU7515 (http://mympx.org/forum/dead-players/43377-fw-4-ipod-nano-3g-clone-zx-6302l-tlstk-v2-0-acu7515.html)

matteo123 18th Mar 2009 6:55 am

hi all!

At the end my mp4, get these values:


-r 8000 2

1F B3 .|


my player have the backlight on GPO A2!

LCM?

matteo123 18th Mar 2009 7:01 am

indeed, several times doing the same command (8000 r 2)
the variable changes each time:
Code:

-r 8000 2
      1f be
-r 8000 2
      c0 fd
-r 8000 2
      41 82
-r 8000 2
      c0 00
-r 8000 2
      00 fd
-r 8000 2
      41 c4
-r 8000 2
      20 10
-r 8000 2
      60 fd
-r 8000 2
      20 fd
-r 8000 2
      60 fd
-r 8000 2
      81 41
-r 8000 2
      60 00
-r 8000 2
      00 c4
-r 8000 2
      60 fd
.
.
.

is strange?

lolita 19th Mar 2009 12:39 am

Re: FW 4 iPod Nano 3G clone
 
matteo123, that is correct. This is the scan line register, which should change on each read since the controller is scanning the screen.

systembug, if it stays at 0 your controller is either the wrong type or it's not working.

The next step I will create some BRECs with only the LCM code for the various controller types and GPIOs, so you can try them and see which one works.

systembug 19th Mar 2009 4:23 am

Re: FW 4 iPod Nano 3G clone
 
Quote:

Originally Posted by lolita";p=&quot (Post 58979)
systembug, if it stays at 0 your controller is either the wrong type or it's not working.

Nope, it doesn't work... :x
Lolita, just a question: few days ago you said:
Quote:

Originally Posted by lolita";p=&quot (Post 58697)
It's for a player with the LCM on CE4, which is rare, and also now we know GXBL177 LCM uses a Renesas/Hitachi HD66789 or compatible controller, which is also very rare. But judging from those pictures, your player has external memory expansion which may explain why the LCM got moved to CE4 from its usual place on CE3. The display is definitely the right one for your player, but the connectivity might not be correct...

But the first line of the script is:
Code:

o 2 18  ; select CE3
CE3? But should not be CE4?
Also: S1MP3 Wiki says:

"chip select lines are active low. It is usually connected to CE3- of the SoC, although there have been schematics of players that have it on CE2-, CE4-, or even CE5- (in the case of a particular ACU7515 design)."

Indeed in this ACU7515 schematic the CS of the LCM is connected to the CE5 pin.

So I was thinking: it can be that the LCM can't oscillate because it isn't connected to CE3, and the first command does nothing?

matteo123 19th Mar 2009 7:02 am

Thanks, Lolita!

I remember you that i have:

LCD ID : fgd177slw-33b9-1
f177091s
3g-7626

CPU ID: AK1025

What should I do now? Where can I find an explanation?

lolita 19th Mar 2009 11:52 pm

Re: FW 4 iPod Nano 3G clone
 
Then you can try initializing the LCM using the other CE lines. Replace the 18 in "o 2 18" with

20 - CE4
28 - CE5

or if you want to be more certain, try to trace the signals to the LCM. If you provide more high-resolution pictures of the connections, we can help.

This is the pinout: http://img3.imageshack.us/img3/3936/dsc0390f.jpg

The most important pins are the D/C, RESET, and CS. Try to figure out which pins they are connected to on the CPU.

matteo123, start another thread. I can't help two in one thread.

systembug 20th Mar 2009 2:53 am

Re: FW 4 iPod Nano 3G clone
 
Quote:

Originally Posted by lolita";p=&quot (Post 59013)
Then you can try initializing the LCM using the other CE lines. Replace the 18 in "o 2 18" with

20 - CE4
28 - CE5

or if you want to be more certain, try to trace the signals to the LCM. If you provide more high-resolution pictures of the connections, we can help.

This is the pinout: http://img3.imageshack.us/img3/3936/dsc0390f.jpg

The most important pins are the D/C, RESET, and CS. Try to figure out which pins they are connected to on the CPU.

I have traced the signals with a digital multimeter and I have found this:
Code:

LCM CS    = ACU7515 pin 44 (CE5)
LCM RESET = ACU7515 pin 51 (GPO A0)
LCM D/C  = ACU7515 pin 37 (GPO B2)

GPO ports are working correctly:
Code:

o ee 0  ; LCM RESET = GPO A0 = +0.01 volts
o ee 1  ; LCM RESET = GPO A0 = +3.03 volts

Code:

; ... start init GPO B
o ef 0  ; set GPIO B in GPIO mode
o f1 0  ; disable all input on GPIO B
o f2 35 ; turn on all the GPIO B
o f0 35 ; enable output of GPIO B
; ... end init GPO B

o ef 0  ; LCM D/C  = GPO B2 = +0.01 volts
o ef 4  ; LCM D/C  = GPO B2 = +3.03 volts

The CE5 line, instead, seems to not work because it's always at +3.03 volts.
I have given a look to the CPU port map: the register 0x02 enables the CEx ports, more precisely:

- 0x00 enables CE0
- 0x08 enables CE1
- 0x10 enables CE2
- 0x18 enables CE3
- 0x20 enables CE4 (not present on ATJ2085)
- 0x28 enables CE5 (not present on ATJ2085)


So, sending a command "o 2 28", the CE5 line must go to an high logic level (+0.01 volts, because the CEx lines are active low)... and instead the line remains always at low logic level (+3.03 volts), as if the command does nothing on this pin... then the LCM remains always disabled :?

Assuming an electrical problem on this line (bad PCB wash) I've measured the electrical resistance between the VDD and the CS lines, and it's 1.55 megaohms: I don't think that this very high value of resistance can affect the CS line...

Lolita, I don't have understood a thing: the commands written above are for enable the CEx lines... but for disable them? Enabling one line automatically disable the others?

lolita 20th Mar 2009 10:09 pm

Re: FW 4 iPod Nano 3G clone
 
Inspecting the schematics and datasheets for the 7515, it seems that CE5 is the same pin as what would be GPO A3, so it is likely a multifunction pin. Try setting bit 3 of EE (GPO A port) to see if CE5 does enable. If it does, then the pin is not in CE mode but in GPO mode.

Good job finding the RESET and CD, that will make it much easier to get a working firmware on your device. Now if my guesses are correct, we only need to figure out how to get CE5 into CE mode.

Which CE gets activated when you write 28 to port 2? Only one can be active at a time, and if all the external ones are disabled then CE0 is enabled, which only selects the internal boot ROM.

matteo123 21st Mar 2009 6:41 am

hi lolita,
I have created new topic, but admin removed the topic... :(

what is my lcm?

systembug 23rd Mar 2009 1:16 am

Re: FW 4 iPod Nano 3G clone
 
Hi lolita, and good monday! :roll:
Quote:

Originally Posted by lolita";p=&quot (Post 59040)
Inspecting the schematics and datasheets for the 7515, it seems that CE5 is the same pin as what would be GPO A3, so it is likely a multifunction pin. Try setting bit 3 of EE (GPO A port) to see if CE5 does enable. If it does, then the pin is not in CE mode but in GPO mode.

Nope... setting GPO A3 bit (i.e. "o ee 8") seems to not affect the CE5 pin... :evil:
Quote:

Originally Posted by lolita";p=&quot (Post 59040)
Which CE gets activated when you write 28 to port 2? Only one can be active at a time, and if all the external ones are disabled then CE0 is enabled, which only selects the internal boot ROM.

Always assuming an electrical problem on CE5 line, with the help of the Samsung's NAND flash datasheet (page 4), I've traced the CE- pin and I've found that it's connected to the pin 43 (CE1) of the CPU, as described in the ACU7515 schematic (U2 chip at upper right, with CE2 line not used).
At this point, because "Only one can be active at a time", I've tried to select the CEx lines in order to show some variations on this pin:
Code:

o 2 00 ; CE1 = +3.03 volts
o 2 08 ; CE1 = +3.03 volts
o 2 10 ; CE1 = +3.03 volts
o 2 18 ; CE1 = +3.03 volts
o 2 20 ; CE1 = +3.03 volts
o 2 28 ; CE1 = +3.03 volts

It's very strange... it seems that the "o 2 xx" command does nothing on the CEx lines... :?:

In order to exclude any doubt about the proper functioning of the CE1 line I did another test: I've plugged the player into the PC (USB drive mode), then I've copied a big file into the flash memory, following the CE pin of the flash with the digital multimeter: the voltage was fluctuating (as a rapid enable/disable of the chip), returning to +3.03 volts (chip disabled) after the copy finished. So, the CE1 line seems to work correctly.

Can be that the command "o 2 xx" does not work because it need some "initialization" before?


All times are GMT -7. The time now is 3:56 am.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0 RC 2