Hi,
Unfortunately I don't have a DP256 device.
Now if I select the DP256 device (MCUID 0x3c6), I got similar error with my DP512 device.
********************************************************************
Loading Target ...
IO registers loaded for MC9S12DP256 from E:\Freescale\CWS12v5.1\prog\REG\MCU03C6.REG
USB HCS08/HCS12 MULTILINK detected - Flash Version 5.84
executing .\cmd\P&E_Multilink_USB_startup.cmd
!// At startup the commands written below will be executed
Target Ready
done .\cmd\P&E_Multilink_USB_startup.cmd
Startup command file correctly executed.
executing .\cmd\P&E_Multilink_USB_preload.cmd
!// Before load the commands written below will be executed
done .\cmd\P&E_Multilink_USB_preload.cmd
Preload command file correctly executed.
FP: FLASH parameters loaded for MC9S12DP256B_V11(NVMIF2 rev 2,3,3,3,2) from E:\Freescale\CWS12v5.1\prog\FPP\mcu03C6.fpp
USB HCS08/HCS12 MULTILINK detected - Flash Version 5.84
executing .\cmd\P&E_Multilink_USB_reset.cmd
!// After reset the commands written below will be executed
done .\cmd\P&E_Multilink_USB_reset.cmd
Reset command file correctly executed.
MCU clock speed: 8000000 Hz
Block Module Name Address Range Status
0 EEPROM 400 - FFF Blank - 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 Blank - 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_USB_vppon.cmd
!// Before programming the flash, the commands written below will be executed
done .\cmd\P&E_Multilink_USB_vppon.cmd
Vppon command file correctly executed.
executing .\cmd\P&E_Multilink_USB_vppoff.cmd
!// After programming the flash, the commands written below will be executed
done .\cmd\P&E_Multilink_USB_vppoff.cmd
Vppoff command file correctly executed.
FP: Arm FLASH for loading.
executing .\cmd\P&E_Multilink_USB_vppon.cmd
!// Before programming the flash, the commands written below will be executed
done .\cmd\P&E_Multilink_USB_vppon.cmd
Vppon command file correctly executed.
FP: ALL_PPAGES flash module is bad or protected.
executing .\cmd\P&E_Multilink_USB_vppoff.cmd
!// After programming the flash, the commands written below will be executed
done .\cmd\P&E_Multilink_USB_vppoff.cmd
Vppoff command file correctly executed.
FP: FLASH disarmed.
USB HCS08/HCS12 MULTILINK detected - Flash Version 5.84
executing .\cmd\P&E_Multilink_USB_reset.cmd
!// After reset the commands written below will be executed
done .\cmd\P&E_Multilink_USB_reset.cmd
Reset command file correctly executed.
executing .\cmd\P&E_Multilink_USB_postload.cmd
!// After load the commands written below will be executed
RESET
done .\cmd\P&E_Multilink_USB_postload.cmd
Postload command file correctly executed.
main 0x403E T
STARTED
RUNNING
Breakpoint
********************************************************************
I've found an old message with a colleague regarding the Dx256 devices.
In fact the DT256, DP256, DJ256, ... were very similar.
Different MCU_ID were used but the files are similar.
Please have a look to the \CWS12v5.1\Prog\fpp folder.
DP256 -> Mcu03c6.fpp
DJ256 -> Mcu03d8.fpp
DT256 -> Mcu02ea.fpp
DT256B -> Mcu03d7.fpp
You can open them using notepad for instance and you can see all files are identical.
I've a DT256 and I tried with this device.
I got the in Command component:
++++++++++++++++++++++++++++++++++++++++++++
Loading Target ...
IO registers loaded for MC9S12DP256 from E:\Freescale\CWS12v5.1\prog\REG\MCU03C6.REG
USB HCS08/HCS12 MULTILINK detected - Flash Version 5.84
IO registers loaded for MC9S12DP256 from E:\Freescale\CWS12v5.1\prog\REG\MCU03C6.REG
USB HCS08/HCS12 MULTILINK detected - Flash Version 5.84
USB HCS08/HCS12 MULTILINK detected - Flash Version 5.84
IO registers loaded for MC9S12DP256 from E:\Freescale\CWS12v5.1\prog\REG\MCU03C6.REG
USB HCS08/HCS12 MULTILINK detected - Flash Version 5.84
executing .\cmd\P&E_Multilink_USB_startup.cmd
!// At startup the commands written below will be executed
Target Ready
done .\cmd\P&E_Multilink_USB_startup.cmd
Startup command file correctly executed.
executing .\cmd\P&E_Multilink_USB_preload.cmd
!// Before load the commands written below will be executed
done .\cmd\P&E_Multilink_USB_preload.cmd
Preload command file correctly executed.
FP: FLASH parameters loaded for MC9S12DP256B_V11(NVMIF2 rev 2,3,3,3,2) from E:\Freescale\CWS12v5.1\prog\FPP\mcu03C6.fpp
USB HCS08/HCS12 MULTILINK detected - Flash Version 5.84
executing .\cmd\P&E_Multilink_USB_reset.cmd
!// After reset the commands written below will be executed
done .\cmd\P&E_Multilink_USB_reset.cmd
Reset command file correctly executed.
MCU clock speed: 8005000 Hz
Block Module Name Address Range Status
0 EEPROM 400 - FFF Blank - Unselected
1 FLASH_4000 4000 - 7FFF Blank - 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_USB_vppon.cmd
!// Before programming the flash, the commands written below will be executed
done .\cmd\P&E_Multilink_USB_vppon.cmd
Vppon command file correctly executed.
executing .\cmd\P&E_Multilink_USB_vppoff.cmd
!// After programming the flash, the commands written below will be executed
done .\cmd\P&E_Multilink_USB_vppoff.cmd
Vppoff command file correctly executed.
FP: Arm FLASH for loading.
executing .\cmd\P&E_Multilink_USB_vppon.cmd
!// Before programming the flash, the commands written below will be executed
done .\cmd\P&E_Multilink_USB_vppon.cmd
Vppon command file correctly executed.
executing .\cmd\P&E_Multilink_USB_vppoff.cmd
!// After programming the flash, the commands written below will be executed
done .\cmd\P&E_Multilink_USB_vppoff.cmd
Vppoff command file correctly executed.
FP: FLASH disarmed.
USB HCS08/HCS12 MULTILINK detected - Flash Version 5.84
executing .\cmd\P&E_Multilink_USB_reset.cmd
!// After reset the commands written below will be executed
done .\cmd\P&E_Multilink_USB_reset.cmd
Reset command file correctly executed.
executing .\cmd\P&E_Multilink_USB_postload.cmd
!// After load the commands written below will be executed
RESET
done .\cmd\P&E_Multilink_USB_postload.cmd
Postload command file correctly executed.
main 0x403E T
++++++++++++++++++++++++++++++++++++++++++++
The project using DP512 generates similar problem whereas with DT256 device it's working fine.
I don't think there is a problem with the fpp file as it's working fine on my side.
Does the problem is linked to the interface ?
Please can you provide me the same command dialog you get on your side.
It could be interesting to compare the flash version used.
Another test you can do: select DP512 instead of DP256.
Regards
Have a great day,
Pascal
NXP Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------