给9S12XA256烧写程序的时候出现以下错误。
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 ...
IO registers loaded for MC9S12XA256 from C:\Program Files\Freescale\CodeWarrior for S12(X) V5.0\prog\REG\MCU02CD.REG
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 MC9S12XA256_V10(NVMIF2 rev 2,2,2,2,1,1,1,1) from C:\Program Files\Freescale\CodeWarrior for S12(X) V5.0\prog\FPP\mcu02CD.fpp
MCU clock speed: 7917525 Hz
Block Module Name Address Range Status
0 FLASH_4000 4000 - 7FFF Blank - Unselected
1 FLASH_C000 C000 - FFFF Blank - Unselected
2 PAGES_E0_E7 E08000 -E7BFFF Programmed - Unselected
3 PAGES_F8_FF F88000 -FFBFFF Programmed - Unselected
4 EEPROM_C00 C00 - FFF Blank - Unselected
5 ALL_EPAGES FC0800 -FF0BFF Blank - Unselected
6 EEPROM_800 800 - BFF Blank - Unselected
7 FLASH_8000 8000 - BFFF Blank - 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 PAGES_E0_E7 flash module => Skipped.
FP: The UNPROTECT command is not available for the PAGES_F8_FF 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.
FP: Operation failed on FLASH_4000 flash module.
FP: Operation failed on FLASH_C000 flash module.
FP: Operation failed on PAGES_E0_E7 flash module.
FP: Operation failed on PAGES_F8_FF flash module.
FP: Operation failed on EEPROM_C00 flash module.
FP: Operation failed on ALL_EPAGES flash module.
FP: Operation failed on EEPROM_800 flash module.
FP: Operation failed on FLASH_8000 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.
in>
不知道是什么原因。目标板跟BDM是连接上了。我用程序烧写9S12DG128没问题。请各位提供建议!感激不尽! |