迪文科技论坛

 找回密码
 立即注册
搜索
查看: 2144|回复: 18

[Question]There must be a way to use Dgus memory ??

[复制链接]

6

主题

29

回帖

113

积分

注册会员

Rank: 2

积分
113
发表于 2020-3-14 14:46:52 | 显示全部楼层 |阅读模式
an electronic card I am using uses the screen's memory.
I'm sure this.
Because when I connect a new card to the same screen, it shows the old saved value.
However, this value had to be reset when I connected the new card.
This means that the old card has recorded this value in the memory of the screen.
So, this proves that the "value" wasread from dgus memory.

I want to use dgus memory too. because the eeprom memory of the my processor I use is not enough.
But how can it do that?
(my screen DMT80600L104_01WT)

回复

使用道具 举报

0

主题

49

回帖

1283

积分

金牌会员

Rank: 6Rank: 6

积分
1283
发表于 2020-3-14 16:17:41 | 显示全部楼层
You'd better use 90 command "AA 90 ****** CC 33 C3 3C"

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

6

主题

29

回帖

113

积分

注册会员

Rank: 2

积分
113
 楼主| 发表于 2020-3-16 14:51:09 | 显示全部楼层
thank you so much
回复

使用道具 举报

6

主题

29

回帖

113

积分

注册会员

Rank: 2

积分
113
 楼主| 发表于 2020-3-16 22:12:55 | 显示全部楼层
Is there an example to use these commands?
回复

使用道具 举报

0

主题

713

回帖

7663

积分

论坛元老

Rank: 8Rank: 8

积分
7663
发表于 2020-3-17 09:12:49 | 显示全部楼层
The figure below is a detailed introduction of the 0X90 and 0X91 instructions

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

6

主题

29

回帖

113

积分

注册会员

Rank: 2

积分
113
 楼主| 发表于 2020-3-17 13:52:33 | 显示全部楼层
for ex. i've a variable named uint32_t count = 105776. i want to record on dgus flash.
1*which command should I use??  "write in radndom data memory"? or "write in sequential data memory" ?
2*At which address should I write? how will i determine the address?
3*How do I send the value of 'count'?  (( 105775 = 0x019D30 hex))
"AA 90 55 AA 5A A5 <addres??> 01 9D 30 CC 33 C3 3C"  is this command right?
回复

使用道具 举报

0

主题

713

回帖

7663

积分

论坛元老

Rank: 8Rank: 8

积分
7663
发表于 2020-3-17 14:27:55 | 显示全部楼层
Both Write in Random Data Memory and Write in Sequential Data Memory are possible. The difference between the two is that the first address range and size of the write data memory are inconsistent. You can choose according to the data you want to store. As for the first address, as long as you are writing It can be within the first address range of the data memory, and it is the same as the address read by the 0X91 instruction, such as AA 90 55 AA 5A A5 01 DE 00 00 01 9D 30 CC 33 C3 3C or AA 90 55 AA 5A A5 00 00 00 00 01 9D 30 CC 33 C3 3C
回复

使用道具 举报

6

主题

29

回帖

113

积分

注册会员

Rank: 2

积分
113
 楼主| 发表于 2020-3-17 15:39:05 | 显示全部楼层
So, Can each address store 1 byte data, can't it?
The value of 01 9D 30 occupies 3 bytes. so while reading this value, i will write '3' instead of <lenght>.
so my reading command is: AA 91 01 DE 00 00 03 CC 33 C3 3C
Am I understand correctly ?
回复

使用道具 举报

0

主题

713

回帖

7663

积分

论坛元老

Rank: 8Rank: 8

积分
7663
发表于 2020-3-17 16:05:12 | 显示全部楼层
Each address can store 2 bytes of data, the unit is also a word when reading, 3 bytes of data can be written as 02, 2 words of length, and 4 bytes of data can be read
回复

使用道具 举报

6

主题

29

回帖

113

积分

注册会员

Rank: 2

积分
113
 楼主| 发表于 2020-3-17 16:23:23 | 显示全部楼层
Hmm OK. i think i understood. thanks a lot !
I'm trying right now. i hope i can.
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-12-29 07:57 , Processed in 0.071670 second(s), 22 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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