USB Multilink 08的16针接口怎么连接?
- UID
- 129872
- 性别
- 男
|
USB Multilink 08的16针接口怎么连接?
USB Multilink 08仿真器连接目标板是一根16线的排线,末端是一个双排16脚的插头。这个插头的定义是怎么样的呢?目标板上怎么画板才能与它配合并实现程序下载及仿真呢?
急。谢谢各位帮助! |
|
|
|
|
|
- UID
- 104380
- 性别
- 男
|
你可以到P&E网站上下载相应的数据手册。或者你打开编程软件的界面,上面有插头的定义。 |
|
|
|
|
|
- UID
- 129872
- 性别
- 男
|
数据手册上是有,但只是仿真器上的引出的16线排线的含义。但到单片机上具体要接哪个脚就不清楚了。
比如:OSCout、Vout、MON4、MON5、MON6、MON7、MON8这些脚分别接单片机的哪些引脚呢?
OSCout接OCS1?Vout接VDD?那其他那些呢?请版本再帮忙。 |
|
|
|
|
|
- UID
- 104380
- 性别
- 男
|
对,OSCout接OCS1。Vout接VDD。在芯片数据手册中(一般在Monitor ROM节)中有介绍。 |
|
|
|
|
|
- UID
- 129872
- 性别
- 男
|
谢谢版主,我用的是MC68HC908SR12,数据手册中相关的监控模式的信号需求与选择中的表里是这样的:
[upload=image/gif]uploadImages/MONITOR-ROM.gif[/upload]
发现里面只有4个口,PTA2、PTA1、PTA0、PTC1,但仿真器上有5个脚,怎么接呢,顺序接MON4、MON5、MON6、MON7,那MON8接什么呢?
另外一本书上(介绍MC68HC908GP32)的表中有5个口:PTC0、PTC1、PTC3、PTA0、PTA7。 |
|
|
|
|
|
- UID
- 104380
- 性别
- 男
|
你看这个软件上的界面即可:
[upload=image/pjpeg]uploadImages/untitled1.jpg[/upload] |
|
|
|
|
|
- UID
- 129872
- 性别
- 男
|
|
|
|
|
|
- UID
- 104380
- 性别
- 男
|
在P&E的网站上可以免费下载(PROG08SZ或CyclonePro)。 |
|
|
|
|
|
- UID
- 129872
- 性别
- 男
|
连接目板板后,通过了第0步hardware loopback detected。
但在第1步:Device choded some security bytes时出错,显示N
不知是什么原因造成的,有什么方法可以解决呢? |
|
|
|
|
|
- UID
- 104380
- 性别
- 男
|
选择IGNORE security failure and enter monitor mode试试。 |
|
|
|
|
|
- UID
- 129872
- 性别
- 男
|
找不到那个选项啊。我用的是Freescale CodeWarrier 5.7版。
[upload=image/pjpeg]uploadImages/Snap1.jpg[/upload] |
|
|
|
|
|
- UID
- 104380
- 性别
- 男
|
那么,再仔细检查你的硬件。晶振,复位,IRQ等... |
|
|
|
|
|
- UID
- 129872
- 性别
- 男
|
我是按照上面贴中的定义接的目标板。
开启了MON08 Diagnostics,后测试的结果如下,请版本帮助分析一下是什么问题,谢谢:
1、Test Signals During Power Down State
Signals to test :
RESET line should be a logic 0
IRQ line should be a logic 0
Vcc should be less than 0.1v
PTA0 should be a logic 0
PTA2 should be a logic 0
PTA1 should be a logic 0
PTC1 should be a logic 0
2、Test Signals Before Monitor Mode Entry
The device should now be powered up but the reset line should be a logic 0.
Test the following signals on the MCU itself to make sure that they are
in the correct state:
RESET line should be a logic 0
IRQ line should be High Voltage (Approximately 8v)
Vcc should be the desired power level
PTA0 should be a logic 1
PTA2 should be a logic 0
PTA1 should be a logic 1
PTC1 should be a logic 0
3、Test Signals After Monitor Mode Entry
The device should be powered and the reset line should be either at a logic 1
level or at Vtest(approximately 8v). If all signals are correct, the device
should now have entered monitor mode. Test the following signals on the MCU
to make sure they are in the correct state:
RESET line should be High Voltage (Approximately 8v)
IRQ line should be High Voltage (Approximately 8v)
Vcc should be the desired power level
PTA0 should be a logic 1
PTA2 should be a logic 0
PTA1 should be a logic 1
PTC1 should be a logic 0 |
|
|
|
|
|
- UID
- 104380
- 性别
- 男
|
那么你就按照这个提示,量一下每个引脚上的电平是否如上所述?
另外,你哪里来的5.7?网上最新的版本好像只有5.0嘛。 |
|
|
|
|
|
- UID
- 129872
- 性别
- 男
|
谢谢版主的回复,我是网上下载的。应该属于5.0,不过我看软件的关于是的版本号是5.7,呵呵。
各引脚我仔细量一下,另外,连接到目标板,目标板是否可以是最终的应用?需不需要单独搞过一个专门做仿真用的版本?
我现在的板子上复位脚上拉10K,对地接0.1uF,另外接了4.9125M的晶振。不知是否对仿真有影响。 |
|
|
|
|
|