Home/Support/Support Forum/FTP Firmware update dialog question
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

FTP Firmware update dialog question

0 votes
I am using ftp to upload updated rom.bin and image.bin files to my ME9210. I can watch the serial port dialog to know when the updating of flash in complete. It prints out the text:
"Download complete, writing to flash...
Firmware updated, quit the session to restart."
In the future I may not have access to the serial port, but would still like to know when the updating is complete. I have looked everywhere for where this text is located and when it is executed. I would like to place code to flash an LED controlled by one of the GPIO pins to signal the writing process complete.

Any suggestions or info on where I might find the place to insert my code?

Thanks,
Sean
asked Aug 1, 2011 in NET+OS by sbaker New to the Community (4 points)
recategorized Dec 4, 2013 by tuxembb

Please log in or register to answer this question.

3 Answers

0 votes
You can fine the code here
C:\netos75\src\bsp\fsintf\fwdl.c

If you edit anything here you have to create a new project and work. Then only the bsp changes are reflected in workspace.

if you are going to blink LED on succsfull updation then you might want to use LED for indicating failure also...
answered Aug 2, 2011 by bobthomas13 Seasoned Professional (182 points)
0 votes
Great, Thank you.

-Sean
answered Aug 4, 2011 by sbaker New to the Community (4 points)
0 votes
To be more specific:

the function naFWControlClose sets a timer. When the timer expires, the function resetAfterImageDownload is called. resetAfterImageDownload is where the request is made to reset the module. All of this is contained in the following file:

src\bsp\fsintf\fwdl.c
answered Dec 4, 2013 by dakotas_dad Veteran of the Digi Community (694 points)
...