This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

lpc23xx iap firmware update

Hi , I want to lpc23xx firmware update (iap) but I do not understand a few issues.

- How , hex file convert to bin file , I try to program the following web site but has failed but it did not
"http://www.keil.com/download/docs/7.asp"

- open the .bin file use notepad , charecters not 1101010 Is it true that ?

- Can I read to .bin file than write to program. Examples ,

char frmupdate []= {1,0,1,0,0,1,}..........

Parents
  • Just build an axf file (elf format) and then run fromelf.exe to convert to a bin file.

    Next thing - a binary file doesn't contain any character sequences of 0 and 1. Each character is within the full range 0..255. It's called binary because it is using the full range of the characters without intention of the information to be human readable.

    Finally - having one application with an array frmupdate[] = {...} containing the new program would not be a good idea. That would imply that the old application already contains a full copy of the new binary. So why even have that old binary in the first place if the bug-fix is already available?

    An application that uses IAP to update the firmware would obviously retrieve the new firmware from some other source. Maybe receiving it using a serial port. Maybe from a memory card. Maybe using USB. Maybe using Ethernet.

Reply
  • Just build an axf file (elf format) and then run fromelf.exe to convert to a bin file.

    Next thing - a binary file doesn't contain any character sequences of 0 and 1. Each character is within the full range 0..255. It's called binary because it is using the full range of the characters without intention of the information to be human readable.

    Finally - having one application with an array frmupdate[] = {...} containing the new program would not be a good idea. That would imply that the old application already contains a full copy of the new binary. So why even have that old binary in the first place if the bug-fix is already available?

    An application that uses IAP to update the firmware would obviously retrieve the new firmware from some other source. Maybe receiving it using a serial port. Maybe from a memory card. Maybe using USB. Maybe using Ethernet.

Children