S12XDT256: Error when download the program by BDM

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S12XDT256: Error when download the program by BDM

1,868件の閲覧回数
Kaesar
Contributor I

Hello, I download the example "Xdt256AD"form your web and then try to download to my S12XDT256 by BDM. Some error occured during this process,

 1st error messsage : Elf loader : Error while writing to FFFE...101FE .

 2nd error message:HI-WAVE  "Fail to load ..../Xdt256AD/bin/P&E_Muiltilink_CyclonePro.abs".

 Finally the download is finished ,the debug can only runued step by step.

  And the following are from the command window:

 

 

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 MC9S12XDT256 from C:\Program Files\Freescale\Codewarrior for HC12 V4.6\prog\REG\MCU02C7.REG

executing .\cmd\P&E_Multilink_CyclonePro_startup.cmd

 

!// At startup the commands written below will be executed

Target Ready

!

done .\cmd\P&E_Multilink_CyclonePro_startup.cmd

 

Startup command file correctly executed.

executing .\cmd\P&E_Multilink_CyclonePro_preload.cmd

 

!// Before load the commands written below will be executed

Target Ready

done .\cmd\P&E_Multilink_CyclonePro_preload.cmd

 

Preload command file correctly executed.

executing .\cmd\P&E_Multilink_CyclonePro_reset.cmd

 

!// After reset the commands written below will be executed

done .\cmd\P&E_Multilink_CyclonePro_reset.cmd

 

Reset command file correctly executed.

FP: FLASH parameters loaded for MC9S12XDT256_V10(NVMIF2 rev 2,2,2,2,1,1,1,1) from C:\Program Files\Freescale\Codewarrior for HC12 V4.6\prog\FPP\mcu02C7.fpp

 

      MCU clock speed: 7979000 Hz

Block Module Name      Address Range   Status

   0  FLASH_4000        4000 -  7FFF   Blank - Unselected

   1  FLASH_C000        C000 -  FFFF   Programmed - Unselected

   2  PAGES_E0_E7     E08000 -E7BFFF   Blank - 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   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 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\P&E_Multilink_CyclonePro_vppon.cmd

 

!// Before programming the flash, the commands written below will be executed

done .\cmd\P&E_Multilink_CyclonePro_vppon.cmd

 

Vppon command file correctly executed.

 

FP: Call of a command not implemented!

Please modify "flags" in FLASH_4000 module INFO applet.

 

FP: Call of a command not implemented!

Please modify "flags" in FLASH_C000 module INFO applet.

 

FP: Call of a command not implemented!

Please modify "flags" in PAGES_E0_E7 module INFO applet.

 

FP: Operation failed on PAGES_F8_FF flash module.

 

FP: Call of a command not implemented!

Please modify "flags" in EEPROM_C00 module INFO applet.

 

FP: Call of a command not implemented!

Please modify "flags" in ALL_EPAGES module INFO applet.

 

FP: Call of a command not implemented!

Please modify "flags" in EEPROM_800 module INFO applet.

 

FP: Call of a command not implemented!

Please modify "flags" in FLASH_8000 module INFO applet.

executing .\cmd\P&E_Multilink_CyclonePro_vppoff.cmd

 

!// After programming the flash, the commands written below will be executed

done .\cmd\P&E_Multilink_CyclonePro_vppoff.cmd

 

Vppoff command file correctly executed.

FP: Arm FLASH for loading.

executing .\cmd\P&E_Multilink_CyclonePro_vppon.cmd

 

!// Before programming the flash, the commands written below will be executed

done .\cmd\P&E_Multilink_CyclonePro_vppon.cmd

 

Vppon command file correctly executed.

executing .\cmd\P&E_Multilink_CyclonePro_vppoff.cmd

 

!// After programming the flash, the commands written below will be executed

done .\cmd\P&E_Multilink_CyclonePro_vppoff.cmd

 

Vppoff command file correctly executed.

FP: FLASH disarmed.

executing .\cmd\P&E_Multilink_CyclonePro_reset.cmd

 

!// After reset the commands written below will be executed

done .\cmd\P&E_Multilink_CyclonePro_reset.cmd

 

Reset command file correctly executed.

executing .\cmd\P&E_Multilink_CyclonePro_postload.cmd

 

!// After load the commands written below will be executed

RESET

done .\cmd\P&E_Multilink_CyclonePro_postload.cmd

 

Postload command file correctly executed.

 

in>

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

603件の閲覧回数
kef
Specialist I

16bits address space ends at 0xFFFF, but if I understand this debugger message "Error while writing to FFFE...101FE .", then it seems that your binary file is telling debugger to continue writing bytes past 0xFFFF. Isn't vectors table misplaced?

0 件の賞賛
返信

603件の閲覧回数
elxsi
Contributor I

I am facing from similar issue here.

 

Development Environment

1. MC9S12XEP100 as target device
2. Code warrior - Ver 5.90 for S12XE.
3. P & E Debugger USB Multilink Interface - Part# USB-ML-12(Firmware Ver:5.83)

Could anyone please tell me how to resolve this issue ?

FP:Operation failed

0 件の賞賛
返信