迪文科技论坛

 找回密码
 立即注册
搜索
查看: 21|回复: 1

[Question]DWINOS ModBus 485 at 9600 baud is not working well

[复制链接]

4

主题

3

回帖

139

积分

注册会员

Rank: 2

积分
139
发表于 昨天 18:04 | 显示全部楼层 |阅读模式
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
回复

使用道具 举报

0

主题

850

回帖

6385

积分

论坛元老

Rank: 8Rank: 8

积分
6385
发表于 5 小时前 | 显示全部楼层
You can first check if the communication is normal when setting the baud rate of 9600
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|迪文科技论坛 ( 京ICP备05033781号-1 )

GMT+8, 2025-5-13 15:45 , Processed in 0.026891 second(s), 24 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表