Where can I find general information about embedded programing?

cancel
Showing results for 
Search instead for 
Did you mean: 

Where can I find general information about embedded programing?

Jump to solution
1,792 Views
Braulio_Cespede
Contributor III

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.

Labels (1)
1 Solution
67 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

please see attached. these should help.

View solution in original post

0 Kudos
9 Replies
67 Views
dpierman
Contributor II

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

67 Views
Braulio_Cespede
Contributor III

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.

0 Kudos
67 Views
iansmusical
Contributor V

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

67 Views
Braulio_Cespede
Contributor III

Thank you everyone, I really appreciate your help.

I'm stater my "Adventure" as a developer, but I don't know where to begin.

0 Kudos
67 Views
danmez
Contributor I

The first program a beginner usually writes in any language is called "Hello World" which is a simple program that prints this message.

0 Kudos
67 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

exactly, hello world sample is always good to beginner.

0 Kudos
67 Views
TICS_Fiona
NXP Employee
NXP Employee

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:

http://tinyurl.com/kqe3hss

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:

http://tinyurl.com/lrkw68u

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.

http://tinyurl.com/d5bbswj

67 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

another.

68 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

please see attached. these should help.

View solution in original post

0 Kudos