Quote:
Originally Posted by knob
My player locked up at first try.
Realised I'd got some files with names longer than 18 chars on my miniSD, reduced them and it's now working fine!
So flash, you finally have success with file loading by .rkp. congratulations!
The font looks great also, out of curiosity tried it out on the main flash memory and got the warning message as expected, this is really good stuff.
You already have most of the components of a picture viewer application.
|
What names exactly did you have, so it locked up? Maybe it wasn't about the length but about unicode characters? They will be supported. Because I also have very long names on my SD card, but in my case they were just cut off. Could you copy and paste the name of a file that causes hanging?
------------------
EDIT: I figured out why your player had locked up. My function for drawing text was awfully slow! And if executing one cycle of main function takes longer than 2 secs it locks up. Before to draw one full line of text took 245ms! But I optimized this function and now its only 38ms :-))
------------------
BTW. Do you know how big SDRAM is in those players? If big enough then it will be possible to speed up the interface: scrolling file list, and such.