|
Stop of the program at presence of the functions printf().Next Thread | Thread List | Previous Thread Start a Thread | Settings | Details | Message |
|---|
Read-Only Author Alex Yudin Posted 19-Jan-2007 01:51 Toolset ARM |  Stop of the program at presence of the functions printf(). Alex Yudin 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. | | Read-Only Author Reinhard Keil Posted 19-Jan-2007 11:15 Toolset ARM |  RE: Stop of the program at presence of the functions printf(). Reinhard Keil 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 | | Read-Only Author Alex Yudin Posted 21-Jan-2007 23:50 Toolset ARM |  RE: Stop of the program at presence of the functions printf(). Alex Yudin 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. Alex. | | Read-Only Author Borys Pratsiuk Posted 28-Feb-2007 01:53 Toolset ARM |  RE: Stop of the program at presence of the functions printf(). Borys Pratsiuk 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? | | Read-Only Author Alex Yudin Posted 22-Jan-2007 01:31 Toolset ARM |  RE: Stop of the program at presence of the functions printf(). Alex Yudin Hi! Thank you, once again! Has Connected other file "retarget.c" from project...\Keil\ARM\RV30\Startup. All have earned! Alex. | | Read-Only Author Reinhard Keil Posted 22-Jan-2007 04:13 Toolset ARM |  RE: Stop of the program at presence of the functions printf(). Reinhard Keil So your problem is solved now? | |
Next Thread | Thread List | Previous Thread Start a Thread | Settings |
|