View Single Post
  #564 (permalink)  
Old 1st May 2010, 6:28 am
flasher86 flasher86 is offline
Member
I love my MPx player
 
Join Date: Jun 2009
Posts: 174
Default

Quote:
Originally Posted by sig11 View Post
It is very bad..
Probably needed to use another port?
What do you suggest? I tried to make driver for my touchpad but with no success, I don't have enough experience. I even asked WANNABE to disassemble my original firmware to elicit this driver, but ASM code is too confusing to me so I gave up.

Quote:
Originally Posted by sig11 View Post
I have disabled any interrupt
#define DMA_DISABLE_INTERRUPT { read_creg(%imask, imask_tmp); bitclear_creg(%imask, 15); }
#define DMA_ENABLE_INTERRUPT { write_creg(%imask, imask_tmp);}

is this enough? I used it to disable interrupt while managing SDRAM transfer. But I always enable it once transfer is done. If I disable it completely, it wont crash then? How about this screen refresh, it refreshes screen after main() is ended. Are you uploading graphics directly to LCD_DATA memory?

Quote:
Originally Posted by sig11 View Post
My application works above 6 hours from battery
No wonder why, if you can manipulate sys freq in game Another improvement would be turning off the screen. I was messing around with the screen, and I managed to manipulate backlight driver of the screen that it can gradually get darker or brighter but I don't know if it can be introduced to RKP platform because of different LCD drivers (tested only on mine).

Last edited by flasher86; 1st May 2010 at 6:35 am.
Reply With Quote