打印

求助!飞思卡尔9S12X单片机问题

[复制链接]
3014|3
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
zibee|  楼主 | 2010-2-1 16:37 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
给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没问题。请各位提供建议!感激不尽!

相关帖子

沙发
lileibmw| | 2010-2-2 08:49 | 只看该作者
楼主确认你的BDM可以烧S12X?

使用特权

评论回复
板凳
zibee|  楼主 | 2010-2-2 11:00 | 只看该作者
BDM是买龙丘的,他那边给的答复是可以的。我也怀疑有没有问题。

使用特权

评论回复
地板
木头东瓜| | 2010-2-2 11:03 | 只看该作者
还是找个PE的仿真器试试看吧

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

2

主题

4

帖子

1

粉丝