Hello, I am making a project with the lm3s811.
When I build my project uVision says that it has made a .ELF file for me. But when i search this file it is nowhere to be found! So i cannot load my flash.
But when I build a test project uVision makes a .AXF file. (which I can find!).
How is this possible what am I doing wrong?
And why is there a differnce in the file format??
Thanx for any help!
Hello Per,
I installed a seperate gcc compiler (GNUARM) the project i am trying to build is made with this compiler so it should work. (See the website i gave last time.)
i think it does not work correct with uVision at this time because i just found a *.lnp file.
can you telll me moere about the manual linking of the project. I am kind of new to this.
I am still finding answers to all your questions.
what i do is this: I build my project and then i press the load button in uVision.
I am kind of new to uVision and completly new to GNUARM. So thanks for all your information and patient.
I build my project and then i press the load button in uVision.
Try to find out if the project builds successfully in the first place, by looking at the log/list/map files.
I am kind of new to uVision and completly new to GNUARM.
Did you try building a small app using uVision, its default toolchain (RealView?) and downloading it to the target device? Check the project settings so see which toolchain (compiler, assembler, linker) is used.
Manual linking should not be necessary, it would only give a clue what's going wrong during the build. But this should also be part of any build logging when using uVision.
-- J
Yes, I agree.
Trying a manual link is something to do _if_ the IDE does not produce a reasonable message.
Start by looking at all messages you get during the build process. If you don't understand them - cut and paste to this thread.
Try to find out if the project builds successfully in the first place, by looking at the log/list/map files
I find a few list files, some have errors so i have to do something about that. Later i will give some examples. and ask how to solve those.
Did you try building a small app using uVision, its default toolchain (RealView?) and downloading it to the target device?
No i did not and I have no idea how i have to do this.
Check the project settings so see which toolchain (compiler, assembler, linker) is used.
I looked at options for target1 (i think this is what you mean with project settings. Under the tab linker i can do a lot of things but i do not know how to see wich toolchain i use.
I find a few list files, some have errors so i have to do something about that.
It's strange that the linker/uVision tells you that an ELF file was created when the compiler did not even build everything.
[toolset configuration] http://www.keil.com/support/man/docs/uv3/uv3_ca_armtoolset.htm
[test app] No i did not and I have no idea how i have to do this.
We don't have any background info on your experience with embedded software development so it's difficult to tailor my responses.
I looked at the speech project and it didn't show anything about GNUARM as far as I could see; did you try building it with RealView? The .zip file even contains pre-built .axf files.
I suggest starting with something really simple, HelloWorld style, using your environment (uVision (licensed?), target device or uVision hardware simulator, toolchain, programmer/debugger(ULINK?)) and last but not least the example projects and manuals :-) http://www.keil.com/support/man/docs/uv3/uv3_overview.htm Trying to get a rather complex speech project to work without getting familiar with the target and tools first, is quite a big leap.
It's strange that the linker/uVision tells you that an ELF file was created when the compiler did not even build everything
I found that to but i have no idea about the reason why!
I am in the last stage of my education. than i am finished with school. so i do not have a lot of experience with embedded software development. The reason why i am so keen on the speech project is because this is my final school project. I have to do a study about this project and see if it is usable for further use.
did you try building it with RealView? The .zip file even contains pre-built .axf files.
yes i tried Realview but i do not have a valid license so that doesn't work. Thanks for pointing out that there are already pre-built .axf files in the zip file. unfortunately these are to big to fit in the memory of the board.
i know almost for sure that the problem lies with GNUARM and the link to uvision. So i am going to try Cygwin because that should work with uVision. When installed i will try something really simple.
I am in the last stage of my education. so i do not have a lot of experience with embedded software development.
In that case be prepared to get replies in this forum telling you to read a lot of documentation and to do most of the work yourself. Check the archive for the typical "give me all the code fast" 'questions' from students :-)
Embedded software tends to be a 'little' more complicated than just downloading a .zip file from the Net and installing it. Alot more hardware/software/tool/single-bits-in-register dependencies.
[pre-built .axf files] unfortunately these are to big to fit in the memory of the board.
What kind of development kit do you have? Does anybody in your school have experience with this board? Did it come with examples? Even with the unlicensed demo version you should be able to get a HelloWorld running on the target device. That should be a first test.
Then try adding GNU ARM as a toolchain and do the HelloWorld again using GNU.
I haven't checked the details but Keil has some info perhaps: http://www.keil.com/appnotes/docs/apnt_199.asp http://www.keil.com/forum/docs/thread8537.asp
Something else to keep in mind is that the C and assembly source code you have might not build using GNU ARM if it uses RealView specific (assembly) instructions.
-- Joost