Hi,
I could get the program executing from Internal Flash. I had to use the CFFLasher.exe s/w for this purpose. Also the INT_ROM.lcf file need not have any changes, the TEXT location should be same i.e., 0x00000000.
I am not able to use the codewarrior Flash Programmer since it gives me some error. Got to check it out why? If any body has some suggestions please let me know.
Also, I am able to debug from Codewarrior. Thanks for all help.
TTA
Hi,
Now, I used the Flash Programming software in the codewarrior to flash the internal flash.
Below are the settings in the Flash Programmer software:
Target Configuration:
=====================
Target Initialization: Used the file MCF5282C3_PnE.cfg
Target RAM Memory Buffer: 0x00000000 , Size = 0x00006000
Flash Configuration:
====================
Flash Memory Base Address: 0xF0000000
Device: M5282_CFM
Program/Verify:
===============
Selected file (The S19 file that i generated)
Restrict Address Range from F0000000 to F007FFFF.
I am able to erase the Flash contents and Program successfully.
When i Debug (in codewarrior) it goes to the starting location of asm_startmeup, but the data is junk (00000000) in that.
And then it jumps to asm_exceptionhandler.
So, i went to the dBug prompt and said go 0xF0001118 (Which was the starting location it showed when i said debug in prev step).Iam able to execute the application.
I have the following questions.
1. Any reason, why i am not able to debug in code warrior.
2. If i need to boot from the internal flash, what should i do? I set the SW1-8 and 9 to OFF (Internal 32-bit) and restarted the evaluation board, the execution must have started. It did not happen.
3. Any jumper settings need to be done?.
Hi,
Now, I used the Flash Programming software in the codewarrior to flash the internal flash.
Below are the settings in the Flash Programmer software:
Target Configuration:
=====================
Target Initialization: Used the file MCF5282C3_PnE.cfg
Target RAM Memory Buffer: 0x00000000 , Size = 0x00006000
Flash Configuration:
====================
Flash Memory Base Address: 0xF0000000
Device: M5282_CFM
Program/Verify:
===============
Selected file (The S19 file that i generated)
Restrict Address Range from F0000000 to F007FFFF.
I am able to erase the Flash contents and Program successfully.
When i Debug (in codewarrior) it goes to the starting location of asm_startmeup, but the data is junk (00000000) in that.
And then it jumps to asm_exceptionhandler.
So, i went to the dBug prompt and said go 0xF0001118 (Which was the starting location it showed when i said debug in prev step).Iam able to execute the application.
I have the following questions.
1. Any reason, why i am not able to debug in code warrior.
2. If i need to boot from the internal flash, what should i do? I set the SW1-8 and 9 to OFF (Internal 32-bit) and restarted the evaluation board, the execution must have started. It did not happen.
3. Any jumper settings need to be done?.