Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By alonewolfx2
#7257
pvvx wrote:
alonewolfx2 wrote: uart baud change working but it seems parity and bits change not working.
FT2232 - bits - work, parity ??...
I am copy from SDK settings UART... Necessary to include a data logger and checks...
I put the question "?" in the settings ... :)

I saw 1.2mbps on the your picture. Can we use esp as a router :)
Edit: did you tried new uart driver? Here is link from bbs espressif http://bbs.espressif.com/viewtopic.php?f=7&t=48
User avatar
By pvvx
#7289
alonewolfx2 wrote:I saw 1.2mbps on the your picture. Can we use esp as a router :)

http://esp8266.ru/forum/threads/razrabo ... 4#post-864

\lwip\app\netio.c (Not working correctly):

NETIO - Network Throughput Benchmark, Version 1.32
(C) 1997-2012 Kai Uwe Rommel

TCP connection established.
Packet size 1k bytes: 1080.69 KByte/s Tx, 4271 Byte/s Rx.
Packet size 2k bytes: 1229.67 KByte/s Tx, 7724 Byte/s Rx.
Packet size 4k bytes: 1204.59 KByte/s Tx, 16895 Byte/s Rx.
Packet size 8k bytes: 1145.36 KByte/s Tx, 15753 Byte/s Rx.
Packet size 16k bytes: 1205.84 KByte/s Tx, 14557 Byte/s Rx.
Packet size 32k bytes: 1205.53 KByte/s Tx, 13.99 KByte/s Rx.
Done.
Edit: did you tried new uart driver? Here is link from bbs espressif http://bbs.espressif.com/viewtopic.php?f=7&t=48

128 chars fifo * 10 bits/ 3 000 000 Baud = 0.000427 sec -> ets_timer_arm_new(&uart0_rx/tx_timer, 0, 0, 427 - speed CPU * run code); :)
User avatar
By pvvx
#7294
alonewolfx2 wrote::D and than all uart1 ??? :D for me.

WEB JAVA :) (something so):
<script src="/site.js" type="text/javascript"></script>
<script type=text/javascript>
....
val bitparity = 1;
function Uart0UpdateParity(xD) {
if(xD) {
var regsdata = getXMLValue(xD, "ramdata");
if(regsdata != "?") {
if(bitparity) regsdata |= 1; else regsdata &= 0xFFFFFFFE;
newAJAXCommand('/?sys.ram0x60000020=0x' + regsdata.toString(16), NULL, 0);
}
}
newAJAXCommand('/protect/chiprams.xml?start=0x60000020', Uart0UpdateParity, 0);
:) :) :)
Addr UART0_CONF0 0x60000020, UART1_CONF0 0x60000F20 ...
or uart.0.reg8, uart.1.reg8 :)
~uart.0.reg8=0x0000001e~
8bits, 1 stop, parity: even: http://192.168.4.1/?uart.0.reg8=0x1E
8bits, 1 stop, parity: odd: http://192.168.4.1/?uart.0.reg8=0x1F
User avatar
By alonewolfx2
#7350 i tried pvfs visual project but its giving error message in settings.designer.cs
err.PNG
You do not have the required permissions to view the files attached to this post.