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

wcc ends in panic:timeout #1

Open
jwiggers opened this issue Sep 26, 2017 · 1 comment
Open

wcc ends in panic:timeout #1

jwiggers opened this issue Sep 26, 2017 · 1 comment

Comments

@jwiggers
Copy link

LS,

I am trying to flash lua rtos with wcc to my nodemcu esp8266 and get the following results. This is from MacOs but i get exactly the same results on windows. What am i doing wrong?

Jans-Mac-mini:LUA RTOS jan$ ./wcc -p /dev/cu.SLAB_USBtoUART -f -d
2017/09/26 09:02:44 AppFolder: /Users/jan/Documents/Projects/Embedded/LUA RTOS
2017/09/26 09:02:44 AppFileName: /Users/jan/Documents/Projects/Embedded/LUA RTOS/wcc
2017/09/26 09:02:44 AppDataFolder: /Users/jan/.wccagent
2017/09/26 09:02:44 AppDataTmpFolder: /Users/jan/.wccagent/tmp
2017/09/26 09:02:44 connecting to board on /dev/cu.SLAB_USBtoUART ...
2017/09/26 09:02:44 attaching board ...
2017/09/26 09:02:44 start inspector ...
2017/09/26 09:02:44 waiting for ready ...
2017/09/26 09:02:48 board attached
2017/09/26 09:02:50 detaching board ...
2017/09/26 09:02:50 closing serial port ...
2017/09/26 09:02:50 stop inspector ...
panic: timeout

goroutine 1 [running]:
main.(*Board).read(0xc42006a070, 0xc420110000)
/Users/jolive/gows/src/github.com/whitecatboard/whitecat-console/board.go:306 +0x16d
main.(*Board).readLineCRLF(0xc42006a070, 0xc4200140a0, 0xc)
/Users/jolive/gows/src/github.com/whitecatboard/whitecat-console/board.go:320 +0x49
main.(*Board).sendCommand(0xc42006a070, 0x42e1990, 0xa, 0xc420071190, 0xc420076d50)
/Users/jolive/gows/src/github.com/whitecatboard/whitecat-console/board.go:441 +0xd0
main.main()
/Users/jolive/gows/src/github.com/whitecatboard/whitecat-console/main.go:253 +0x1f6c
Jans-Mac-mini:LUA RTOS jan$

@the0ne
Copy link

the0ne commented Aug 23, 2019

Hi @jwiggers you need to replace SLAB_USBtoUART by your actual USB enumeration name.

You may use the -ports parameter to wcc:
./wcc -ports
as this will show you a list of available usb devices.

Other users of MacOS seem to have names like the following, just as an example:
./wcc -p /dev/cu.usbserial-FTYKHBJT -f -ffs -d

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