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

Making an application updateable using IAP in P89LPC936?

Hi all,
I was wondering whether it is possible to make my application firmware updateable using IAP. I readed some application notes but did not become much wiser, if any of you could help me with this.
Best regards
Sarsam

  • Thank you Erik again for the reply,
    I ment to say that the file is then encrypted and then at the microprocessor decrypted back. I only want to know how firmware update works actually, how the application is made suitable for it and whether IAP is suitable to protect your code from outside and make the application updateable.
    How i tought to work on it
    1- the application is set into update mode((for example)on power on the application waits about 2 seconds for the signal on a pin to be high, if within 2 sec the pin is set high, the device goes into update mode)
    2- in the update mode the serial port is enabled at some certain baudrate. The file is then readed trough the serial port and accordingly programmed via the IAP method. Then the file can even be encrypted or decrypted in the application which is good for protecting your program from copying.

    best regards,

    Sarsam

  • How i tought to work on it

    KISS

    you need to have a look at NoTouch for lpc93x at http://www.esacademy.com

    Erik

  • Thank you mate,
    i will look at it
    best regards,
    sarsam

  • To Erik,
    Dear friend,
    You are helping me quiet alot, thank you.
    I have some questions,
    After calling the IAP, is the chip then in the ISP mode? how to make a simple boot which is able to manupulate the bytes such that the data is currupted to the outside world while downloading to the chip and then manupulating the data back to the original in that simple boot. The ISP of LPC935 starts at 0x1FFF, in the decompiled file at the uvision3 i do not see it. Is it that we cant modify the ISP boot vector at all, or will our simple selfmade bootloader work also.
    Awaiting for your reply,
    Thank all the friends involved in this thread, you all are very helpfull.
    Best regards,
    Sarsam

  • After calling the IAP, is the chip then in the ISP mode?
    You are mixing ISP/IAP anyhow, after eithet do a reset.

    how to make a simple boot which is able to manupulate the bytes such that the data is currupted to the outside world while downloading to the chip and then manupulating the data back to the original in that simple boot.
    A boot is a mistake, the '51 derivatives are Read Only Program Memory intended, so once you have loadedthe program you are set

    Erik