Access Emwin fonts from external flash + LPC1788

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Access Emwin fonts from external flash + LPC1788

473 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by anuj.tanksali on Wed Sep 03 00:36:30 MST 2014
Hi,

I am using LPC1788 with external flash connected to EMC of LCP1788. reading and writing to flash is working fine.
I am using emwin library for displaying fonts.

I have defined the load region and execution region in Scatter file with sections containing the fonts and other const data.

LR_ROM2 0x90000000 0x00258EC4  {
01_CodeFile 0x90000000 0x00258EC4  { 
  *(CALIB72, CALIB48, CALIB28, CALIB24, CALIB20, BCKGND , SCR_SPF, SCR_PV, SCR_IRRA, SCR_BIO, UP_ARW, DN_ARW, SCR_SET, SCR_MAT, BCKDES, CLICK, BEEP, ENDOP, SCONN, RED_BUTTON, RED_BUT_MATERIAL )
   }
}

i extract the above region from my .AXF file by using fromelf utility to get .BIN file.The .BIN file is downloaded to external flash by PC utility.

My question - is the configuration of EMC and scatter file is enough for accessing the fonts in external flash. my internal code flash contains statements to set the font of button or text. Will the EMC directly access to location without any additional code.

Thanks in advance

Anuj

Labels (1)
0 Kudos
Reply
0 Replies