51QE Bootloader

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

51QE Bootloader

1,139 Views
neil_klingensmi
Contributor II

I've written a flash and RAM bootloader for the 51QE family of devices. The source and documentation can be downloaded from my website:

 

http://pages.cs.wisc.edu/~klingens

 

It is useful if you want to use gcc or another 3rd party compiler to generate binaries for your device.

Labels (1)
9 Replies

829 Views
JimDon
Senior Contributor III

Neil,

Pretty cool.

Which version are you using? I'd to try it out.

Download Sourcery CodeBench for ColdFire ELF - Mentor Graphics

0 Kudos

829 Views
neil_klingensmi
Contributor II

I've tested it on the 51QE128 and 51QE32.

-Neil

0 Kudos

829 Views
JimDon
Senior Contributor III

I'm sorry, I meant version of codesourcery.

0 Kudos

829 Views
neil_klingensmi
Contributor II

Oh, I compiled it with v10.2.

0 Kudos

829 Views
JimDon
Senior Contributor III

Well, the example built fine on windows with 4.5.1, but I will upgrade to the version you mentioned.

Any chance I could convince you to put the make file in your bootloader zip?

Thanks...

0 Kudos

829 Views
neil_klingensmi
Contributor II

Sure, do you want the makefile for Codewarrior? I don't think it has any project-specific definitions. Are you having trouble building it?

0 Kudos

829 Views
JimDon
Senior Contributor III

I see, looking at the source code it is a CW project.

0 Kudos

829 Views
neil_klingensmi
Contributor II

Right, the bootloader must be compiled and programmed onto the board with Codewarrior. Once programmed onto the board, it allows you to load code generated with gcc. I would rather not involve Codewarrior at any stage of the process, but I don't have any open-source tools for accessing the 51QE's BDM interface.

I have attached a header file with register definitions for the 51QE that works with gcc. I will also add this to the example tarball on my website.

0 Kudos

829 Views
JimDon
Senior Contributor III

Thanks for that.

Do you have some guidelines for converting Freescale .h files to ones that gcc can digest?

0 Kudos