Single file transfer
Posted: Sun Sep 11, 2022 1:02 pm
Is there a way to upload and download single files via MeguLink?
I'd like to be able to upload and download configuration settings from/to the micro, and also download a new program image for reprogramming via a bootloader.
Device File Transfer isn't appropriate as the micro has no file system.
Program Device isn't appropriate as the micro isn't an Arduino (it's a PIC18F).
Seems configuration settings can be taken care of via a Property Table, but that's not super ideal (user doesn't need to see the config details).
For downloading to the micro it'd be ideal to have an Interface Panel 'File picker' control to select a file (with extension filter so hopefully selected file is valid for the purpose) which is then sent to the micro.
Ideally for uploading from the micro, some serial header/footer pre-/post-amble which MegunoLink recognizes as 'containing' a file, which when received on the PC side asks for a save file name/location, and saves the received data.
I'd like to be able to upload and download configuration settings from/to the micro, and also download a new program image for reprogramming via a bootloader.
Device File Transfer isn't appropriate as the micro has no file system.
Program Device isn't appropriate as the micro isn't an Arduino (it's a PIC18F).
Seems configuration settings can be taken care of via a Property Table, but that's not super ideal (user doesn't need to see the config details).
For downloading to the micro it'd be ideal to have an Interface Panel 'File picker' control to select a file (with extension filter so hopefully selected file is valid for the purpose) which is then sent to the micro.
Ideally for uploading from the micro, some serial header/footer pre-/post-amble which MegunoLink recognizes as 'containing' a file, which when received on the PC side asks for a save file name/location, and saves the received data.