We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
I have successfully run my board with LPC1788 + Emwin graphical library I have kept all the Emwin fonts in external NAND. A PC utility downloads the Emwin Fonts binary image file by RS232 on to NAND flash.
On my boot up i copy the fonts from NAND flash to my SDRAM which is connected to the EMC of LPC1788. I have made the relevant settings in my Scatter file to map the fonts to my SDRAM
I initially program my board with hex file using ISP and after that the font file is transferred from PC to my board using RS232.
I generate my binary image of font by fromelf utility. All works well when i program all the files i.e. hex + font file at a time. second time i dont program the font file as it is already present in my NAND flash but if a change is made in hex and i program only the hex file then i get hard fault.
I have verified the data multiple times. it is always correct and also the addresses are same on every compilation.
As the change is only in code not actual font files and addresses are also same it should work. But not working if i make a change in hex and then program.
Please help as am stuck up Thanks in advance
Anuj
Hi; i was that problem too,but i solve it:)
i suggest when you are writing to nand flash you initial the nand but when you want read only from nand you didnt initial the nand.
best regard