Hi friends, I am beginner in the Cortex m3. I am using NGX_mx_LPC1768 board for development. By reading user manual i have successfully created hex file and .axf file but when i am using command to generate .bin file then it is showing an error like this Error: Q0122E : could not open file '.\Flash 0x2000\aaaa.axf': No such file or Directory my project name is aaaa. i searched a lot and got a clue that i need to install a tool chain for Keil (i am using windows xp/7) but i am unable to get Tool chain for my this. i am just doing an LED blinking program so can anyone help me and give some expert suggestions or provide link to download toolchain required for my project...please help me....Thanks in advance
"i have successfully created hex file and .axf file"
To do that, you must have successfully installed & used a toolchain!
What toolchain did you use?
" i am using command to generate .bin"
What command?
"it is showing"
What is showing?
"an error like this"
What do you mean, "like" that? You need to post the actual error - exactly as given. Use copy & paste.
"Error: Q0122E : could not open file '.\Flash 0x2000\aaaa.axf': No such file or Directory"
So does a file named 'aaaa.axf' exist anywhere on (or accesible to) your PC?
http://www.keil.com/forum/58485/
Note that spaces in file/folder names will cause all kinds of grief - just don't do it!
"i searched a lot and got a clue that i need to install a tool chain for Keil"
Keil is is toolchain!
http://www.keil.com/arm/mdk.asp
And, as already noted, if you managed to generate "hex file and .axf file" then you must already have a toolchain!
"i am unable to get Tool chain for my this"
Makes no sense - see above.
"can anyone help me and give some expert suggestions"
Looking at the top of the page, you can see a set of links:
Products - Download - Events - Support - Videos
Don't any of those sound like places to go for support...?
"or provide link to download toolchain"
Again, you must already have one. But look again at those links - which do you think is most likely to contain product download links...?
Well consider what the relative path of the .AXF file is with respect to execution of FROMELF (or whatever) in this context. The tool clearly thinks you have it wrong. You could specify the complete path, or perhaps write a small noddy app in place of FROMELF, and have it print the current directory path, from it's perspective, and attempt to open the file too.