Home/Support/Support Forum/RCM6700, Remote firmware update using serial port A
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

RCM6700, Remote firmware update using serial port A

0 votes
RCM6700 - I need to use Serial port A for normal use, but I also need to remotely reprogram the firmware using the same connection.

The project calls for a single USB connection between the board and the main computer (not Ethernet).

We modeled the interface using the USB-Serial port on the dev board, so we can update the firmware. But how do we now also use SerA for 'normal messaging from the firmware to the main computer?
asked Dec 21, 2020 in Rabbit by Henrik New to the Community (8 points)

Please log in or register to answer this question.

1 Answer

0 votes
 
Best answer
Take a look at Samples/STDIO_SERIAL.C to see how you can redirect STDIO to serial port A at a fixed baud rate.

As with the dev board, you need to jumper SMODE to VCC to boot into programming mode, or disconnect (and possibly pull to ground -- check the schematic) to boot normally. Depending on your hardware design, you could add a switch for customers to place the board into "update" mode and use RFU to install new firmware.

If you want to use port A for something other than printf() output, you can use serAopen() and related APIs, but you'll need to disable that interface if you want to run your program in with the debugger in Dynamic C.
answered Dec 22, 2020 by TomCollins Veteran of the Digi Community (2,185 points)
selected Jan 11 by Henrik
...