This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Printf problem in Keil

Whenever I try to send float value on the UART, the code compiles perfectly. But when I try to burn in on my LPC2138, it doesn't burn. Can you help me in solving my problem?

my code is:

printf("%f",AnsAfterNSamples(N)); //where AnsAfterNSamples(N) retruns a float

The error is as follow:

Programming Done.
Contents missmatch at: 00001000H (Flash=FFH Required=00H) !
Contents missmatch at: 00001001H (Flash=FFH Required=00H) !
Contents missmatch at: 00001002H (Flash=FFH Required=D4H) !
Contents missmatch at: 00001003H (Flash=FFH Required=E5H) !
Contents missmatch at: 00001004H (Flash=FFH Required=00H) !
. .
. .
. Contents missmatch at: 0000105EH (Flash=FFH Required=00H) !
Contents missmatch at: 0000105FH (Flash=FFH Required=1AH) !
Contents missmatch at: 00001060H (Flash=FFH Required=01H) !
Contents missmatch at: 00001061H (Flash=FFH Required=00H) !
Contents missmatch at: 00001062H (Flash=FFH Required=17H) !
Contents missmatch at: 00001063H (Flash=FFH Required=E3H) !
Too many errors to display !

0