Hello everyone, I new at programming in Freescale platform.
So, My problem is, where to begin?
Can someone help me please?
with things like "How to create a File.C and Header.h?"
and Include in processor Expert.
I'll appreciate so much.
Note: I'm try to work with the MC9S08QE16.
解決済! 解決策の投稿を見る。
Hi,
I discovered a book, "Embedded Systems Interfacing for Engineers using the Freescale HCS08 Microcontroller", that helped me a lot. The book is actually two books. Book one focuses on Assembly language programming, and book two focuses on digital and analog hardware interfacing. This is a hands on type of book with example code to get you going. This book is by Douglas Summerville.
If you are a "C" programer then the book, "HCS08 Unleashed" by Fabio Pereira may be a good book for you.
I found the books on Amazon.com. I prefer Assembler so I found the first book the most helpful.
Don
That's the first thing, I had done. What I'm really looking for (The documentation attached was really helpful), is the understand of the components, or went use a interrupt. In other word do something and know what I'm doing that. For example: set a I2C component and make it works.
Hello,
What's probably a good idea when writing a "hello world" example, whether it's to flash a LED or send RS232 is to start small. Don't try implementing everything in one go and expecting it to work! Implement in small steps and understand what you have written. With reference to I2C start by reading the relevant section in the MC9S08QE16 reference manual before you start writing any code. If you are new to I2C then the internet is your friend to understand how it works and why etc.
If you (and I'm not sure) are very new to programming then it's a bit of a learning curve and through projects and experiments you'll gain the experience of when to use interrupts versus polling, for example.
Hope this helps you a little :-)
Ian
Thank you everyone, I really appreciate your help.
I'm stater my "Adventure" as a developer, but I don't know where to begin.
The first program a beginner usually writes in any language is called "Hello World" which is a simple program that prints this message.
exactly, hello world sample is always good to beginner.
Are you asking about Classic CodeWarrior for HC(S)08 v6.3?
You can find the help document under CodeWarrior installation folder:
<CW path>\Freescale\CodeWarrior for Microcontrollers v6.3\Help
More documents can be downloaded from:
You can find the example projects under:
<CW path>\Freescale\CodeWarrior for Microcontrollers v6.3\(CodeWarrior Examples)
If you are using Eclipse CodeWarrior for MCU v10.x, please find the help documents under:
C:\Freescale\CW MCU v10.x\MCU\Help
You can find more documents on how to use CW10.x from:
CodeWarrior 10.x also include the example projects, and they are under:
C:\Freescale\CW MCU v10.x\MCU\CodeWarrior_Examples\HC_Examples
There are some videos on how to use CodeWarrior in the link below.