diff --git a/usb-serial-console.md b/usb-serial-console.md index ed8468a..2b31a33 100644 --- a/usb-serial-console.md +++ b/usb-serial-console.md @@ -10,3 +10,50 @@ The terminal exposes the ChibiOS/RT Shell: ![grafik](https://github.com/eried/portapack-mayhem/assets/13151053/0642485a-ff13-4386-a1f4-4516d654d8dc) +# Available Commands +* help + * lists all available commands. +* info + * shows the ChibiOS/RT system details. +* systime + * shows the uptime in ms. +* reboot + * reboots the PortaPack. This will also work on devices where the reset button is not working. +* dfu + * reboots the PortaPack into DFU firmware upgrade mode. +* hackrf + * Starts the original hackrf firmware to use the PortaPack as hackrf. +* sd_over_usb + * Starts the [SD Over USB](SD-Over-USB) mode. +* flash + * This is the [Flash Utility](Flash-Utility). +* screenshot + * Takes a screenshot. +* write_memory + * Writes arbitrary memory locations. +* read_memory + * Reads arbitrary memory locations. +* button + * Simulates a button press. + * button 1: Right + * button 2: Left + * button 3: Down + * button 4: Up + * button 5: Select/Enter + * button 6: DFU + * button 7: Rotary Left + * button 8: Rotary Right? +* ls + * Lists files and directories. +* rm + * Deletes a file. +* open + * Opens a file for reading and modification. +* seek + * Sets the current position inside the currently opened file. +* close + * Closes the currently opened file. +* read + * Reads n bytes from the currently opened file. +* write + * Writes bytes from the currently opened file.