CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 3 matches
CCS Forum Index
Author Message
  Topic: Reading float32 from EEPROM produces garbage
Entropia

Replies: 3
Views: 5996

PostForum: General CCS C Discussion   Posted: Fri Apr 25, 2014 3:30 am   Subject: Reading float32 from EEPROM produces garbage
ieeefloat.c's f_IEEEtoPIC provided the necessary solution for me. Fourtunately it is only 68 bytes when compiled! Thanks again RF_Developer!
  Topic: Reading float32 from EEPROM produces garbage
Entropia

Replies: 3
Views: 5996

PostForum: General CCS C Discussion   Posted: Fri Apr 25, 2014 3:15 am   Subject: Reading float32 from EEPROM produces garbage
Thanks for the reply. I am indeed feeding it IEEE-754 single floats. Actually the system that produces these floats is a PIC24 but I assume it can handle those.

I will see what I can do about this. ...
  Topic: Reading float32 from EEPROM produces garbage
Entropia

Replies: 3
Views: 5996

PostForum: General CCS C Discussion   Posted: Fri Apr 25, 2014 2:15 am   Subject: Reading float32 from EEPROM produces garbage
Hi. I've followed CCS advice on how to write four byte values into EEPROM. This works as expected. I receive uint32 over UART and write that into EEPROM. When I read back the EEPROM via PICkit3, it is ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group