Hi ! Have ULINK and MCB2100 with processor LPC2119. In an effort insert in any project function printf() , program in step of execution stops in file "STARTUP.S" on operator:
PAbt_Handler B PAbt_Handler
Compiler and linker give 0 errors, 0 warning. Such problem so appears while working with simulator. The Port UART1 is initialized in accordance with your example: "Hello.Uv2". The File "stdio.h" is connected.
Alex.
Looks like you have not added the file retarget.c.
Anyway, if you want to detect the location of the data abort take a look here:
http://www.keil.com/support/docs/3080.htm
Hi! Thank you for answer! Has Connected the file retarget.c. Linking gives errors: Hello.axf: Error: L6915E: Library reports error: __use_no_semihosting_swi was requested, but _sys_open was referenced Hello.axf: Error: L6915E: Library reports error: __use_no_semihosting_swi was requested, but _ttywrch was referenced The Program does not be going to.
Hi! Thank you, once again! Has Connected other file "retarget.c" from project...\Keil\ARM\RV30\Startup. All have earned! Alex.
So your problem is solved now?
I have the same problem, but I use RTX... So, I create my own project, add few my file. Compile... And I have a small problem: Error: L6200E: Symbol __stdout multiply defined (by retarget.o and stdio.o). I remove from file Retarget.c: //FILE __stdout; All is work, tasks is runing. But, when I want use my function I have linker error: L6915E: Library reports error: __use_no_semihosting_swi was requested, but _sys_open was referenced I don't understand why. May be it's the same problem?