We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
hi, I am trying to connect ULINK2 to LPC2368 board. when i am trying to debug it is giving me error "could not load .afx file".
thanx
You have to make sure that you've done the following adjustements in the Options:
- Utilities: Use Target Driver Flash Programming -> ULINK ARM Debugger under settings you'have to use the LPC2000IAP 512kB Flash
-Debug: Use: ULINK ARM DEBUGGER and under settings select the 200kHz Jtag Clock
-Output & Listing: You have to verify that you've selected the right folders
- Output: an mark at 'create an executable and very important the name of your exe only should use normal letters and numbers. No underlines no points or other exclusive symbols
- C/C++ : the include path should include the path of your program
if you've done that, it should work
No problem with underline. It is just the dot '.' that is problematic, since it tells the IDE that _you_ have supplied an extension, in which case the Keil tools will not add any file name extension.
This is a quite common action. If you take a normal text editor and try to save 'john.rambo', the editor will assume that '.rambo' is the extension, and will not add any '.txt' extension to the file name.
If you take a normal text editor and try to save 'john.rambo', the editor will assume that '.rambo' is the extension, and will not add any '.txt' extension to the file name.
It has to be pointed out that by that criterion, Notepad.exe was not a normal text editor, at least for quite some time. You had to additionally change from "Text file" to "All files" in the Save dialog before it would actually save "hello.c" instead of "hello.c.txt"
But then, M$ has always had a special way with extensions. When a normal user sees the file 'hello.txt' in their Explorer window, they will most probably click on a 'hello.txt.exe' file...
:-)