在线时间0 小时
UID157753
注册时间2008-3-30
NXP金币0
该用户从未签到
新手上路

- 积分
- 14
- 最后登录
- 1970-1-1
|
  
这几天焊了一块电路板,用XDP512 LQFP112 MAL型号的, 电路都是正确的,程序却只能烧一次进去,现在还能运行,我用灯显示的。
但再烧程序时,就报错,无论烧什么程序都报错!!(程序都是没问题的)
具体如下:
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 ...
SETCOMM DRIVER NOPROTOCOL NOPERIODICAL
SETCOMM COMPORT NONE
IO registers loaded for MC9S12XDP512 from D:\Program Files\CodeWarrior\prog\REG\MCU03F0.REG
SETCOMM DRIVER NOPROTOCOL NOPERIODICAL
SETCOMM COMPORT LPT "TBDML #1"
executing .\cmd\TBDML_startup.cmd
!// At startup the commands written below will be executed
Startup command file correctly executed.
Target Ready
done .\cmd\TBDML_startup.cmd
Startup command file correctly executed.
executing .\cmd\TBDML_preload.cmd
!// Before load the commands written below will be executed
done .\cmd\TBDML_preload.cmd
Preload command file correctly executed.
executing .\cmd\TBDML_reset.cmd
!// After reset the commands written below will be executed
done .\cmd\TBDML_reset.cmd
Reset command file correctly executed.
FP: FLASH parameters loaded for MC9S12XDP512_V10(NVMIF2 rev 2,2,2,1,1,1,1) from D:\Program Files\CodeWarrior\prog\FPP\mcu03F0.fpp
MCU clock speed: 8000000 Hz
Block Module Name Address Range Status
0 FLASH_4000 4000 - 7FFF Blank - Unselected
1 FLASH_C000 C000 - FFFF Programmed - Unselected
2 ALL_PPAGES E08000 -FFBFFF Programmed - Unselected
3 EEPROM_C00 C00 - FFF Blank - Unselected
4 ALL_EPAGES FC0800 -FF0BFF Blank - Unselected
5 EEPROM_800 800 - BFF Blank - Unselected
6 FLASH_8000 8000 - BFFF Programmed - Unselected
FP: The UNPROTECT command is not available for the FLASH_4000 flash module => Skipped.
FP: The UNPROTECT command is not available for the FLASH_C000 flash module => Skipped.
FP: The UNPROTECT command is not available for the ALL_PPAGES flash module => Skipped.
FP: The UNPROTECT command is not available for the EEPROM_C00 flash module => Skipped.
FP: The UNPROTECT command is not available for the ALL_EPAGES flash module => Skipped.
FP: The UNPROTECT command is not available for the EEPROM_800 flash module => Skipped.
FP: The UNPROTECT command is not available for the FLASH_8000 flash module => Skipped.
executing .\cmd\TBDML_vppon.cmd
!// Before programming the flash, the commands written below will be executed
done .\cmd\TBDML_vppon.cmd
Vppon command file correctly executed.
TARGET SELF-RESET DETECTED
CANNOT CONNECT. RESETING TARGET.
FP: Operation failed on ALL_PPAGES flash module.
executing .\cmd\TBDML_vppoff.cmd
!// After programming the flash, the commands written below will be executed
done .\cmd\TBDML_vppoff.cmd
Vppoff command file correctly executed.
FP: Arm FLASH for loading.
executing .\cmd\TBDML_vppon.cmd
!// Before programming the flash, the commands written below will be executed
done .\cmd\TBDML_vppon.cmd
Vppon command file correctly executed.
executing .\cmd\TBDML_vppoff.cmd
!// After programming the flash, the commands written below will be executed
done .\cmd\TBDML_vppoff.cmd
Vppoff command file correctly executed.
FP: FLASH disarmed.
executing .\cmd\TBDML_reset.cmd
!// After reset the commands written below will be executed
done .\cmd\TBDML_reset.cmd
Reset command file correctly executed.
executing .\cmd\TBDML_postload.cmd
!// After load the commands written below will be executed
RESET
done .\cmd\TBDML_postload.cmd
Postload command file correctly executed.
main 0xFE8025'L T
STARTED
RUNNING
ILLEGAL_BP
in>
最后附上BDM烧程序时弹出的界面:
|
|