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

Update ARM code to distant system?

I have problem with updating program to distant arm system. I found some bugs in program but we sold couple product and is expensive to go and change code directly, I want to update using server-controller communication.
I had idea two application image written in another places in memory(new one and old) and if some flag is set to execute first and if not to execute second. And when I want do update if flag is set - write program in first memory location and if is not to write to second memory location.
Does anybody knows how to solve this problem and does anybody has example code for this?

I'm using ARM LPC2378, and for developing Keil bord MCU2300

Parents
  • Hi !

    This video can help You, at least how to design programs where frequent updates
    are required. In this case one core program (run-time system) is installed on remote
    machines with ARM. It enables updating native code and data segments "on-hot".

    www.djukic-soft.com/.../MetaEdit_DVMEx_DSM_RTS.wmv

    This video illustrates complete proces of building native code for ARM boards.
    From the point of modeling tool, target platform is not relevant. It can be
    ARM or Intel based, in some cases also FPGA.

    Back to Your idea with flags: Yes, a lot of flags are required in order to
    update code on remote machine. Some of such flags are parts of:

    1) task scheduling;
    2) dynamic linker;
    3) communication protocols etc.

    Best regards,
    Djuka

Reply
  • Hi !

    This video can help You, at least how to design programs where frequent updates
    are required. In this case one core program (run-time system) is installed on remote
    machines with ARM. It enables updating native code and data segments "on-hot".

    www.djukic-soft.com/.../MetaEdit_DVMEx_DSM_RTS.wmv

    This video illustrates complete proces of building native code for ARM boards.
    From the point of modeling tool, target platform is not relevant. It can be
    ARM or Intel based, in some cases also FPGA.

    Back to Your idea with flags: Yes, a lot of flags are required in order to
    update code on remote machine. Some of such flags are parts of:

    1) task scheduling;
    2) dynamic linker;
    3) communication protocols etc.

    Best regards,
    Djuka

Children
No data