Hi,
You need to set the correct target task. Follow the steps below:
1) Click on Window -> Show View -> Target Tasks
2) In the Target Tasks window, right-click on the rows under Name | Task Type | Run Configuration
3) Select Import from the drop-down menu
4) Navigate to C:\Program Files\Freescale\CW MCU v10.0\MCU\bin\plugins\support\TargetTask\Flash_Programmer\ColdFire and select MCF52259_INTFLASH (C:\Program Files\Freescale\CW MCU v10.0 is the default installation directory for CodeWarrior)
5) Next, click on Debug -> Debug Configurations
6) In the window that opens, select light_webserver_wifi_twrmcf52259_Int_Flash_Debug_OSBDM under CodeWarrior Download
7) Click on Debugger and then the Download tab
8) Select "Execute Tasks"
9) Deselect the "First" and "Subsequent" buttons for the light_webserver_wifi_twrmcf52259_mcf52259_Int_Flash and select them for the MCF52259_INTFLASH
10) Click Apply followed by Debug
Regards,
Rohan