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

Serial debug : Error: (22, 'Invalid argument') #7

Open
alafanechere opened this issue Jun 30, 2018 · 1 comment
Open

Serial debug : Error: (22, 'Invalid argument') #7

alafanechere opened this issue Jun 30, 2018 · 1 comment

Comments

@alafanechere
Copy link

Hi @kalanda ,
I successfully uploaded your code to my ESP8266 and led blinking make me think its working properly.
I would like to check output sent the serial port in Platform IO but I keep getting this error:

$ platformio device monitor -p /dev/cu.usbserial -b 115200 --raw
Error: (22, 'Invalid argument')

Am I missing something in the set up ?

@kalanda
Copy link
Owner

kalanda commented Jun 30, 2018

@alafanechere there is not a blink in the code so maybe you have the default sketch code with a blink that most of the modules have by default, because you really didn't get the upload done. Also, the name of the port depends on the module chip, in my case is a NodeMCU which have the SiliconLabs serial to usb converter and the terminal opens the serial monitor with this line:

pio device monitor --port /dev/cu.SLAB_USBtoUART --baud 115200

Try to know which is the serial-to-usb chip in your module and install the drivers if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants