Code Warrior 4.5 for Freescale HCS12(x) 4.5

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Code Warrior 4.5 for Freescale HCS12(x) 4.5

Jump to solution
2,477 Views
trama
Contributor I

I have installed CodeWarrior HCS12(X) Microcontrollers v4.5 and I am using a BDM "pemicro USB Multilink rev C".
I have created a new plan for micro "MC9S12DP256B" but when I try to program micro int the windows command are  are visualizes the following messages:

"
Preload command file correctly executed.
FP: FLASH parameters loaded for MC9S12DP256B_V11(NVMIF2) from C:\Programmi\Freescale\CW for HC12 V4.5\prog\FPP\mcu03C6.fpp
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 MC9S12DP256B_V11(NVMIF2) from C:\Programmi\Freescale\CW for HC12 V4.5\prog\FPP\mcu03C6.fpp

     MCU clock speed: 7996000 Hz
Block Module Name      Address Range   Status
  0  EEPROM               0 -   FFF   Programmed - Unselected
  1  FLASH_4000        4000 -  7FFF   Programmed - Unselected
  2  FLASH_C000        C000 -  FFFF   Programmed - Unselected
  3  ALL_PPAGES      308000 -3FBFFF   Programmed - Unselected
  4  FLAT8000_P30      8000 -  BFFF   Programmed - Unselected

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

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 FLAT8000_P30 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: No programming voltage

FP: No programming voltage

FP: ALL_PPAGES flash module is bad or protected.
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.
STARTED
RUNNING
ILLEGAL_BP
"

Can You help me!!!

Thanks in advance.
Labels (1)
Tags (1)
0 Kudos
1 Solution
561 Views
CrasyCat
Specialist III
Hello
 
A couple of question to try to isolate the reason for the problem.
  - Can you try to create a project for MC9S12DP256B using the project wizard, build the
    application and start the debugger.
    Is that working?
    If this is working that means there is something wrong in your project settings.
    Try to compare the .cmd and .ini files from your project and from the working
    wizard project to find the difference.
 
  - If this is not working can you eventually try the following:
      - In the Multilink/CyclonePro menu select "Connect"
      - Switch to "Special Setup" tab
      - Check "Set CLKSW bit in BDM control register"
      - Switch back to the Communication Tab and click OK. This will try to re-connect to the board.
 
  If none of the above solution is working, you need to submit a service request to get one of our support 
  people to look into the issue.
 
  Click here to submit a service request.
 
CrasyCat

View solution in original post

0 Kudos
1 Reply
562 Views
CrasyCat
Specialist III
Hello
 
A couple of question to try to isolate the reason for the problem.
  - Can you try to create a project for MC9S12DP256B using the project wizard, build the
    application and start the debugger.
    Is that working?
    If this is working that means there is something wrong in your project settings.
    Try to compare the .cmd and .ini files from your project and from the working
    wizard project to find the difference.
 
  - If this is not working can you eventually try the following:
      - In the Multilink/CyclonePro menu select "Connect"
      - Switch to "Special Setup" tab
      - Check "Set CLKSW bit in BDM control register"
      - Switch back to the Communication Tab and click OK. This will try to re-connect to the board.
 
  If none of the above solution is working, you need to submit a service request to get one of our support 
  people to look into the issue.
 
  Click here to submit a service request.
 
CrasyCat
0 Kudos