- UID
- 164795
- 性别
- 女
|
[求助] 我调试是遇到的问题,谁能帮忙看看问题在哪里?
芯片用的是 MC9S12HZ256,仿真器 P&E multilink 晶振是外部晶振。
仿真时通讯不上。提示如下:
Loading Target ...
Initializing STARTUP command file:
CMDFILE STARTUP ON ".\cmd\P&E_Multilink_CyclonePro_startup.cmd"
Initializing RESET command file:
CMDFILE RESET ON ".\cmd\P&E_Multilink_CyclonePro_reset.cmd"
Initializing PRELOAD command file:
CMDFILE PRELOAD ON ".\cmd\P&E_Multilink_CyclonePro_preload.cmd"
Initializing POSTLOAD command file:
CMDFILE POSTLOAD ON ".\cmd\P&E_Multilink_CyclonePro_postload.cmd"
Initializing VPPON command file:
CMDFILE VPPON ON ".\cmd\P&E_Multilink_CyclonePro_vppon.cmd"
Initializing VPPOFF command file:
CMDFILE VPPOFF ON ".\cmd\P&E_Multilink_CyclonePro_vppoff.cmd"
Initializing UNSECURE command file:
CMDFILE UNSECURE ON ".\cmd\P&E_Multilink_CyclonePro_erase_unsecure_hcs12.cmd"
close_port()
usb: open_port(1);
preset_communication_speed(50);
set_speed_no_reset() => 1
reset_cable()
check_cable_error() => 0
BDMSTS BDM register not correct or status mismatch.
A hardware reset might have occurred.
read_bd_byte(0xFF01)
=> 0x0
write_bd_byte(0xFF01,0x80)
read_bd_byte(0xFF01)
=> 0x0
The BDM mode has been re-enabled.
find_speed(0, 10, 0) => 0
find_speed(10, 20, 0) => 0
find_speed(20, 29, 0) => 0
find_speed(30, 38, 0) => 0
find_speed(40, 48, 0) => 0
find_speed(50, 57, 0) => 0
find_speed(60, 66, 0) => 0
find_speed(70, 76, 0) => 0
find_speed(80, 85, 0) => 0
find_speed(90, 94, 0) => 0
find_speed(100, 104, 0) => 0
find_speed(110, 113, 0) => 0
find_speed(120, 122, 0) => 0
find_speed(130, 132, 0) => 0
find_speed(140, 141, 0) => 0
find_speed(150, 150, 0) => 0
find_speed(160, 160, 0) => 0
find_speed(170, 170, 0) => 0
find_speed(181, 181, 0) => 0
find_speed(193, 193, 0) => 0
find_speed(205, 205, 0) => 0
find_speed(218, 218, 0) => 0
find_speed(232, 232, 0) => 0
find_speed(247, 247, 0) => 0
find_speed(263, 263, 0) => 0
find_speed(280, 280, 0) => 0
find_speed(298, 298, 0) => 0
find_speed(317, 317, 0) => 0
find_speed(338, 338, 0) => 0
find_speed(360, 360, 0) => 0
find_speed(384, 384, 0) => 0
find_speed(409, 409, 0) => 0
find_speed(436, 436, 0) => 0
find_speed(465, 465, 0) => 0
find_speed(496, 496, 0) => 0
find_speed(529, 529, 0) => 0
最后提示 :failed find communication speed
可能的问题在哪里?
|
|