hi i have a problem .i'm using rl http demo sample and it works fine. But when i enable ftp in network config this error appears :
.\Obj\Http_demo.axf: Error: L6915E: Library reports error: __use_no_semihosting_swi was requested, but a semihosting fgetc was linked in
what does it mean ? and what caused it ?
thanks for any answer
Didn't you like the results you got with Google?
For example this thread? http://www.keil.com/forum/19701/
www.keil.com/.../search.asp
thanks but in this link there is no solution that works! and i read some where else about this problem but no one solve it!
and i found it : You need to add the following definitions to file retarget.c. struct __FILE { int handle;} ;
FILE __stdout; FILE __stdin; FILE __stderr;
here infocenter.arm.com/.../index.jsp
but the error is still exist
It means exactly what it says:
"__use_no_semihosting_swi was requested, but a semihosting fgetc was linked in"
It says that you asked for NO semihosting - but you have used stuff which requires semihosting!
You can't have it both ways!!
as i read in different posts the problem is in "retarget.c" file. and i tried all of them but they didn't work .
and i'm not expert to edit this file so if u know what should i do pleas tell me .
http://www.keil.com/support/man/docs/armlib/armlib_CJAJIEGC.htm
thank Andrew " Some C library functions use semihosting. If you do not want to use semihosting, either:
Remove all calls to semihosting functions. "
So how should i know which function is belong to semihost to disable it ?
View all questions in Keil forum