When I use Minicom to capture data from a serial port, I need to save the big data into a file, named minicom.cap
. However, if I press Ctrl+A and L to capture file, it failed. No file was created (minicom.cap
did not exist beforehand). My download directory was properly created. My OS is Mint, and I read data from Arduino nano v3.0
Another useful Option is to log all information to a file which will be saved in your Home directory. Select 'Filenames and paths' and press 'F' (Logging options). By default this will be saved as 'minicom. log', but change it to whatever you like with the 'A' key.
Minicom allows you to store and recall configuration files in a quite handy way. and after having configured what you need, selecting the option “save setup as dfl”. If you are root then the configuration will be saved into /etc/minicom/minirc.
location of configuration files The configuration files for minicom are located in /etc, with a name prefix of 'minirc. '. You can have several minicom configuration files, for different serial hardware on your machine.
Did you try to start minicom as
minicom -C capturefile
Unless i got something wrong, it should start to capture incoming data immediately.
OP might miss step "Shift + L" after writing, so the overall procedure is as below:
1 (inside minicom)
2 Ctrl A + Z
3 Shift + L
4 (wait for writing ... )
5 Shift + L
6 (check the file you have written, default is minicom.cap, you may want to find it at /root/minicom.cap
)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With