wwatson
Well-known member
What is "DiskIOMB"?
It's a small CLI that I use to test all of the different filesystems and the ongoing changes to them. I wanted a way to access the different filesystems without having to constantly upload modified sketches for each filesystem I was testing. Basically a unified way to access all of them. It started out with DiskIO which allows using a device name or number in a path spec to access a certain device. The name can be volume label like "/32GSDEXFAT/" or an assigned volume number like "0:" or "16:" etc...
DiskIOMB is a version of MicroBox that I have modified for use with DiskIO found here:
http://sebastian-duell.de/en/microbox/index.html
It is an Arduino library that resembles a Linux shell. It's easy to add commands to it.
Here is a link to my version of it:
https://github.com/wwatson4506/DiskIO/tree/DiskIOV2
This version play's wave files using two of the the files from Teensy-WavePlayer. I modified them pretty much the same as with Arduino-Teensy-Codec-Lib. You can play them from both built in and external SD cards, LittleFS memory devices and MSC USB devices. Hopefully when I am done with the changes it will also play all of the other codec types as well. I initially have it working now but ran into the problem with wave files that are larger the 60meg as it's using the Audio libraries version of waveplayer @mjs513 modified for FS. Not sure yet what the difference is. The large > 60meg files play with Teensy-WavePlayer but not the Audio library version.
Anyway you can type help at the command line for a list of commands:
Code:
DiskIOMB
The original version of microBox found here:
http://sebastian-duell.de/en/microbox/index.html
Initializing, please wait...
Type 'help' for a list of commands...
root@Teensy:/128GEXFAT>help
Available Commands:
clear - Clear Screen (VT100 terminal Only)
ld - List available logical drives.
ls - List files and directories.
cd - Change logical drives and directories.
mkdir - Make directory.
rmdir - Remove directory (must be empty).
rm - Remove file.
rename - Rename file or directory.
cp - Copy file (src dest).
cat - List file (Ascii only).
play - Play a Wav file. Press 'end' key to stop.(VT100 Terminal)
- Cannot perform disk operation on same device WAV file
- is playing from. It will lock up DiskIOMB!
All commands except clear and ld accept an optional drive spec.
The drive spec can be /volume name/ (forward slashes required)
or a logical drive number 0:-32: (colon after number required).
Examples: cp /QPINAND/test.txt 1:test.txt
cp test.txt test1.txt
Both cp and rename require a space between arguments.
One space is required between command and argument.
Relative path specs and wilcards are supported.
Example: ls 16:a/b/../*??*.cpp.
root@Teensy:/128GEXFAT>