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.
I've tested it on the 51QE128 and 51QE32.
-Neil
Sure, do you want the makefile for Codewarrior? I don't think it has any project-specific definitions. Are you having trouble building it?
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.