Freescale HCS08 training: MC9S08SG32
The MC9S08SG32 devices are members of the low-cost, high-performance HCS08 family of 8-bit microcontroller units (MCUs). The MC9S08SG32 Series high-temperature devices have been qualified to meet or exceed AEC Grade 0 requirements to allow them to operate up to 150°C. All MCUs in the family use the enhanced HCS08 core and are available with a variety of modules, memory sizes, memory types, and package types.
For more information see this datasheet:
On figure 3 you see users components available on the board:
*NOTE: LIN functionality supported when powered from PWR connector with input voltage greater than +12V or when powered from the LIN bus.
Let's start practical example...
Start the CodeWarrior Development Studio. The startup window will guide you.
Click the button "Create New Project":
Select target microcontroller from list and select the communication tool interface (P&E Micro).
NOTE: For MC9S08SG32 replace derivative.ini file.
Choose assembler programming language for example:
Disable Processor Expert, because the processor of this board is not the SG8, it's the advanced version.
Open the 'example_code.asm' file and compile the project with Ctrl + F7.
Start the debugger "F5" to be sure that our program execute properly.
Configure connection manager before first one session:
Select USB HCS08/HCS12/CFV1 Multilink interface and "Provide power to the target" checkbox.
Then click Connect button.
Click yes. From now you can start the program.
Click Start/Continue menu button or F5:
As result LED1 and LED2 must be blinking: LED1, LED2 and character ‘a’ will
transmit to serial port continuously (endless loop).
For more information please see these documents: