迪文科技论坛

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

[Question]Hi, Need JTAG support

[复制链接]

7

主题

21

回帖

118

积分

注册会员

Rank: 2

积分
118
发表于 2022-2-12 19:06:57 | 显示全部楼层 |阅读模式
I try to explore on a custom board with JTAG HME05 different addresses of internals T5L0.Which is the addresses i have to use for initial FLASH and for RAM at the most beginning.I am sorry but documentation is  confusing.
回复

使用道具 举报

2

主题

1228

回帖

1万

积分

论坛元老

Rank: 8Rank: 8

积分
10019
发表于 2022-2-12 22:52:44 | 显示全部楼层
本帖最后由 zzs999k 于 2022-2-12 22:57 编辑

While reading DWIN T5L ASIC application development guide. PDF, there are requirements for 0x00F8 and 0x00FA in the Devin T5L code space, where 0x00F8 must be 0xFFFF to allow emulation debugging of the JTAT interface, and other values JTAG are forbidden. Also, the first six bytes of 0x00FA must be "DWINT5" or OS 8051 will stop running.
In order to use JTAG for emulation debugging and to keep OS 8051 running, the value of this partial address is initialized.Then we can modify the boot file to 0 x00f8 and 0 to initialize x00fa address data, you can start the file to delete, COPY the following code to the startup file(STARTUP_M5.A51), and, of course, interested friends can see the boot file what the code in the specific role, or on the basis of the modified startup files.

CSEG    AT  0F8H
                DB  0FFH,0FFH
                DB  'DWINT5'
                EXTRN CODE (?C_START)
                LJMP    ?C_START
                END

After modifying the startup file, recompile it.

We're going to have to write our own header file in C, so people are going to say, well, that's not too much trouble, we're going to have to write our own header file.But don't be afraid, in order to play T5L ASIC, I have to rewrite it for you, you can download and use it
https://github.com/prefectcj/dwin-T5L/tree/master/T5L51

回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-4-7 07:30 , Processed in 0.040184 second(s), 21 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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