We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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?
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
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.