myMPX
Advertisement


Go Back MyMPx.org > MyMPx.org Forum > General Discussion

Hooray!!! Rockchip SDK!
Like Tree1Likes
Reply
Post New Thread
 
LinkBack Thread Tools
  #291 (permalink)  
Old 19th Sep 2009, 3:39 pm
knob's Avatar
Senior Member
Valued Member
 
Join Date: May 2007
Posts: 1,285
Default


My screen is working now too. But it is flickering badly. Just copied the settings from the dump above into hw_lli9320.c too.

Needs some more work, but its a lot better at least I can make out the menu option I'm in.. just
My start/stop/play/pause button works ok and so do the navigation buttons, but they are mixed up.
__________________
-----------------------------------------------------------------------------------------------------------

Last edited by knob; 29th Sep 2009 at 2:28 pm.
Reply With Quote
  #292 (permalink)  
Old 19th Sep 2009, 3:49 pm
Member
Keen on MPx players
 
Join Date: Sep 2007
Posts: 68
Default

No, I dont have any ideas, this could be related to just anything that follows the lcd init and currently we dont have any real debugging capabilities to pin it down. I never compiled the firmware myself but I wrote some tool to make the hidden partition show up. It basically sends a SCSI Read12 command with LBA=0xFFFFFFFE and LUN=0xE0 (bottom of BulkOnly.c). If the USB mass storage is working you could plugin some more cases there basically establishing a communication link. You could even upload code and execute it on the device, fetch messages, etc...
If that works you could define some debug-printf alike function that writes messages to a buffer that you later on fetch via the above method. What do you think? Btw, if youre on linux I can send you my SCSI code as a starting point for the host side app. If youre on Windows I think its possible to emulate these SCSI commands with bulk transfers using libusb. There is some firmware tool for rk26xx players that does just that SourceForge.net Repository - [s1mp3] Index of /trunk/rockchip/rkfwx (iirc).

Good luck!

knob, you used the c code I pasted? Did you compare it to the disassembly? Also did you keep the ScanDirSet and Standby functions from the original ILI? These may not work with your lcd and may lead to this behaviour. I assume you set LCD_W and all other defined appropriately.

Last edited by AleMaxx; 19th Sep 2009 at 3:59 pm.
Reply With Quote
  #293 (permalink)  
Old 19th Sep 2009, 4:11 pm
knob's Avatar
Senior Member
Valued Member
 
Join Date: May 2007
Posts: 1,285
Default

I'll recheck the code against the disassembly. LCD_W and LCD_H I already set for the emulator.

Yes I did keep the ScanDirSet and Standby functions from the original ILI so that might be the problem. Thanks for your help we are making good progress.
__________________
-----------------------------------------------------------------------------------------------------------
Reply With Quote
  #294 (permalink)  
Old 19th Sep 2009, 4:21 pm
Member
Keen on MPx players
 
Join Date: Sep 2007
Posts: 68
Default

Well, your init code looks to be much more similar to fd5420 then to ili9320 and for the fd5420 ScanDirSet is just left empty. If that doesnt fix it maybe try to plug in the other functions that I posted where they seem to make sense. Although the one that takes the array/struct argument doesnt seem to fit anywhere I think.
Reply With Quote
  #295 (permalink)  
Old 20th Sep 2009, 1:46 am
Member
I love my MPx player
 
Join Date: Jun 2009
Posts: 174
Default

Hey, I am thinking of buying a new player, 2706 based. And I wonder which one would be the best for my needs.

My player should have:
- normal buttons, on the right (not on upper or lower side)
- no touch screen
- no big screen
- components supported by SDK, so I would create some stuff

Any tips?

Last edited by flasher86; 20th Sep 2009 at 2:04 am.
Reply With Quote
  #296 (permalink)  
Old 20th Sep 2009, 2:13 am
knob's Avatar
Senior Member
Valued Member
 
Join Date: May 2007
Posts: 1,285
Default

This is the best Rk27xx I found so far for the price, its the one I am working on now:-
8GB 3 16:9 QVGA MP3 MP4 MP5 Player FQ5-8R [MP4] - $43.74 : TinyDeal Direct Online Store, MP4/MP3 Player, Mobile Phone, Memory Card, Accessories

you can get a 4GB for a bit less too
__________________
-----------------------------------------------------------------------------------------------------------
Reply With Quote
  #297 (permalink)  
Old 20th Sep 2009, 12:18 pm
knob's Avatar
Senior Member
Valued Member
 
Join Date: May 2007
Posts: 1,285
Default

Got the display perfect now just had to set the right screen in sysconfig.h to 400x240:-
Quote:
//LCD ¿í¶ÈºÍ¸ß¶È.
#define LCD_W 400//knob
#define LCD_H 240
Only thing now is the setting is not right in standby mode, but I'll try the setting from fd5420 as AleMaxx as suggested. The settings from the dump were spot on. Thanks to Alemaxx.

update yes!. The display is fully sorted now. Just copied the standby setting from fd5420.
Noticed the loudspeaker doesn't work when the earphone is unplugged. Need to look at that next.

Click the image to open in full size.
__________________
-----------------------------------------------------------------------------------------------------------

Last edited by knob; 20th Sep 2009 at 1:21 pm.
Reply With Quote
Sponsored Links
  #298 (permalink)  
Old 21st Sep 2009, 2:33 am
Member
I love my MPx player
 
Join Date: Jun 2009
Posts: 174
Default

Well, knob, your player seems to be good. Resolution 400x240 is just perfect for me, although are those buttons doing their job? I mean, isn't it tiresome to click them? I want to have player with really nice and easy keyboard input. I looked through the list of functions and I noticed that it has fewer functions that SDK has. Is it correct? By creating your firmware you will get NES and AlbumArt support?

And one more thing, I am from Poland, how to check on that site the cost of shipment?
Reply With Quote
  #299 (permalink)  
Old 21st Sep 2009, 5:15 am
Member
Keen on MPx players
 
Join Date: Sep 2007
Posts: 68
Default

Hi flasher86,
I dont know what particular features this player has, but from the button layout I would say its not suited for playing nes-games. Actually I havent seen any rockchip player that has a game-friendly keyboard layout. If youre looking for such kind of player I would recommend one of these Sunplus SPMP305x players (Main Page - Sp305x wiki). The CPU is less powerful, its an ARM9 @ approx. 168MHz but its an ARM9 so it has an MMU which the rk27s ARM7(+dsp) lacks.
The shipping costs at tinydeal are zero Zloty I think (top of page).

Regards
Reply With Quote
  #300 (permalink)  
Old 21st Sep 2009, 5:27 am
Member
I love my MPx player
 
Join Date: Jun 2009
Posts: 174
Default

Actually I am not so interested in games. I would stick to rockchip. But despite unfortunate button layout it is possible to expand functionality of the player, assuming that SDK RK2706 is even more up to date than original firmware. I'm just thinking

For example, on seller-site knob gave it says that it doesn't support FLAC nor APE, while SDK includes the codecs for them. Though I may be wrong at this.

Last edited by flasher86; 21st Sep 2009 at 5:31 am.
Reply With Quote
Reply

Sponsored Links



Similar Threads
Thread Thread Starter Forum Replies Last Post
NEW rockchip player (Rockchip RK27xx series) availability knob General Discussion 38 12th Nov 2008 10:47 am
Rockchip Editor: for Rockchip 27xx ALP1987 Support and How To 6 17th Oct 2008 5:25 pm


All times are GMT -7. The time now is 5:38 pm.


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

Designed by indiqo.media