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:13
Read: times


 
#86196 - You need to program the Flash!
Responding to: ???'s previous message
Ashish Sin said:
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.

You are confusing the Keil tools - which run on your PC - with your program - which runs in your target hardware!

The bitmap is data that needs to be handled by your program, running in your target hardware.

You are going to have to write some software to run in your target hardware that will receive the bitmap data (eg, via the USB port) and write it into the Flash.

You need to have a search through the Cypress site for Application Notes that do similar things.
eg, my ADSL "modem" has a Cypress USB chip in it; when you plug its USB cable in, the PC driver automatically downloads all the ADSL "modem" stuff to it - I think the Cypress chip just dumps this to a big RAM, and there's an ARM-based thingy that does all the clever ADSL stuff.

I think you could use the same principle?

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