Been testing out the rk2606 sourcecode on my player.
Looking at the Lcd settings here is what I've been doing with PowerOnLcdinit()
Quote:
__attribute__((section(".sys_init_text,\"ax\"")))
void PowerOnLcdinit()// lcd settings when you first power on. Where the white screen problems and
//reversed display problems originate.
{
LCD_Reg_Set(0x0001,0x001B);//knob orig good
//LCD_Reg_Set(0x0001,0x011b);//knob reverses and inverts display!
LCD_Reg_Set(0x0002,0x0700);
LCD_Reg_Set(0x0003,0x7030);//knob orig good
//LCD_Reg_Set(0x0003,0x7055);//knob mixes display up!
//LCD_Reg_Set(0x0003,0x7100);//knob reverses display!
//LCD_Reg_Set(0x0003,0x8000);//knob makes white screen
//
//
LCD_Reg_Set(0x0007,0x0137);
LCD_Reg_Set(0x0008,0x0004);
//
//
//
//
LCD_Reg_Set(0x0010,0x4040);
LCD_Reg_Set(0x0011,0x0002);
//LCD_Reg_Set(0x0012,0x081d);//knob contrast too dark
LCD_Reg_Set(0x0012,0x0811);//knob display contrast ok
//LCD_Reg_Set(0x0012,0x0809);//knob contrast very high
//LCD_Reg_Set(0x0012,0x0800);//knob contrast increased too high!
LCD_Reg_Set(0x0013,0x3509);
//
//
//
LCD_Reg_Set(0x0021,0x0000);
//
//
//
LCD_Reg_Set(0x0030,0x0000);
LCD_Reg_Set(0x0031,0x0502);
LCD_Reg_Set(0x0032,0x0106);
LCD_Reg_Set(0x0033,0x0301);
LCD_Reg_Set(0x0034,0x0206);
LCD_Reg_Set(0x0035,0x0605);
LCD_Reg_Set(0x0036,0x0707);
LCD_Reg_Set(0x0037,0x0103);
LCD_Reg_Set(0x0038,0x0000);
LCD_Reg_Set(0x0039,0x0000);
LCD_Reg_Set(0x0040,0x0000);
LCD_Reg_Set(0x0041,0x0000);
LCD_Reg_Set(0x0042,0xEF00);
LCD_Reg_Set(0x0043,0x0000);
LCD_Reg_Set(0x0044,0xaf00);
LCD_Reg_Set(0x0045,0xef00);
//
LCD_Reg_Set(0x000b,0x8000);
}
|
Found the settings that affect the Contrast, And the Lcd reversal problem.
After playing around got the display looking pretty good now. :wink:
Need to look at the button settings a bit to try and get that in order, but the firmware is already usable on my player, I can navigate and play Mp3s and everything else seems to work as it should. :wink:
When I do a bit more work on the source and put more comments in I will upload it.
I am trying to see it anything can be done to help users who have lost their firmware and comment in the source the bits you need to tweak.
If anyone else want to have a play please bear in mind you must have a working backup firmware or you risk bricking your player and this firmware is only good for 2" rk2606 Rockchips with standard buttons, not touchscreens.