RIT-Launch-Initiative / FSW

Firmware for Launch's flight hardware
GNU Affero General Public License v3.0
5 stars 1 forks source link

Trivial File Transfer Protocol Library #108

Closed AarC10 closed 4 months ago

AarC10 commented 4 months ago

Library to support retrieving backplane data over TFTP. Only possible over modules supporting Ethernet. Need to develop a nice tool for getting data and set of libraries for receiving data over communication mediums like Ethernet and UART. The latter, may just be done when we do a overhaul of launch_core. Attached example usage of tftp. Files must be manually created for TFTP to write over for now. Might want a tool that allows you to specify files you want, creates them and updates permissions, request them from a uC, and the uC sends over TFTP.

Screenshot_20240522_232050

AarC10 commented 4 months ago

@Naquino14 Don't know if you have time or if you brought any hardware with you, but if you're interested in writing a Python script to go in the tools directory, feel free

AarC10 commented 4 months ago

We should also maybe just add a generic application that is responsible for this and not have tftp stuff in flight code. Would also simplify having to integrate into every single module we support. Might be possible to test over native_sim and not need actual hardware

Naquino14 commented 4 months ago

@AarC10 I have equipment in ROC, but I'm in mass until the 30th and I start coop a few days later. Its gonna be a bit before I can write that script.

Naquino14 commented 4 months ago

We should also maybe just add a generic application that is responsible for this and not have tftp stuff in flight code. Would also simplify having to integrate into every single module we support. Might be possible to test over native_sim and not need actual hardware

To clarify, this is for getting data once the rocket is on the ground, correct?

AarC10 commented 4 months ago

We should also maybe just add a generic application that is responsible for this and not have tftp stuff in flight code. Would also simplify having to integrate into every single module we support. Might be possible to test over native_sim and not need actual hardware

To clarify, this is for getting data once the rocket is on the ground, correct?

Yes

@AarC10 I have equipment in ROC, but I'm in mass until the 30th and I start coop a few days later. Its gonna be a bit before I can write that script.

All good. Only if you want to. Not in a rush to do this and we can just manually do it for now