QuickStart in Codewarrior 5.9 using C with MCU MCF51QE128 (DEMOQE128)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

QuickStart in Codewarrior 5.9 using C with MCU MCF51QE128 (DEMOQE128)

2,872 Views
jreyes085
Contributor I
QuickStart in Codewarrior 5.9 using C with MCU MCF51QE128 (Using DEMOQE128 evaluation board)
 
Hello, im new on this and i would like to know where do i start reading for learning codewarrior and programming in C language.
 
I need a quickstart manual of C for the MCF51QE128...In need to know all the registers that i have to initialize...
 
Where can i get it? Thanks, im new on this...
 
Thanks!
Labels (1)
0 Kudos
5 Replies

404 Views
stanish
NXP Employee
NXP Employee
Hi,

You may also find useful to create a new project (using Project Wizard) and enable support of Device Initialization tool. This graphical tool allows you to simply generate init. code for peripheral registers of selected MCU derivative.

Stanish

0 Kudos

404 Views
J2MEJediMaster
Specialist I
The software CD that came with the board should have a Quick Start guide for getting your computer connected to the board and using CodeWarrior to debug it.

For information on the processor, download its reference manual from here.

---Tom

0 Kudos

404 Views
jreyes085
Contributor I
mmmmm i thought they were some manual explaining about C language and how to start programmings the MCU´s. I know that there is a header called mcf51qe128.h where the registers are define, i also looked some examples and i tested it in the demoqe board (Wrote the flash memory with the examples).

The problem is that i want to know how to properly program the MCU´s in C language. Do this C programming manuals exists? or do i have to read the reference manual and search in the header file the exact name of registers that i want to use (in this form i would spend more time learning)?

Ok, thanks for your help...
0 Kudos

403 Views
J2MEJediMaster
Specialist I
Some of the sample programs in CodeWarrior's (Example Code) directory should give you some ideas how to use C to access the processor registers. The header file you mention defines variable names that represent the various processor registers and these variables can be accessed from C. There isn't a manual in the CodeWarrior documentation that provides a tutorial on how to do this.

While I know you're trying to figure out a lot of things all at once and seeking sources of information where you can, please do not post similar questions across the forums.

---Tom


Message Edited by J2MEJediMaster on 2008-10-30 08:33 AM
0 Kudos

404 Views
jreyes085
Contributor I
ok, thanks for the orientation and sorry for the others posts, but they arent exactly the same...sorry

Thanks again for your help...
0 Kudos