Erika OSEK

The DEMO9S12XSFAME board can be programmed with the P&E Multilink if the BDM connector (J106) is populated with a 6 pin header and the J202 jumpers are removed.

See http://erika.tuxfamily.org/wiki/index.php?title=Tutorial:_S12XS_-_First_installation_and_application_compilation_on_Windows for the majority of what needs to be done to get P&E running (build dummy project in CW and import P&E files into Eclipse).

For Win7 system change the following in the project Debug/make to properly locate the CWS12 compiler (setting the Eclipse path at "Windows -> Preferences -> Rt-Druid -> ..." is insufficient):

$(eval $(call check_and_set_cygwin_compiler_path,S12_ASMDIR,C:\Program Files (x86)\Freescale\CWS12v5.1))
$(eval $(call check_and_set_cygwin_compiler_path,S12_CCDIR,C:\Program Files (x86)\Freescale\CWS12v5.1))

The arguments for the P&E "External Tool Configuration" must be altered to this:

${project_loc}\Debug\s12.elf -w -Prod=${project_loc}/P&E_Multilink_USB.ini -instance=icd12