Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/31/05 13:00
Read: times


 
#86193 - Dump values from .dat file to flash mem.
I have a GPG640x480 B/W LCDisplay. I connect it to my computer interfacing it with a Cypress CY7C64613 USB Microcontroller(8051). I also have a 4 MB AM29LV004BT Flash memory and a 512 KB RAM on board. I have written a code in C to generate patterns which I am being successfully able to display on the LCD.

Now what I have done is decoded a 640x480 .bmp file, read all its pixels and dumped their value into a file. My probelem is, how do I dump these values from this file on my computer, to the flash memory, so that I can just read data values from flash and display these pixels on the LCD

I could just open the file in c, read all values and dump them onto the flash, but since keil c51 doesnt support file handling (fopen,etc) I have no clue as to how to do it. Obviously if I just declare the vale of all the 307,200 pixels as an array, my program wouldnt compile and give an error: 'declaration' :object too large.

Any suggestions??

List of 10 messages in thread
TopicAuthorDate
Dump values from .dat file to flash mem.            01/01/70 00:00      
   You need to program the Flash!            01/01/70 00:00      
      More details on my problem            01/01/70 00:00      
         File Transfer            01/01/70 00:00      
            Not X-Modem?            01/01/70 00:00      
   download file to flash?            01/01/70 00:00      
      Confused!            01/01/70 00:00      
         Me too!            01/01/70 00:00      
            Code Space?            01/01/70 00:00      
            Ok, but beware            01/01/70 00:00      

Back to Subject List