Hi Andre,
It seems that there are some problems with paths.
Please create new empty project for S12G128 and load it into MCU.
If loading will be not work due to security, please unsecure it by Code Warior debugger menu ->MultilinkCyclonePro->Unsecure…
If not work you can use unsecure12 from P&E:
http://www.pemicro.com/downloads/download_file.cfm?download_id=16
Unsecure_12 Help Files:
http://www.pemicro.com/downloads/download_file.cfm?download_id=14
Note: For downloading is necessary registration.
After that you could use debugger for loading customer code. However prior that please additionally check s19 file:
If this file contains any data at address 0xFFFF08..0xFFFF0F(0xFF08..0xFF0F for S1 records) except unsecure byte 0xFE at address 0xFF0F, please add command “FLASH NOUNSECURE” into preload command file (P&E_Multilink_USB_Preload.cmd if you use PE Multilink).
This will cause that security byte will be not programmed prior loading code into flash.
For more information about flash security, please look at document:
https://community.freescale.com/docs/DOC-93803
If s19 file contains any data at address 0xFF0E (FOPT register), please add command “wb 0x03c 0x00 //disable cop” into reset command file (P&E_Multilink_USB_Reset.cmd if you use PE Multilink).
This will cause that watchdog will be disabled after every reset caused by debugger.
I hope it helps you.
Have a great day,
RadekS
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------