Hi ,
Im working with Kinetis SDK 1.2 and the FRDMK64F Board. I could successfully build the hello sample and flashed onto the board before. Everything were fine.
But since yesterday when I try to build eth_to_serial sample located inside middleware folder.
The output .elf gets really huge.
arm-none-eabi-size --format=berkeley "eth_to_serial.elf"
text data bss dec hex filename
81620 1304 4992 87916 1576c eth_to_serial.elf
Finished building: eth_to_serial.siz
I can't figure out what I have changed to cause this. Now everything I build are about 50MB or more, even the hello sample I built before.
Did I accidentally delete some flags of the makefile?
I tried to strip the elf File and flashed onto the board, but it seems to be wrong. The Board return fail.txt "RESERVED BITS".
I also try to build the project fresh.
Any idea that can help me out?
Thanks.
Hello Quang,
Which IDE do you use ? and which version.
Could you screenshot the error when flash the .elf file onto board.thank !
BR
Alice
Hi Alice,
Thanks for your answer.
Im using the Freescale KDS 3.0.0 IDE
Hello Quang,
When you build the example of "eth_to_serial" , please refer to the "readme.txt" here :..\Freescale\KSDK_1.2.0\middleware\tcpip\rtcs\examples\eth_to_serial\_readme.txt .
And have you build the MQX lib ?
BR
Alice
Hi Alice,
Yes, I built the sample as the readme told me to do. I actually could build it properly and flashed on board, which means all the libs were build correctly.
Then I added "objcopy" to the build steps under project properties so that I get a .bin file to flash. I also wanted to changed some function to use dhcp instead of staticip. After those changes, I tried to build and get that huge size of .elf. I cant remember what else I've done to cause this.
Kind Regards
Quang
Hi Quang,
at the beginning was the elf file not that big? I build eth_to_serial with default settings and is also huge.
Carlos