Seeed-Studio / Wio_Link

Wio_Link 8266
http://seeed-studio.github.io/Wio_Link/
182 stars 64 forks source link

Debug serial not working? #37

Closed dothebart closed 7 years ago

dothebart commented 8 years ago

I've tried to follow this howto: https://github.com/Seeed-Studio/Wio_Link/wiki/Advanced-User-Guide#4-debug-console

with my Wio Link. I can see the startup messages via the USB interface, and as stated in the howto it stops talking after the reboot. I've attached a serial usb converter to the UART1 as stated later on in the howto.

I saw the same boot prompt on that as on UART0 via the onboard USB serial interface - so it seems to be working.

Now I've changed node_main/user_config.h like that: +#define ENABLE_DEBUG_ON_UART1 1

The only ready made example which I found in the source seems to be the sound example that has:

if ENABLE_DEBUG_ON_UART1

Serial1.print("interval");

http://www.seeedstudio.com/depot/images/product/Grove%20Speaker_01.jpg

So I've hooked up the speaker to the middle port next to the serial connector, re-flashed and was hoping to see 'interval' printed on the serial console - nothing happened.

Whats wrong?

KillingJacky commented 8 years ago

@dothebart You did so good catching up our new features. The debug serial enabling method has been changed recently, and I haven't managed to schedule my time to sync the docs yet. I will try to arrange my time to update the docs tonight. In short, you can enable the debugging serial via the wio-cli tool after put the Wio device into setup mode, more detail please wait my howto. Sorry for the inconvenience --!

KillingJacky commented 8 years ago

Hi @dothebart , please check the new howto https://github.com/Seeed-Studio/Wio_Link/wiki/Advanced%20User%20Guide#4-debug-console

dothebart commented 8 years ago

Is there a smart way to configure the wio shell from the state of the mobile client? It seems I failed to remember the passvoid..

dothebart commented 8 years ago

I'm still fiddling to find a smart usecase combining the wios with ArangoDB, i.e. graphs https://github.com/arangodb/example-datasets#debian-dependency-graph since I like both a lot ;-)

KillingJacky commented 8 years ago

Hi @dothebart you can try to retrieve your password here http://www.seeedstudio.com/find_psw.html . and here's a little intro to the user systems http://seeed-studio.github.io/Wio_Link/#user-management-apis

KillingJacky commented 8 years ago

I noticed your active contributions to the ArangoDB, it's armed with pretty new concept! I want to have a closer investigation after I clean my messy backlogs a little bit 😂

KillingJacky commented 7 years ago

Will close this, feel free to reopen it if any further question.