strtof RX E2 Lite CC-RX RX140

I am using the combination listed in subject. When running my hardware connected to E2-Lite, strtof(pRxD,&pEnd) works fine. After disconnecting the emulator (reset), it still works. After making a reset pulling down the reset-pin, it still works. After disconnecting power, my programm runs except strtof() an delivers pEnd == pRxD. I replaced strtof() by strtod(), this works in any case. Measuring the time used by the functions, strtod() takes about 2ms, strtof() about 40us if it works, after power on reset 10us.

Since that I would prefer strtof(), but I have no idea why it does not work.

Thanks for the help, if you can help.

Parents
  • Hello Chris,

    Do you use your customized board or a Renesas board with RX140?

    Also, after disconnecting power and connecting it again, did you implement a reset condition and observe the strtof behavior after the reset?

    Finally, can you please attach your project to check it in detail?

    Regards,

    AL_Renesas

  • I started with a Renesas board (RTK5RX1400C...) and transfered the program to a customized board with a R5F51405A. I am using the Smart Configurator and did not implement a reset condition. Programming is done actually over the 3 wire interface (mode and reset pin).

    What I have seen so far is that strtof does not appear in the CFI Table List, in contrast to strtod or strtol.

    Regards

    Chris

Reply
  • I started with a Renesas board (RTK5RX1400C...) and transfered the program to a customized board with a R5F51405A. I am using the Smart Configurator and did not implement a reset condition. Programming is done actually over the 3 wire interface (mode and reset pin).

    What I have seen so far is that strtof does not appear in the CFI Table List, in contrast to strtod or strtol.

    Regards

    Chris

Children