Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

idf.py baud is not working (IDFGH-6686) #8316

Closed
chegewara opened this issue Jan 29, 2022 · 5 comments
Closed

idf.py baud is not working (IDFGH-6686) #8316

chegewara opened this issue Jan 29, 2022 · 5 comments
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally

Comments

@chegewara
Copy link
Contributor

I am trying to change monitor baudrate but it is not working either with -b nor with --baud:

  • esptool.py v3.3-dev
  • OS: ubuntu 20.04
idf.py -b 9600 -p /dev/ttyUSB0 monitor
Executing action: monitor
Running idf_monitor in directory /home/chegewara/upwork/craig_atkins/project
Executing "/home/chegewara/.espressif/python_env/idf5.0_py3.8_env/bin/python /home/chegewara/esp/master/tools/idf_monitor.py -p /dev/ttyUSB0 -b 115200 --toolchain-prefix xtensa-esp32-elf- --target esp32 --revision 0 /home/chegewara/upwork/craig_atkins/project/build/simple_injection.elf -m '/home/chegewara/.espressif/python_env/idf5.0_py3.8_env/bin/python' '/home/chegewara/esp/master/tools/idf.py' '-b' '9600' '-p' '/dev/ttyUSB0'"...
--- idf_monitor on /dev/ttyUSB0 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
ets Jul 29 2019 12:21:46

rst:0x1 (POWERON_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
waiting for download

Looks like it is overridden by monitor command.

Thanks

@espressif-bot espressif-bot added the Status: Opened Issue is new label Jan 29, 2022
@github-actions github-actions bot changed the title idf.py baud is not working idf.py baud is not working (IDFGH-6686) Jan 29, 2022
@nopnop2002
Copy link

nopnop2002 commented Jan 30, 2022

-b is Baud rate for flashing.

https://esp32.com/viewtopic.php?t=2930

@chegewara
Copy link
Contributor Author

It is not for flashing, or it is not working, because flashing speed is exactly the same with -b 9600 and without it.
Im pretty sure i would see the difference with flashing speed 9600.

@nopnop2002
Copy link

nopnop2002 commented Jan 30, 2022

Change here to change monitor baudrate.
UART

@chegewara
Copy link
Contributor Author

chegewara commented Jan 30, 2022

Thanks, but that does not change the fact -b option is not working, no matter what it suppose to do, and UART baudrate i can control from code, its what i do.

EDIT actually i tested one more time and you are correct, it controls flashing speed and with 9600 i cant even connect to flash

@dobairoland
Copy link
Collaborator

@chegewara idf.py monitor -B <baud> also work. BTW idf.py -b <baud> monitor should as well but it is not at the moment. We will patch this. But it is a breaking change so it will be available only in v5.0 and later versions.

@dobairoland dobairoland reopened this Feb 8, 2022
@espressif-bot espressif-bot added Status: In Progress Work is in progress and removed Status: Opened Issue is new labels Feb 8, 2022
@espressif-bot espressif-bot added Resolution: NA Issue resolution is unavailable Status: Done Issue is done internally Resolution: Done Issue is done internally and removed Status: In Progress Work is in progress Resolution: NA Issue resolution is unavailable labels Feb 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally
Projects
None yet
Development

No branches or pull requests

4 participants