Nikolai Fzr

Minimum files required to program the Coldfire MCF51JM128 micorcontroller

Discussion created by Nikolai Fzr on Nov 27, 2008
Latest reply on Dec 16, 2008 by Anthony Huereca
I recently bought the Badge board to take part in the competition. It is a revision C board with the MCF51JM128 coldfire microcontroller.

Im a beginner and not much acquainted with programming procedure. So i downloaded the sample LED Blink code from the CanYourBadgeDoThis resources page.

The "sources folder" in the zip file contains the following code files :

bootloader.h
derivative.h
exceptions.c
exceptions.h
ledapp.c
ledapp.h
main.c
mpr084.c
mpr084.h
startcf.c
startcf.h

The role of bootloader.h, derivative.h, exceptions.c, exceptions.h, startcf.c, startcf.h  is not clear to me.
My query is, which are the bare minimum files needed to write a simple LED blink program.

It would be great if someone can throw some light on what the above mentioned files do.
Btw, does the bootloader get erased and reprogrammed each time i program the microcontroller ?



Outcomes