Hi friends,
I am new in embedded C programming
I want to program a chip MC9S08DZ60 using code-warrior
Can anyone guide me how to do it?
Does anyone have any simple programs so that I can study & implemet them?
Any simple program such as glow LED, read switch etc. done in code warrior.
When you start code warrior ask you if you want do a new project (CW >5.0 Vers.). Put a project name->Select the hc(s)08 version and the debug interface -> Go ahead from adding files in your project (I don't think you have any files...to include) -> Select Processor expert-> Left as it is the C/C++ options-> AND now code Warrior creates your project.
Now starts Processor Expert. Now you can configure the peripheral as you want, and at the end of this process -> Generate Code.
At the end of this process you have a Main called as you previous done ready for write code.
Hi runblade
Thanks for your reply.
I have seen the startup document for code warrior.
I want to program MC9S08DZ60 .
I will be using 32 pin IC.
But I dont know how to write code, I am new in this field.
I have only used 8051 assembly programming.
How should I proceed with DZ 60 programming?
Suppose I want to read a switch or glow LED etc.
How should I proceed in this code warrior?
I have some knowledge of C programming but not done embedded c programming.
Please help me out
Thanks