×

HT-IDE3000 使用手册

消耗积分:10 | 格式:rar | 大小:555 | 2008-10-17

分享资料个

第一部份 集成开发环境.............................................................. 1
第一章 概要与安装.................................................................................... 3
HT-IDE 集成开发环境................................................................................3
盛群单片机仿真器(HT-ICE) ......................................................................5
HT-ICE 接口卡....................................................................................5
OTP 烧录器..........................................................................................5
OTP 适配卡..........................................................................................5
系统配置......................................................................................................6
安装..............................................................................................................7
系统需求..............................................................................................7
硬件安装..............................................................................................7
软件安装..............................................................................................8
第二章 快速开始...................................................................................... 13
步骤一:建立一个新项目................................................................13
步骤二:将源程序文件加到项目中................................................13
步骤三:完成项目............................................................................13
步骤四:烧录OTP 单片机...............................................................14
步骤五:传送程序与掩膜选项单至Holtek ....................................14
第三章 菜单 − 文件/编辑/视图/工具/选项........................................... 15
启动HT-IDE3000 系统.............................................................................15
文件菜单....................................................................................................18
编辑菜单....................................................................................................19
视图菜单....................................................................................................20

工具菜单....................................................................................................21
Mask Option .......................................................................................21
Diagnose.............................................................................................22
OTP writer ..........................................................................................23
Library Manager.................................................................................23
Voice/VROM Editor ...........................................................................24
Voice/Download .................................................................................24
LCD Simulator ...................................................................................25
Virtual Peripheral Manager ................................................................25
选项菜单....................................................................................................26
Project Command ...............................................................................26
Debug Command................................................................................27
Directories Command.........................................................................29
Editor Command ................................................................................30
Color Command .................................................................................30
Font Command ...................................................................................30
第四章 菜单 − 项目................................................................................ 31
建立新项目................................................................................................32
打开和关闭项目........................................................................................32
管理项目的源文件....................................................................................33
将源程序文件加到项目中................................................................33
从项目中删除源程序文件................................................................34
向上或向下移动源程序文件的位置................................................34
建立项目的任务文件................................................................................34
建立项目的任务文件........................................................................35
重建项目的任务文件........................................................................35
编译............................................................................................................35
编译程序............................................................................................35
Print Option Table Command ....................................................................36
Generate Demo File (.DMO) Command....................................................36
第五章 菜单 − 除错................................................................................ 37
复位HT-IDE3000 系统.............................................................................38
从HT-IDE3000 复位.........................................................................39
从应用威廉希尔官方网站 板复位............................................................................39
应用程序的硬件仿真................................................................................40
硬件仿真应用程序............................................................................40
停止硬件仿真应用程序....................................................................40
执行应用程序到指定的程序行........................................................40
直接跳跃到应用程序中的某一行....................................................41
单步执行....................................................................................................41

断点............................................................................................................43
断点特性............................................................................................43
断点项目的说明................................................................................43
如何设定断点....................................................................................45
跟踪应用程序............................................................................................47
跟踪的初步设定................................................................................47
停止跟踪............................................................................................49
跟踪的启动与停止............................................................................49
跟踪记录的格式................................................................................52
除错器的命令模式....................................................................................54
进入命令模式与离开命令模式........................................................54
命令模式所支持的功能....................................................................54
Log 文件格式.....................................................................................61
HT-COMMAND 错误信息................................................................62
第六章 菜单 − 窗口................................................................................ 63
窗口菜单命令............................................................................................64
第七章 软件仿真...................................................................................... 69
开始仿真....................................................................................................70
第八章 OTP 烧录..................................................................................... 71
简介............................................................................................................71
安装............................................................................................................72
烧录器适配卡............................................................................................72
使用HT-HandyWriter 烧写OTP 单片机.................................................73
系统信息....................................................................................................81
第二部份 开发语言与工具........................................................ 83
第九章 汇编语言和编译器...................................................................... 85
常用符号....................................................................................................85
语句语法....................................................................................................86
名称....................................................................................................86
操作项................................................................................................86
操作数项............................................................................................86
注释....................................................................................................86
汇编伪指令................................................................................................87
条件汇编伪指令................................................................................87
文件控制伪指令................................................................................88
程序伪指令........................................................................................90
数据定义伪指令................................................................................94

宏指令................................................................................................96
汇编语言指令..........................................................................................100
名称..................................................................................................100
助记符..............................................................................................100
操作数,运算子和表示式..............................................................100
其它..........................................................................................................103
前置引用..........................................................................................103
局部标号..........................................................................................103
汇编语言保留字..............................................................................104
编译器选项..............................................................................................105
编译列表文件格式..................................................................................105
源程序列表......................................................................................105
编译总结..........................................................................................106
其它..................................................................................................106
第十章 盛群C 语言............................................................................... 109
简介..........................................................................................................109
C 语言的程序结构..................................................................................110
语句..................................................................................................110
注释..................................................................................................110
标识符...................................................................................................... 111
保留字.............................................................................................. 111
数据类型.................................................................................................. 111
数据类型与大小.............................................................................. 111
宣告..................................................................................................112
常量..........................................................................................................113
整型常量..........................................................................................113
字符型常量......................................................................................114
字符串常量......................................................................................114
枚举常量..........................................................................................114
运算符......................................................................................................115
算术运算符......................................................................................115
关系运算符......................................................................................115
等式运算符......................................................................................115
逻辑运算符......................................................................................116
位运算符..........................................................................................116
复合赋值运算符..............................................................................116
递增和递减运算符..........................................................................117
条件运算符......................................................................................117
逗号运算符......................................................................................117
运算符的优先权与结合性..............................................................118
类型转换..........................................................................................119
程序流程控制..........................................................................................120
函数..........................................................................................................124
古典形式..........................................................................................124

声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉

评论(0)
发评论

下载排行榜

全部0条评论

快来发表一下你的评论吧 !

'+ '

'+ '

'+ ''+ '
'+ ''+ ''+ '
'+ ''+ '' ); $.get('/article/vipdownload/aid/'+webid,function(data){ if(data.code ==5){ $(pop_this).attr('href',"/login/index.html"); return false } if(data.code == 2){ //跳转到VIP升级页面 window.location.href="//m.obk20.com/vip/index?aid=" + webid return false } //是会员 if (data.code > 0) { $('body').append(htmlSetNormalDownload); var getWidth=$("#poplayer").width(); $("#poplayer").css("margin-left","-"+getWidth/2+"px"); $('#tips').html(data.msg) $('.download_confirm').click(function(){ $('#dialog').remove(); }) } else { var down_url = $('#vipdownload').attr('data-url'); isBindAnalysisForm(pop_this, down_url, 1) } }); }); //是否开通VIP $.get('/article/vipdownload/aid/'+webid,function(data){ if(data.code == 2 || data.code ==5){ //跳转到VIP升级页面 $('#vipdownload>span').text("开通VIP 免费下载") return false }else{ // 待续费 if(data.code == 3) { vipExpiredInfo.ifVipExpired = true vipExpiredInfo.vipExpiredDate = data.data.endoftime } $('#vipdownload .icon-vip-tips').remove() $('#vipdownload>span').text("VIP免积分下载") } }); }).on("click",".download_cancel",function(){ $('#dialog').remove(); }) var setWeixinShare={};//定义默认的微信分享信息,页面如果要自定义分享,直接更改此变量即可 if(window.navigator.userAgent.toLowerCase().match(/MicroMessenger/i) == 'micromessenger'){ var d={ title:'HT-IDE3000 使用手册',//标题 desc:$('[name=description]').attr("content"), //描述 imgUrl:'https://'+location.host+'/static/images/ele-logo.png',// 分享图标,默认是logo link:'',//链接 type:'',// 分享类型,music、video或link,不填默认为link dataUrl:'',//如果type是music或video,则要提供数据链接,默认为空 success:'', // 用户确认分享后执行的回调函数 cancel:''// 用户取消分享后执行的回调函数 } setWeixinShare=$.extend(d,setWeixinShare); $.ajax({ url:"//www.obk20.com/app/wechat/index.php?s=Home/ShareConfig/index", data:"share_url="+encodeURIComponent(location.href)+"&format=jsonp&domain=m", type:'get', dataType:'jsonp', success:function(res){ if(res.status!="successed"){ return false; } $.getScript('https://res.wx.qq.com/open/js/jweixin-1.0.0.js',function(result,status){ if(status!="success"){ return false; } var getWxCfg=res.data; wx.config({ //debug: true, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。 appId:getWxCfg.appId, // 必填,公众号的唯一标识 timestamp:getWxCfg.timestamp, // 必填,生成签名的时间戳 nonceStr:getWxCfg.nonceStr, // 必填,生成签名的随机串 signature:getWxCfg.signature,// 必填,签名,见附录1 jsApiList:['onMenuShareTimeline','onMenuShareAppMessage','onMenuShareQQ','onMenuShareWeibo','onMenuShareQZone'] // 必填,需要使用的JS接口列表,所有JS接口列表见附录2 }); wx.ready(function(){ //获取“分享到朋友圈”按钮点击状态及自定义分享内容接口 wx.onMenuShareTimeline({ title: setWeixinShare.title, // 分享标题 link: setWeixinShare.link, // 分享链接 imgUrl: setWeixinShare.imgUrl, // 分享图标 success: function () { setWeixinShare.success; // 用户确认分享后执行的回调函数 }, cancel: function () { setWeixinShare.cancel; // 用户取消分享后执行的回调函数 } }); //获取“分享给朋友”按钮点击状态及自定义分享内容接口 wx.onMenuShareAppMessage({ title: setWeixinShare.title, // 分享标题 desc: setWeixinShare.desc, // 分享描述 link: setWeixinShare.link, // 分享链接 imgUrl: setWeixinShare.imgUrl, // 分享图标 type: setWeixinShare.type, // 分享类型,music、video或link,不填默认为link dataUrl: setWeixinShare.dataUrl, // 如果type是music或video,则要提供数据链接,默认为空 success: function () { setWeixinShare.success; // 用户确认分享后执行的回调函数 }, cancel: function () { setWeixinShare.cancel; // 用户取消分享后执行的回调函数 } }); //获取“分享到QQ”按钮点击状态及自定义分享内容接口 wx.onMenuShareQQ({ title: setWeixinShare.title, // 分享标题 desc: setWeixinShare.desc, // 分享描述 link: setWeixinShare.link, // 分享链接 imgUrl: setWeixinShare.imgUrl, // 分享图标 success: function () { setWeixinShare.success; // 用户确认分享后执行的回调函数 }, cancel: function () { setWeixinShare.cancel; // 用户取消分享后执行的回调函数 } }); //获取“分享到腾讯微博”按钮点击状态及自定义分享内容接口 wx.onMenuShareWeibo({ title: setWeixinShare.title, // 分享标题 desc: setWeixinShare.desc, // 分享描述 link: setWeixinShare.link, // 分享链接 imgUrl: setWeixinShare.imgUrl, // 分享图标 success: function () { setWeixinShare.success; // 用户确认分享后执行的回调函数 }, cancel: function () { setWeixinShare.cancel; // 用户取消分享后执行的回调函数 } }); //获取“分享到QQ空间”按钮点击状态及自定义分享内容接口 wx.onMenuShareQZone({ title: setWeixinShare.title, // 分享标题 desc: setWeixinShare.desc, // 分享描述 link: setWeixinShare.link, // 分享链接 imgUrl: setWeixinShare.imgUrl, // 分享图标 success: function () { setWeixinShare.success; // 用户确认分享后执行的回调函数 }, cancel: function () { setWeixinShare.cancel; // 用户取消分享后执行的回调函数 } }); }); }); } }); } function openX_ad(posterid, htmlid, width, height) { if ($(htmlid).length > 0) { var randomnumber = Math.random(); var now_url = encodeURIComponent(window.location.href); var ga = document.createElement('iframe'); ga.src = 'https://www1.elecfans.com/www/delivery/myafr.php?target=_blank&cb=' + randomnumber + '&zoneid=' + posterid+'&prefer='+now_url; ga.width = width; ga.height = height; ga.frameBorder = 0; ga.scrolling = 'no'; var s = $(htmlid).append(ga); } } openX_ad(828, '#berry-300', 300, 250);