Chat freely about anything...

User avatar
By pvvx
#28921 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
User avatar
By dkinzer
#28931
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.
User avatar
By pvvx
#28941
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