Statistics: Posted by FrenkR — Wed May 20, 2015 5:26 am
Code:
PIN_FUNC_SELECT(PERIPHS_IO_MUX_GPIO2_U, FUNC_U1TXD_BK);
uart_init(BIT_RATE_115200, BIT_RATE_115200);
Code:
.rl.l|.
l`|.....ll.b|.l.rbl.brnnlnnbl.b.pllrlr
lprn`.....l......b.nb|.
l|.brnnn.l
l`...nn.l`...nrn..
.lprn`....r
b`....b.nb|.
l.b
rnnn...l`...nn..l..nrn...l.lprn`....r
b`l...b.nb|.l|
Code:
system_set_os_print(1)
Code:
ets Jan 8 2013,rst cause:1, boot mode:(3,2)
load 0x40100000, len 1320, room 16
tail 8
chksum 0xb8
load 0x3ffe8000, len 776, room 0
tail 8
chksum 0xd9
load 0x3ffe8308, len 412, room 0
tail 12
chksum 0xb9
csum 0xb9
2nd boot version : 1.3(b3)
SPI Speed : 40MHz
SPI Mode : QIO
SPI Flash Size : 8Mbit
jump to run user1
Code:
/*option 1: use default print, output from uart0 , will wait some time if fifo is full */
//do nothing...
/*option 2: output from uart1,uart1 output will not wait , just for output debug info */
/*os_printf output uart data via uart1(GPIO2)*/
//os_install_putc1((void *)uart1_write_char); //use this one to output debug information via uart1 //
/*option 3: output from uart0 will skip current byte if fifo is full now... */
/*see uart0_write_char_no_wait:you can output via a buffer or output directly */
/*os_printf output uart data via uart0 or uart buffer*/
//os_install_putc1((void *)uart0_write_char_no_wait); //use this to print via uart0
Statistics: Posted by costaud — Mon May 18, 2015 10:53 am
Code:
PIN_FUNC_SELECT(PERIPHS_IO_MUX_GPIO2_U, FUNC_U1TXD_BK);
uart_init(BIT_RATE_115200, BIT_RATE_115200);
Code:
.rl.l|.
l`|.....ll.b|.l.rbl.brnnlnnbl.b.pllrlr
lprn`.....l......b.nb|.
l|.brnnn.l
l`...nn.l`...nrn..
.lprn`....r
b`....b.nb|.
l.b
rnnn...l`...nn..l..nrn...l.lprn`....r
b`l...b.nb|.l|
Code:
system_set_os_print(1)
Statistics: Posted by FrenkR — Sat May 16, 2015 8:16 pm