dare_1985
Newbie level 3
Hello,
I have an LPC2148 microcontroller pre-programmed with a code of mine (nevermind what the code does). The LPC2148 is connected to a GPRS modem via its UART, and can communicate via GPRS (listening on a socket connection).
Here is the problem/challenge:
I want to send a completely new code to my LPC2148 remotely via GPRS, and after the LPC2148 receives it and stores it somewhere in flash, the new code should replace the old one completely. A reset should be performed to startup the new code. The idea is that the new code must substitute the old one smoothly without any errors.
I have never tried this, basically i dont have so much experience to pull it off. Can someone help me with an advice how to do it and whether it is possible at all? What are the steps required for this to work? Thanks!
I have an LPC2148 microcontroller pre-programmed with a code of mine (nevermind what the code does). The LPC2148 is connected to a GPRS modem via its UART, and can communicate via GPRS (listening on a socket connection).
Here is the problem/challenge:
I want to send a completely new code to my LPC2148 remotely via GPRS, and after the LPC2148 receives it and stores it somewhere in flash, the new code should replace the old one completely. A reset should be performed to startup the new code. The idea is that the new code must substitute the old one smoothly without any errors.
I have never tried this, basically i dont have so much experience to pull it off. Can someone help me with an advice how to do it and whether it is possible at all? What are the steps required for this to work? Thanks!