I am new to this board development environment. I am planning to program the flash using serial port. i.e, first to get the image into an internal buffer and then program to flash. So I have to use Hyperterminal to send the file using Xmodem protocol. Since I need to develop a host program to receive this data using XModem protocol, I need to control the serial port. I don’t want to use the serial driver provided with the development package. So I disable all the serial port interrupts in the CtrlRegA. So also I set the RTSRX bit in this register. And I think I just need to use Data Register to read/write(well… first read statusA reg and then data for reading). When the hyperTerminal starts sending data, I have received 28 bytes of data along with SOH, PKT#, ~pkt#. I also got RxFIFO over run in Status reg. When I clear that(RxFifo OverRun) don’t I receive the remaining data from the HyperTerminal. I didn’t get any data after clearing this status bit(FIFO Overrun). Any expert suggestions…
We usually recommend and that’s how we do is to program the flash as for firmware update by means of ftp-ing to it. The way we do it is you run a RAM based FTP Server (located in src/examples/naftpapp). Following this you can either update the flash content with your application image or any of the sample example applications (Say the HTTP application - src/examples/nahttp) by ftp-ing to the board.
Thanks for the response. We don’t have a Ethernet port on our board. Does your suggestion still holds…
You can program the flash via jtag then with out making use of IP. I have enclosed an application that shows how this is done. Examine the readme file closely.