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

Does anyone know how I can remotely update code to distant arm system?

I have problem, I have to find a way to update code to my arm device without removing it, for that purpose I'll use serial communication. Does anyone have idea how to do it?

Parents
  • That looks like a really useful resource, Jens. Thanks for linking to it.

    I agree that this isn't really an "ARM" problem so much as a fairly standard bootloader design problem. Implementing the ability to update code remotely on an in-service device is just the same on an ARM processor as it is on any other. I suggest the OP look at standard bootloaders and see what can be learned from them.

    Hope this helps.

    Chris

Reply
  • That looks like a really useful resource, Jens. Thanks for linking to it.

    I agree that this isn't really an "ARM" problem so much as a fairly standard bootloader design problem. Implementing the ability to update code remotely on an in-service device is just the same on an ARM processor as it is on any other. I suggest the OP look at standard bootloaders and see what can be learned from them.

    Hope this helps.

    Chris

Children
  • I agree. And there's not much distance between making an update directly and making the update via a UART cable.

    It's basically just to place the part that needs updating in SRAM before starting. One thing that's very important, is to check if the final update is OK (by verification, such as a kind of checksum/CRC), so that if the update code is not valid, it will not be executed. -But jacobbeningo covers these things completely. It's an excellent and well-written document, which can be read more than once.