cancel
Showing results for 
Search instead for 
Did you mean: 

-nan(0xffff) value while reading from flash

madhavi U
Associate II

i'm getting -nan(0xfffffe0000000) value while reading from flash. why i'm getting this value and what is it?

2 REPLIES 2
Bob S
Principal

Can't help you without lots more information.  Show the relevant parts of your code (variable definitions, code that attempts to read from flash, etc.).  Paste the code here, don't use attachments.  Click the "..." in the format bar to expand it, then use the "insert/edit code" button (looks like "</>").

Sarra.S
ST Employee

Hello @madhavi U

The nan value indicates "not a number" value in binary format, which represents undefined or unpresentable values, it could be due to corrupted data or a programming error in your code

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.