Re: how to write an image file into flash memory in linux

From: Grant Edwards (grante_at_visi.com)
Date: 02/05/05


Date: 05 Feb 2005 05:22:17 GMT

On 2005-02-05, uresh.kuruhuri@gmail.com <uresh.kuruhuri@gmail.com> wrote:

> I have a task to get it done. it is to write an image file
> downloaded from a http server and to load it in the FLASH
> memory.

Into what flash memory?

> how do i do this under the Linux environment using C.

You don't need C.

1) Put the flash chip in the programmer.

2) Connect the serial port on the programmer to the PC serial
   port.

3) Set the baud rate and parity using stty.

4) Tell the programmer to load a hex file from the serial port.

5) "cat" the hex file out the serial port.

6) Push the "program" button on the programmer.

> Help in this regard is expected from all the peers....

I'm no peer, just a commoner....

But seriously, your question is so vague it's almost
meaningless. There is no chance at all you'll get a useful
answer.

http://www.catb.org/~esr/faqs/smart-questions.html

-- 
Grant Edwards                   grante             Yow!  Yow! We're going to
                                  at               a new disco!
                               visi.com            


Relevant Pages

  • Re: How Do I Configure Serial Port Correctly?
    ... Some hook is being saved since the serial port is being ... even a certified real computer expert. ... | By the way, I'm also a programmer. ... |> | I reboot, ...
    (microsoft.public.windowsxp.hardware)
  • Re: Learning Macromedia Flash
    ... Wow, Dan. ... Typical programmer mentality - overly judgemental. ... There are very few instances where Flash is the right ... >who have *no* skills in design, advertising, marketing or web development. ...
    (rec.music.makers.percussion)
  • Re: new Z180 based SBC beta testing
    ... way and you can just run straight serial port console for CP/M. ... It also supports 27C040 EPROM and 29C040 Flash ... I added a pin from a latch to make up for the missing ... choose between IDE and the parallel expansion port. ...
    (comp.os.cpm)
  • Re: Programmer mood
    ... systems you people are using along with operating systems. ... flash because it is compatiable with every operating system and ... OS-specific programmer at all). ... I use Firefox as my browser. ...
    (comp.programming)
  • Re: Pic programmer
    ... Note this programmer is specifically for EPROM based PICs. ... TxD is a serial port pin. ... This is a serial port programmer. ... The High Voltage Programmer will service all of your needs. ...
    (sci.electronics.basics)