Upload binary file to SPI flash rom?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Upload binary file to SPI flash rom?

2,457件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by 12345 on Tue May 24 00:20:40 MST 2011
Any example for upload binary file to SPI flash rom
    thru IPC1114?

       Possible to send binary to IPC thru hyperterminal?
    If yes, which protocol to be used?

       Appreciated any helps.
0 件の賞賛
返信
8 返答(返信)

2,328件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by 12345 on Mon Jun 20 00:49:35 MST 2011
Thanks. The problem is due to wrong formula. The codes are not mine.     



Quote: Kartman
Do you want us to assist with the problem or are you thinking aloud? If you require help, then give us some useful information about the problem. All I can suggest with the limited information provided is that there is a problem with your code. Going to a faster baud rate means your problems happen faster. Show us your code if you want to resolve the problem.

0 件の賞賛
返信

2,328件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Kartman on Thu Jun 09 07:23:19 MST 2011
Do you want us to assist with the problem or are you thinking aloud? If you require help, then give us some useful information about the problem. All I can suggest with the limited information provided is that there is a problem with your code. Going to a faster baud rate means your problems happen faster. Show us your code if you want to resolve the problem.
0 件の賞賛
返信

2,328件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by 12345 on Thu Jun 09 03:14:12 MST 2011
I set 115200, but everything went wrong.
   It seem like the UART NVIC_EnableIRQ affect the baud rate?
0 件の賞賛
返信

2,328件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by 12345 on Thu Jun 09 03:12:02 MST 2011
Tks for your suggestions.



Quote: Kartman
Chose a file transfer protocol. Eg XModem.
xmodem sends data in blocks of 128 bytes. You need to send an acknowlegement for each block. This gives you time to write to the spi flash.

Use circular buffers for your uart comms.


The NVIC is not called nested for no reason. So you can nest interrupts if you so desire. For this application i see no reason to nest. You could even have it work with no interrupts.

Anything I've mentioned here you don't understand? Try Google first then ask.

0 件の賞賛
返信

2,328件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Kartman on Wed Jun 08 06:51:59 MST 2011
Chose a file transfer protocol. Eg XModem.
xmodem sends data in blocks of 128 bytes. You need to send an acknowlegement for each block. This gives you time to write to the spi flash.

Use circular buffers for your uart comms.


The NVIC is not called nested for no reason. So you can nest interrupts if you so desire. For this application i see no reason to nest. You could even have it work with no interrupts.

Anything I've mentioned here you don't understand? Try Google first then ask.
0 件の賞賛
返信

2,328件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by 12345 on Wed Jun 08 03:02:10 MST 2011
Yes, I would like to use lpc1114 to act as a middle-man
  
   1) Send  double-byte Fonts Database(binary files around 2 MB) by using
      PC RS232 to LPC1114 UART. Need to use baud rate 115200, otherwise
      will be very slow.
   2) LPC1114 then (real-time)write the Fonts to SPI flash ROM.
   3) Eventually, LPC1114 will be able to retrieve and display double-byte
      fonts on LCD display.

   
   a. I would like to put the PageProgram inside UART interrupt handler.
    but the baud rate is 115200. How do I handle it?
 
   b. How can I disable UART interrupt ?

   c. LPC1114 interrupt is nested or sequential?

   d. PageProgram max can write 256 bytes each time?
  
   Appreciate any suggestions. 




Quote: NXP_Europe
Hello 12345,

please share us (parts) of your hardware you like to use and what the purpose is.
Do you want to use the lpc1114 as a bridge?

0 件の賞賛
返信

2,328件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by NXP_Europe on Wed May 25 12:45:23 MST 2011
Hello 12345,

please share us (parts) of your hardware you like to use and what the purpose is.
Do you want to use the lpc1114 as a bridge?
0 件の賞賛
返信

2,328件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by larryvc on Tue May 24 09:06:49 MST 2011
12345,

We will be able to help you more if you could explain in more detail what it is you are trying to do.

6789A:rolleyes:
0 件の賞賛
返信