Hi Stefano,
I was using CW years ago, but I remember that there was a way to
burn the code into the flash via the BDM probe.
Sorry, I cannot put a finger on it and tell you how it is done today.
Another possible way is to make your code burn itself from RAM
to flash.
Ok, I'm looking to this guide, and trying to configure the flash programmer tool of coldfire. But an erase command (from codewarrior flash programmer tool), return:
ColdFire P&E Protocol Adapter : An error occurred while trying to write memory
Hi Stefano,
there are config files for some targets included in the compiler.
You have to set up such a file for your target.
The aim is to write some registers of the processor and to configure
your system. Otherwise the flashburner is not able to access your system.
Take a look at Metrowerks\CodeWarrior\Stationery\ColdFire\CF_M5214EVB\C
on your local disk and try to understand what happens.
This and the other files initialise your system, especially they set up the
chip select registers so the flash and ram and up on some adresses which
you can tell your flash burner to use.
Kind Regards, Georg