找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 11600|回复: 9

[Troubleshooting] New LCD drver glitch

[复制链接]

2

主题

8

回帖

18

积分

新手上路

积分
18
发表于 2016-11-17 08:59:11 | 显示全部楼层 |阅读模式
Hello,

With the new LCD driver, the GRD_COLOR seems to be "hard coded" on the driver itself.

The problem is the __Erase_Color function is always restoring the grid to that hard coded value.

I've checked the old driver assembly, and it declares an extern grd_color variable, which does the trick! (no problems on the old LCD)

Did you change the name of the variable on the new driver?  Do you know how can I tell the __Erase_Color function the current grid color, so it restores it correctly?

Thank you!
回复

使用道具 举报

1

主题

225

回帖

277

积分

管理员

积分
277

社区居民忠实会员

发表于 2016-11-17 10:16:10 | 显示全部楼层
What is the firmware version of the APP you use?
The grid color is always show, you will display after erasing.
You can study first Display. S program code.
What is on screen screen?7781 the screen?
回复

使用道具 举报

2

主题

8

回帖

18

积分

新手上路

积分
18
 楼主| 发表于 2016-12-8 00:32:46 | 显示全部楼层
[i = s] posts by diego in 2016-12-8 00:38 Edit
sagittarius Posted 2016-11-17 10:16
What is the firmware version of the APP you use?
The grid color is always show, you will display aft ...

Sorry for the late reply...

Let me explain better:

screen is 9341, firmware upgrade version is V3.26A

On our app, we have the option to change grid intensity. If you change the grid intensity, and then move a cursor for example, the grid color restored is the original grid intensity.

I do not know how to explain it better...

the assembly __Erase_Color function, restores the grid color to a hard coded color, instead our custom grid color.
回复

使用道具 举报

1

主题

225

回帖

277

积分

管理员

积分
277

社区居民忠实会员

发表于 2016-12-8 10:18:52 | 显示全部楼层
diego 发表于 2016-12-8 00:32
posts by diego in 2016-12-8 00:38 Edit  

You mean, you in the development of firmware, the color of the grid not defined?
You can be in the Display.s  file change color inside, or don't use  Display.s  function.
Your can writing display function.
回复

使用道具 举报

2

主题

8

回帖

18

积分

新手上路

积分
18
 楼主| 发表于 2016-12-9 05:07:39 | 显示全部楼层
I do not have any Display.s, I have ASM_Functions.s and the changes I made there are not being transferred to the scope.
回复

使用道具 举报

1

主题

225

回帖

277

积分

管理员

积分
277

社区居民忠实会员

发表于 2016-12-9 09:56:13 | 显示全部楼层
diego 发表于 2016-12-9 05:07
I do not have any Display.s, I have ASM_Functions.s and the changes I made there are not being trans ...

How much is your source code version?
Here you can download the latest version.
http://minidso.com/forum.php?mod ... &extra=page%3D1
回复

使用道具 举报

2

主题

8

回帖

18

积分

新手上路

积分
18
 楼主| 发表于 2016-12-10 03:34:52 | 显示全部楼层
We are using the latest bnf firmware...
I've patched it when the new lcd came out, I do not remember exactly what I did however.
回复

使用道具 举报

1

主题

225

回帖

277

积分

管理员

积分
277

社区居民忠实会员

发表于 2016-12-12 15:09:19 | 显示全部楼层
diego 发表于 2016-12-10 03:34
We are using the latest bnf firmware...
I've patched it when the new lcd came out, I do not remembe ...

BNF the firmware is not the official firmware, we don't know how to write programs, is the author of BNF you do or consult the author.
Or you can consult, according to official firmware function.
回复

使用道具 举报

2

主题

8

回帖

18

积分

新手上路

积分
18
 楼主| 发表于 2016-12-14 05:46:55 | 显示全部楼层
I know, I am asking about the LCD driver which seems to be already there, (is it in the bootloader?)   Since the same app we have works good with old lcd driver and have this issue with the new lcd
回复

使用道具 举报

4

主题

70

回帖

286

积分

中级会员

积分
286
发表于 2017-1-12 15:16:16 | 显示全部楼层
Yes the newer devices have all the LCD related functions in the Bootloader area.  The Firmware simply uses a vector jump table to call those functions.  You could try attach your custom __Erase_Color function at the end of the firmware and call it instead of one in the bootloader.  Are you making a port of Benf to run on newLCD, someone already did.
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|MINIWARE产品技术交流 迷你工具-智能烙铁-加热平台-示波器-体感电动螺丝刀-数字电源-智能镊子 ( 粤ICP备07030012号-1 )

GMT+8, 2024-11-23 16:00 , Processed in 0.165106 second(s), 21 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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