I must not have made my request clear. i am not running on an os, but have a bare bones stm32 microcontroller that is talking to multiple devices and has a serial port to another device that I need to flash. I can put that device in bootstrap mode and send it the file in kermit format.
What I need is a single C function that I can pass the address of the binary image already in memory (no file system on this device) and it does the necessary formatting to send it out to a serial port. It must be in Kermit format as that is what the bootloader of the device expects. I do not have the luxury of running Linux (or DOS) commands on this device. I can read through the source code of Kernit and other apps like Teraterm that has this built in, but was hoping there was an open source C library that has this functionality already available. On Mon, Dec 7, 2020 at 8:44 PM Naoshad Eduljee <[email protected]> wrote: > Rodney - wput should allow you to send files and wget to receive them - > https://www.debuntu.org/wget-wput-or-how-to-easily-download-upload-over-internet/ > > On Mon, Dec 7, 2020 at 8:35 PM Carl Nobile via TriEmbed < > [email protected]> wrote: > >> Rodney, >> >> Could you use something as simple as curl? >> I've on a few occasions sent and received files with it. >> Another thought is wget, though I don't remember if you can send files >> with it. >> >> ~Carl >> >> >> On Mon, Dec 7, 2020 at 4:20 PM Rodney Radford via TriEmbed < >> [email protected]> wrote: >> >>> Has anyone used an open source version of a simple Kermit cliend send >>> file implementation? >>> >>> I have used old Kermit, and used the Kermit built in to other apps like >>> Tera Term, but one of the WiFi parts we are looking at for work has tha >>> ability to upload new firmware to it via kermit send. >>> >>> I have verified this works with tera term connected to a breakout board, >>> but in the final version, I will just have a stm32f777 microprocessor to >>> handle flashing the part. It has a fair amount of ram and flash in it to >>> store the image, but I will need to implement the send code to the device. >>> >>> While Kermit is open source, I am looking for what is hopefully just a >>> simple send file command, and not a complete application. >>> >>> _______________________________________________ >>> Triangle, NC Embedded Computing mailing list >>> >>> To post message: [email protected] >>> List info: >>> http://mail.triembed.org/mailman/listinfo/triembed_triembed.org >>> TriEmbed web site: http://TriEmbed.org >>> To unsubscribe, click link and send a blank message: mailto: >>> [email protected]?subject=unsubscribe >>> >>> >> >> -- >> >> ------------------------------------------------------------------------------- >> Carl J. Nobile (Software Engineer) >> [email protected] >> >> ------------------------------------------------------------------------------- >> _______________________________________________ >> Triangle, NC Embedded Computing mailing list >> >> To post message: [email protected] >> List info: >> http://mail.triembed.org/mailman/listinfo/triembed_triembed.org >> TriEmbed web site: http://TriEmbed.org >> To unsubscribe, click link and send a blank message: mailto: >> [email protected]?subject=unsubscribe >> >>
_______________________________________________ Triangle, NC Embedded Computing mailing list To post message: [email protected] List info: http://mail.triembed.org/mailman/listinfo/triembed_triembed.org TriEmbed web site: http://TriEmbed.org To unsubscribe, click link and send a blank message: mailto:[email protected]?subject=unsubscribe
