Flash protection

Hi I want to debug a program with Metrowerks CodeWarrior and load it on a MC9S12DT128B with P&E USB Multilink. When i want to download it, following messages appear in the command window:

!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 executing .\cmd\p&e_icd_startup.cmd

!// At startup the commands written below will be executed ICD-12 ready done .\cmd\p&e_icd_startup.cmd

Startup command file correctly executed. executing .\cmd\p&e_icd_preload.cmd

!// Before load the commands written below will be executed ICD-12 ready done .\cmd\p&e_icd_preload.cmd

Preload command file correctly executed. FP: FLASH parameters loaded for MC9S12DT128B_V10 from C:\Program Files\Metrowerks\CodeWarrior CW12_V3.1\prog\FPP\mcu03DA.fpp executing .\cmd\p&e_icd_reset.cmd

!// After reset the commands written below will be executed done .\cmd\p&e_icd_reset.cmd

Reset command file correctly executed. FP: FLASH parameters loaded for MC9S12DT128B_V10 from C:\Program Files\Metrowerks\CodeWarrior CW12_V3.1\prog\FPP\mcu03DA.fpp

MCU clock speed: 8054000 Hz Block Module Name Address Range Status 0 EEPROM 2000 - 27FF Blank - Unselected 1 FLASH_4000 4000 - 7FFF Blank - Unselected 2 FLASH_C000 C000 - FFFF Blank - Unselected 3 PAGED 388000 -3FBFFF Blank - Unselected

FP: The UNPROTECT command is not available for the EEPROM flash module =3D> Skipped.

FP: The UNPROTECT command is not available for the FLASH_4000 flash module =3D> Skipped.

FP: The UNPROTECT command is not available for the FLASH_C000 flash module =3D> Skipped.

FP: The UNPROTECT command is not available for the PAGED flash module =3D> Skipped. executing .\cmd\p&e_icd_vppon.cmd

!// Before programming the flash, the commands written below will be executed done .\cmd\p&e_icd_vppon.cmd

Vppon command file correctly executed. executing .\cmd\p&e_icd_vppoff.cmd

!// After programming the flash, the commands written below will be executed done .\cmd\p&e_icd_vppoff.cmd

Vppoff command file correctly executed. FP: Arm FLASH for loading. executing .\cmd\p&e_icd_vppon.cmd

!// Before programming the flash, the commands written below will be executed done .\cmd\p&e_icd_vppon.cmd

Vppon command file correctly executed. executing .\cmd\p&e_icd_vppoff.cmd

!// After programming the flash, the commands written below will be executed done .\cmd\p&e_icd_vppoff.cmd

Vppoff command file correctly executed. FP: FLASH disarmed. executing .\cmd\p&e_icd_reset.cmd

!// After reset the commands written below will be executed done .\cmd\p&e_icd_reset.cmd

Reset command file correctly executed. executing C:\Konrad Blum\HC12\titi\bin\P&E_ICD.bpt

!savebp off RESET done C:\Konrad Blum\HC12\titi\bin\P&E_ICD.bpt

executing C:\Konrad Blum\HC12\titi\bin\P&E_ICD.mrk

!MARKPOINTS SAVE OFF done C:\Konrad Blum\HC12\titi\bin\P&E_ICD.mrk

executing .\cmd\p&e_icd_postload.cmd

!// After load the commands written below will be executed !// Show main function at startup !FindProc main done .\cmd\p&e_icd_postload.cmd

Postload command file correctly executed.

in>

So, the Flash and Eeprom is protected. The program already worked on another print (a similar one) Can anybody help me??

Greez K=F6nsi

Reply to
corrrado
Loading thread data ...

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.