-->
Page 3 of 3

Re: ZBasic for the ESP8266

PostPosted: Sat Sep 12, 2015 11:42 am
by pvvx
Why such a low rate of firmware in ZBasic :?: On 230400 Baud it is a few minutes :!:
Erase 512k Flash ~ 2 sec
Write 512k ~ 2..3 sec
230400/11 = 20945.454545 = 20 кbytes/sec
512/20 = 25.6 sec
Do not set up correctly in the program UART?
Character spacing in 1 ms :arrow: :lol:
1ms.gif

Bag esp_tool.exe :!: Kindergarten

ZBasic Error: https://www.youtube.com/watch?v=kuKnRqFDxqo

Re: ZBasic for the ESP8266

PostPosted: Sat Sep 12, 2015 2:09 pm
by dkinzer
pvvx wrote:Why such a low rate of firmware in ZBasic :?: On 230400 Baud it is a few minutes
You are free to change the download speed to whatever you'd like. From the Options menu, select "Serial Port Options...". In the resulting dialog, change the baud rate in the "Download Options" group box. The default rate of 115.2K baud matches the fixed bootloader baud rate of ZBasic devices.

You can also change the baud rate in the "Execution Options" group box from the default 19.2K baud. If you do, however, you must also use the "Option ConsoleSpeed" directive to set the baud rate to match in the application.

The ZBasic IDE doesn't use the esp_tool.exe utility for downloading. Rather, similar code is incorporated directly in the IDE code base.

Re: ZBasic for the ESP8266

PostPosted: Sat Sep 12, 2015 4:46 pm
by pvvx
dkinzer wrote:
pvvx wrote:Why such a low rate of firmware in ZBasic :?: On 230400 Baud it is a few minutes
You are free to change the download speed to whatever you'd like. From the Options menu, select "Serial Port Options...". In the resulting dialog, change the baud rate in the "Download Options" group box. The default rate of 115.2K baud matches the fixed bootloader baud rate of ZBasic devices.

You can also change the baud rate in the "Execution Options" group box from the default 19.2K baud. If you do, however, you must also use the "Option ConsoleSpeed" directive to set the baud rate to match in the application.

The ZBasic IDE doesn't use the esp_tool.exe utility for downloading. Rather, similar code is incorporated directly in the IDE code base.
ZBasic230400.gif

Windows COM port default TX character spacing in 1 ms :!:
In esp_tool.exe not set timer parameters COM port (not SetCommTimeouts(hCom,ComTimeouts)).
Esp_tool.exe - Kindergarten is a program like spiffs :lol:
They dishonor ZBasic