EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

project update from serial port

Started by yang...@omniverter.com October 29, 2013
I am using BL4S200 for my project. I have question about the upgrade of my project. I am using serial communication with PC host. I will build my UI for my project control. however, I want to use serial communication port (like port C,port E or port F) to upgrade my program, I know I can use programming port. but I don't want end user to use it. I need another port for firmware update purpose. I find some examples, but it is through ethernet. In my project, I can't use ethernet, Is it possible to send new firmware to controller via serial port (not programming port)?
You will have to implement a protocol (maybe XMODEM?) to receive the firmware, and store it using the API for writing to the temporary firmware storage space. I think there's a TFTP sample that might give you a good idea of what's necessary to receive and store the firmware before attempting to install it.

-Tom
On Oct 29, 2013, at 1:45 PM, wrote:
> I am using BL4S200 for my project. I have question about the upgrade of my project. I am using serial communication with PC host. I will build my UI for my project control. however, I want to use serial communication port (like port C,port E or port F) to upgrade my program, I know I can use programming port. but I don't want end user to use it. I need another port for firmware update purpose. I find some examples, but it is through ethernet. In my project, I can't use ethernet, Is it possible to send new firmware to controller via serial port (not programming port)?

The 2024 Embedded Online Conference