HomeTOOLSEXAMPLESEXPLORE EMBEDDEDE CSERVICESECU SAMPLESRegistration
Embedded C programming Tutorial , Keil C ide , microsoftware.gr
Keil CRC and CAN BUS codes.
XC164CM DEVELOPMENT BOARD
KEIL IDE
DAVE FROM INFINEON
KEIL IDE

We will use uVision3 IDE. Download a trial from  Keil  C166 .
Keil IDE is a complete integrated development environment. It is a C compiler, a simulator where you can simulate the running of your code and a debugger where you can do a real time debuging of your running code. You have also a logic analyzer where, during simulation, you can trigger a pin of xc164cm with a signal, for example a sine wave, writing a script file, and watch the result.

please see the Keil IDE basic keys




Symbols that we will use to travel you in Keil IDE.
>>   means "go to the main window and hit the key"
>     means " select "
>(R) means "select and right click"
//     means our comment
*    means  " your selection for example".
(name)    means "load a file that is in your computer"


 Examples of some of your travels in Keil IDE:

To build a Keil IDE project from the begining:

>>Project>New project>*name//give a name and save it in a folder>Select Device for Target ‘Target 1’>Infineon>xc164cm-8f > OK> uVision3>Yes>>Target 1// open it >(R)Source group 1 > Add files to Group “Source Group 1” > *(shift led left.c)


Now you can select "simulator" or "debuger".
>>Options for target> debug //select simulator or debuger

To continue to the simulator:
>>rebuild all target files >>start /stop debug session >> *peripherals >* I/O -ports  > *PORT1 >> debug > step

To continue to  the debuger:
>>rebuild all target files >>start /stop debug session >run 


 

Home|TOOLS|EXAMPLES|EXPLORE EMBEDDEDE C|SERVICES|ECU SAMPLES|Registration