-->
Page 1 of 2

Serial Rx failing after putting Webpage into FLASH

PostPosted: Fri Feb 05, 2016 2:46 pm
by xtal
NodeMCU SDK 1.5.1
After putting my webpage into FLASH and using REQUIRE to run.
My serial Rx fails on long packets >300 short packets are working fine <200
I'm thinking the serial buffer is being over layed due to added delay? I did not have this problem before
putting Webpage into FLASH.. I'm losing data at start of packet, like mayby buffer wrapping ??

Using CALLBACK uart.on("data", "\n",uartRX,0)
I tried Storing data as 1st thing in my textarea buffer, but result is same, data loss

I using 38400 baud if I slow to 9600 I do not drop data..
Apparently Call Back is being slowed down.....

How can I get to happen sooner ????
How can I increase the Serial Rx Buffer in NodeMCU ?

Re: Serial Rx failing after putting Webpage into FLASH

PostPosted: Sat Feb 06, 2016 9:37 am
by xtal
correction - it does not drop data as often...

Re: Serial Rx failing after putting Webpage into FLASH

PostPosted: Sun Feb 07, 2016 10:58 am
by xtal
found elua command
uart.set_buffer(id,size2^x)
but nodemcu doesn't support -- now what???

Re: Serial Rx failing after putting Webpage into FLASH

PostPosted: Mon Feb 08, 2016 7:22 am
by xtal
need help/suggestions Nodemcu increase uart buffer size