
- UID
- 338966
- 性别
- 男
|

用P&E的USB MULTILINK的BDM头调试自己做的S12XDP512(112管脚)的板子,CW4.5,按向导生成一个简单的PWM的工程,只选PE ML/ CyclonePro(不选Full chip simulation),在make后debug时,经过一段时间,弹出错误提示窗口:
Failed to find communication speed!
最后,命令窗口显示:
executing C_layout.hwl
!OPEN source 0 0 60 39
NO CONNECTION
!Source < attributes MARKS off
!OPEN assembly 60 0 40 31
!Assembly < attributes ADR on,CODE off,ABSADR on,SYMB off,TOPPC 0xF88C
!OPEN procedure 0 39 60 17
!Procedure < attributes VALUES on,TYPES off
!OPEN register 60 31 40 25
!Register < attributes FORMAT AUTO,COMPLEMENT None
!OPEN memory 60 56 40 22
!Memory < attributes FORMAT hex,COMPLEMENT None,WORD 1,ASC on,ADR on,ADDRESS 0x80
!OPEN data 0 56 60 22
!Data:1 < attributes SCOPE global,COMPLEMENT None,FORMAT Symb,MODE automatic,UPDATERATE 10,NAMEWIDTH 16
!OPEN data 0 78 60 22
!Data:2 < attributes SCOPE local,COMPLEMENT None,FORMAT Symb,MODE automatic,UPDATERATE 10,NAMEWIDTH 16
!OPEN command 60 78 40 22
!Command < attributes CACHESIZE 1000
!bckcolor 50331647
!font 'Courier New' 9 BLACK
!AUTOSIZE on
!ACTIVATE Data:2 Command Procedure Data:1 Source Register Assembly Memory
done C_layout.hwl
Loading Target ...
Error: The debugger is currently not able to run
due to loss of contact with hardware.BDM speed problem
in>
使用的是无源晶振,16MHz,Colpitts oscillator电路,用示波器显示,峰-峰值在1~0.8V之间变化。换用有源晶振,振幅达到5.1V,并改动CW中CPU Bean的相应设置,PE7改成接地,问题依旧。
|
|