bugAVR C Runtime Library - Bugs: bug #44128, sprintf fails when printing floats...


bug #44128: sprintf fails when printing floats and code is in flash address > 0xffff

Submitted by:  None
Submitted on:  Thu 29 Jan 2015 11:26:12 PM UTC  
Category:  Library Severity:  3 - Normal
Priority:  5 - Normal Item Group:  libc code
Status:  None Percent Complete:  0%
Assigned to:  None Originator Email:  -email is unavailable-
Open/Closed:  Open Release:  1.8.0
Fixed Release:  None

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Thu 29 Jan 2015 11:26:12 PM UTC, original submission:  

I was performing some test with bootloaders on atmega1284 (testing if they can program all the available flash) and one test included printing a floating point number, the reason is in the file ftoa_engine which store some number in a table and read them using lpm. It works fine when the table is stored in a low memory address ( < 64K words) but when the table is stores in the upper
memory region the lpm instruction cannot load the data.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by None (Submitted the item)



    No changes have been made to this item

    Back to the top

    Powered by Savane 3.5