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

Problem with atof function

Hello,

I am writing a program with using RTX. I want to convert ascii buffer into a float using atof in a task. But this function works unreliable, program hang. If I try to debug this situation with jtag, problem never happen.
I have replaced atof to atoi and then program start working, but I need some solution for converting string to float.

microcontroller - ARM7, LPC2368
Keil - 3.80

May someone give me an idea?

Parents
  • But this function works unreliable, program hang

    the only thing unreliable here is your program. it sounds like you did not spend enough time to determine the cause (and effects!) of your problem. nobody can help you without more information.

Reply
  • But this function works unreliable, program hang

    the only thing unreliable here is your program. it sounds like you did not spend enough time to determine the cause (and effects!) of your problem. nobody can help you without more information.

Children
No data