|
I'm trying to make a small utility for downloading icl and bin via Modbus RTU. But there are 2 problems:
1.) At a speed of 9600 baudrate, the DWIN display seems to send an error code during data transmission. Which makes it even longer for me to wait for the response timeout.
2.) Sometimes at a speed of 9600 baudrate, after writing a 32KBYTE sector of external flash memory, display artifacts appear. Is there any way to check the CRC (even if modbus-CRC is used for data transmission) of these 32K bytes in RAM memory before writing them to external flash memory?
Moreover, at a speed of 115200, everything works stably. The error code is calculated on time and I did not notice any image artifacts.
I'm doing the same as the instructions from the forum: how to upload an icl file. Only by adapting to RTU ModBus.
RAM memory from 0x8000 to 0xBFFF is not used.
I use function code 0x10 for multiple entries of 0x40 registers.
I tried touching the 0xFC register. Neither 0x55AA5A5A nor 0x55AA5AA5 helped.
I use the display model - DMG80480C070_15WTR.
T5L UI - V65.
T5L OS - V22.
The ModBus implementation - DWINOS_DWIN_T5L_9600__UART5_ModBus. |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
x
|