Hi Carl,
I am still unclear on exactly what it is that you are after.
I would have thought that what you could have found here on these forums and what Alban had pointed out would have sufficed.
You also seem to be against using Codewarrior, is this correct?
You seem to be trying to achieve a solution in pure C (whatever that is). However I would have to ask why? The programming of the flash is very device/technology/timing specific. C is not the best language for this sort of thing and most of the aims of using "pure" C would not apply.
Perhaps if you would share your reasoning on this, someone may be able to suggest a way forward for you.