Re: [riot-devel] mBed default UART

2017-12-10 Thread tiago carvalho
Update:

If I use fflush(stdout) after a printf it works. Can this be avoided?

De: tiago carvalho 
Enviado: 10 de dezembro de 2017 12:08
Para: Alexandre Abadie; RIOT OS kernel developers
Assunto: Re: mBed default UART

Thank you for your answers,

I still can't see printf output.

If I use uart_stdio_write() instead, it works with both LPC_UART0 or LPC_UART3.

Any other hints?

Cheers


De: devel  em nome de Alexandre Abadie 

Enviado: 10 de dezembro de 2017 10:34
Para: RIOT OS kernel developers
Assunto: Re: [riot-devel] mBed default UART

Hi,

For this board, I think the default UART for stdio is available directly via 
the USB port. You just need to open /dev/ttyACM0 (on Linux) at 115200baud.

Alex


Hi guys,

I'm wondering if you guys can help me out with the default UART device for the 
mbed_lpc1768 board, to see printf and puts outputs in a serial client like 
putty.

I tried all pins (9/10/13/14/27/28) with several baudrates withouht success. Is 
there any other action I need to do before this works?

Thanks in advance,
Tiago C



___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel

___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel


Re: [riot-devel] mBed default UART

2017-12-10 Thread tiago carvalho
Thank you for your answers,

I still can't see printf output.

If I use uart_stdio_write() instead, it works with both LPC_UART0 or LPC_UART3.

Any other hints?

Cheers


De: devel  em nome de Alexandre Abadie 

Enviado: 10 de dezembro de 2017 10:34
Para: RIOT OS kernel developers
Assunto: Re: [riot-devel] mBed default UART

Hi,

For this board, I think the default UART for stdio is available directly via 
the USB port. You just need to open /dev/ttyACM0 (on Linux) at 115200baud.

Alex


Hi guys,

I'm wondering if you guys can help me out with the default UART device for the 
mbed_lpc1768 board, to see printf and puts outputs in a serial client like 
putty.

I tried all pins (9/10/13/14/27/28) with several baudrates withouht success. Is 
there any other action I need to do before this works?

Thanks in advance,
Tiago C



___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel

___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel


Re: [riot-devel] mBed default UART

2017-12-10 Thread Alexandre Abadie
Hi, 

For this board, I think the default UART for stdio is available directly via 
the USB port. You just need to open /dev/ttyACM0 (on Linux) at 115200baud. 

Alex 

- Mail original -

> Hi guys,

> I'm wondering if you guys can help me out with the default UART device for
> the mbed_lpc1768 board, to see printf and puts outputs in a serial client
> like putty.

> I tried all pins (9/10/13/14/27/28) with several baudrates withouht success.
> Is there any other action I need to do before this works?

> Thanks in advance,
> Tiago C

> ___
> devel mailing list
> devel@riot-os.org
> https://lists.riot-os.org/mailman/listinfo/devel
___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel


Re: [riot-devel] mBed default UART

2017-12-10 Thread Baptiste Clenet
Read the periph_conf.h file of your board and you'll find the required pins:
https://github.com/RIOT-OS/RIOT/blob/master/boards/mbed_lpc1768/include/periph_conf.h

Cheers,

Le 10 déc. 2017 10:33 AM, "tiago carvalho"  a
écrit :

> Hi guys,
>
> I'm wondering if you guys can help me out with the default UART device for
> the mbed_lpc1768 board, to see printf and puts outputs in a serial client
> like putty.
>
> I tried all pins (9/10/13/14/27/28) with several baudrates withouht
> success. Is there any other action I need to do before this works?
>
> Thanks in advance,
> Tiago C
>
>
>
> ___
> devel mailing list
> devel@riot-os.org
> https://lists.riot-os.org/mailman/listinfo/devel
>
>
___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel


[riot-devel] mBed default UART

2017-12-10 Thread tiago carvalho
Hi guys,

I'm wondering if you guys can help me out with the default UART device for the 
mbed_lpc1768 board, to see printf and puts outputs in a serial client like 
putty.

I tried all pins (9/10/13/14/27/28) with several baudrates withouht success. Is 
there any other action I need to do before this works?

Thanks in advance,
Tiago C


___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel