Convert a Processor Expert project from linked mode to standalone mode

Document created by jack Employee on Aug 26, 2014Last modified by Diana Torres on Feb 28, 2017
Version 2Show Document
  • View in full screen mode

Processor Expert offers static code which allows choosing standalone mode and linked mode for each project. You can select either linked mode or standalone mode for static code during project creation. But what if you want to change mode for a created project? With the below steps you can learn how to convert a project from linked mode to standalone mode in CodeWarrior v10.6.


1. From the original linked mode PEx project, remove the “static_code” folder.


2. Close the project in CW10.6.


Navigate to the top folder of the project, then open the file using text editor software, for example, windows notepad.


3. Seach the key world “LINKED” in the file.


Replace the line





4. Remove the .ProcessorExpert.g_c file and .ProcessorExpert.g_x file under the top folder of the project.


5. Then re-open the project in CW10.6.


Click “Generate PEx Code” button from Pex components view.



You will see a “static files track changes” dialog pop up. Click OK, PEx will create static files under the project folder.


6. You will see that IO_Map, PDD and System files have been generated under Static_Code folder.



Unfortunately PEx doesn’t generate Peripherals files automatically. So you need copy the Peripherals files to the project manually. For dsc 56F82748 MCU in this case, the peripherals static files are located under the “C:\Freescale\CW MCU v10.6\MCU\ProcessorExpert\lib\56800\pdd2\MC56F82748VLH\perihperals” folder on my machine. You can simply drag and drop the folder to the project.




Then select “Copy files and folders” option and click “OK”.




7. Now you can see that the static files are placed under the project folder now. You can verify this by checking if there is an arrow mark on the static file icons. Alternatively, you can also check by right clicking on a static file and then click “Show In Windows Explorer” item from the context menu. The stitic files should be located under the project folder.



With above tricks, you can also convert a project from standalone mode to linked mode easily.