This is quite a complex question, as it’s in some ways based on assumptions I’ve been forced to make because I can’t find any answers. Please feel free to correct me if any of those assumptions are incorrect.
(basics: the application is run on a connectcore9c with an arm9 using netos6.3)
Main question:
- When our embedded applicaion is released and the machines are out in the field, how do we update the application? While constructing the application we’ve used the hardware debugger (majic) to download the new application to the machine. When the machine hits the field this is no longer an option, so we’ve included an ftp server in our application. The problem is that we can’t manage to get the ftp server to accept a request to overwrite itself…
We now get two side questions:
- Is it possible to run two applications simultaneously on the machine, i.e. is it possible to have the main application running and at the same time have an ftp server (running from ram?) up with the sole purpose of allowing us to update the main application?
- We believe that it’s possible to update the application using some kind of serial connection - but where should that serial connection be connected? Is it the same connection as the majic normally uses?
I’m still quite new at this (and my predessessor left his work without any hints at what he had changed and why he had changed it), so there could very well be a simple solution to the problem. If there is, I would be very happy to know what I need to do and where I need to change…
I hope that there is a very simple way of downloading the new application to the machine, as we’re running out of time (and never thought that this might be a problem). The most important part of it is that we must be able to update the application without a debugger (and without netos), so we hope that there is a way of simply dumping the image.bin onto the board…