This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Dears:
We check the kernel and txt file with CCS debugging step by step, and found the txt file through hex2000 is not based 8 Byte.
Is there any requirement to make the txt file based 8 Byte?
Pls. help!
HI Sal:
I provide the detailed issue pictures and we confirm we use the latest kernel in C2000Ware.
Picture of Copy of Flash failing.xlsx
And pls. kindly help to check the order is OK?
hex2000.exe -boot -sci8 -a -o CPU1.txt CPU1.out
Pls. help us.
Dear Sal:
We found the reason is the Flash address is 0x90002 and the address is not the multiple of 4, then the flash is failure.
However, address of 0x90002 is the text section by dividing with Hex2000.
Since from map file the address of text section(program section) starts 0x80004, and the Length is 0x15195.
But using hex2000 the text section is divided into two text sections.
One is from 0x80004, and Length is 0xFFFF; the other is form 0x80004+0xFFFE=0x90002.
Btw, the Length of 0xFFFF is the biggest length to send kernel's data under the txt format.
Then the flash is failure.
Can we set the Hex2000's reg to avoid dividing the two section, or other method to avoid happening the address is not the multiple of 4?
Lian Wu said:But using hex2000 the text section is divided into two text sections.
One is from 0x80004, and Length is 0xFFFF; the other is form 0x80004+0xFFFE=0x90002.
I don't know why hex2000 does that. I tried to reproduce it, and failed. So that I can reproduce that behavior, please send me the linker command file, and the linker generated map file, from your build. I think that will give me enough information to reproduce this behavior.
Thanks and regards,
-George
George Mock said:please send me the linker command file, and the linker generated map file
Please put those files in a zip file, and attach that to your next post. I should have mentioned this in my last post.
Thanks and regards,
-George