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

MCB 2140 IAP Firmware Upgrade

Respected Colleagues,

can somebody help me and point me to a sample Keil ARM project (if exists) which explains how to configure Keil application running on the Keil MCB 2140 Evaluation Board, that can be upgraded to a new version which is on the some media, for example SD/MMC card, using IAP ?

So, goal is to upgrade firmware without PC, only with SD/MMC card. Can anybody explain how to build an application which runs normally when the card is not inserted, and which copy a new code from the card into internal FLASH using IAP, when the card is inserted, and start the new code with success.

Thanks in advance.

Dragan Kujovic

Parents
  • > Please study carefuly part of TNKernel,
    > firmware upgrader:
    > www.tnkernel.com/usb_fw_upgrader.html

    Respected Georg,

    thanks for your hint.

    I have studied it today, but project is too complicated for mine level of knowledge to extract just what I need. I have tried but with no success.

    I know how to erase and program LPC2148 internal FLASH sectors with IAP, etc. but I don't know how to make a startup code which will start existing application or reprogram existing application with the new one from external FLASH, if any.

    The bottom line is:

    1) How to configure and with what options to build startup application in Keil ARM Complier which will be at address XXXX, and which will start some other application in internal FLASH at address YYYY, if any ?

    2) How to configure and to build main application which will be in internal FLASH at address YYYY ?

    If I can make, for example, Keil project that will make startup application which will only printf "Hello World", and jump to another application at some address which will printf "APP_1", and which application I can replace with second application that printf "APP_2" I think that I can make the rest.

    Anybody can help with some sample "Hello World" project ? Maybe Keil stuff ? I think that many of Keil clients need this.

    With best regards,

    Dragan Kujovic

Reply
  • > Please study carefuly part of TNKernel,
    > firmware upgrader:
    > www.tnkernel.com/usb_fw_upgrader.html

    Respected Georg,

    thanks for your hint.

    I have studied it today, but project is too complicated for mine level of knowledge to extract just what I need. I have tried but with no success.

    I know how to erase and program LPC2148 internal FLASH sectors with IAP, etc. but I don't know how to make a startup code which will start existing application or reprogram existing application with the new one from external FLASH, if any.

    The bottom line is:

    1) How to configure and with what options to build startup application in Keil ARM Complier which will be at address XXXX, and which will start some other application in internal FLASH at address YYYY, if any ?

    2) How to configure and to build main application which will be in internal FLASH at address YYYY ?

    If I can make, for example, Keil project that will make startup application which will only printf "Hello World", and jump to another application at some address which will printf "APP_1", and which application I can replace with second application that printf "APP_2" I think that I can make the rest.

    Anybody can help with some sample "Hello World" project ? Maybe Keil stuff ? I think that many of Keil clients need this.

    With best regards,

    Dragan Kujovic

Children
No data