std-training icon indicating copy to clipboard operation
std-training copied to clipboard

Hello-Board suggests espmonitor when it is not installed or configured

Open besselfunct opened this issue 3 years ago • 1 comments

02_4_hello_board.md Line 71 suggests the use of espmonitor to monitor your Rust board. Using the software install instructions in this repo, this command did not work out of the box. I had to run cargo install espmonitor and then use the command as follows:

$ cargo espmonitor -c esp32c3 /dev/ttyACM0

I'm not certain if this is an issue with my install, or simply an oversight. If it's an oversight, I can try to submit a pull request with a more complete software download list, and a corrected command invocation.

besselfunct avatar Aug 29 '22 23:08 besselfunct

Thanks for reporting this issue! I would say is not an issue with your installation, espmonitor is not needed at all, the command that can be used to monitor without having to reflash is:

cargo espflash serial-monitor /dev/YOUR_SERIAL_DEVICE

Few notes on this:

  • serial-monitor subcommand was added in version 1.6 of espflash and cargo-espflash. Make sure you have and updated version.
  • If no serial port is specified (cargo espflash serial-monitor). It will show the detected serial ports and highlight ports that match a known common dev board.

SergioGasquez avatar Sep 08 '22 13:09 SergioGasquez

espmonitor is no longer recommended, we now use espflash and cargo-espflash instead.

SergioGasquez avatar Mar 01 '23 15:03 SergioGasquez