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
  • Unfortunately I don't see how ARM could provide such code.

    Bootloader is about:

    • external communication to download the new firmware: by CAN, SCI, UART, LIN... all of these would be modules from the silicon vendor rather than ARM.
    • Flash programming routines: here as well, silicon vendors have different Flash memory type/generation requiring different operation and timing.
Reply
  • Unfortunately I don't see how ARM could provide such code.

    Bootloader is about:

    • external communication to download the new firmware: by CAN, SCI, UART, LIN... all of these would be modules from the silicon vendor rather than ARM.
    • Flash programming routines: here as well, silicon vendors have different Flash memory type/generation requiring different operation and timing.
Children
  • Yes, and in addition, the vendor may choose different addresses for the Flash memory.

    Some may use external memory, so it would be difficult for ARM to provide source-code that would work on all platforms.

    The CRC and Adler routines would be generic, though, and the routine that performs the checks could take an address that points to SRAM and an address that points to Flash memory.

    A number of routines would need to be supplied externálly, such as the routine that receives data and the routine that writes to Flash memory.

    In short: Anything that contains hardware access would be vendor-specific and require a routine for each MCU type.

    (I'll be off to vacation in one hour, so it might take a while before I am able to respond).