I want to execute my code without BDM. So I have to flash my Code into FLASH. But you know, I'm a newbie: I've read the article "Flash Programmer" in CodeWarrior Help System, all my settings are as told. Only this message appears after pressing "program"-button : "0x00004438 bytes of Target Memory at 0x20000500 is not within flash boundaries." My Question: What does it mean? I want to write to the FLASH and not the RAM (which is addressed at 0x20000000). I click on "Details" -> ": No Error" Now I thought, I am able to use my EVB without the BDM. But if I plugged off the BDM-USB cable the "red" LED at the RESET-Button started to glow and wont stop until I replugged the BDM-cable. I have turned off the supply-voltage and immediately turned it on again. I thought now, my code would be executed automatically (BDM not connected at this moment). But if my code would run, the LEDs should turn off and i should gain i message via UART, which all works fine in BDM-debug-mode. I am astonished, because I have tested other IDEs ,e.g. pemicro's pkgcfz, in my opinion, its an ugly software, but I was easily able to bring my code into FLASH.
Please help. And Thanks in Advance
ADDITIONAL: Still use the free CodeWarrior version, but my Code has only 21 files with 96K and 16K of Data.
Check out the following tutorial: http://www.utasker.com/docs/M5223X/uTaskerV1.2-Tutorial-M5223X.PDF On pages 7 and 8 there is also a step by step programming guide using CW6.3 and CF Flasher V3.3.1 which may help you. The tutorial is for the M5223X but the uTasker runs also on the M5213 and programming is identical - I use also the M5213EVB with it.
I think, I need another ".lcf"-file, because I have these "M5213EVB_SRAM.lcf" and the "M5213EVB_FLASH.lcf". Until now, i always targetted the SRAM.lcf. If I want to use the FLASH.lcf, there appears an error, because he couldn't find "__start" with "Exception Vector Name: Address Error". Where is my fault?