AVR C Runtime Library - Bugs: bug #44128, sprintf fails when printing floats...
You are not allowed to post comments on this tracker with your current authentication level.
bug #44128: sprintf fails when printing floats and code is in flash address > 0xffff
Submitter: | None | ||
Submitted: | Thu 29 Jan 2015 11:26:12 PM UTC | ||
Category: | Library | Severity: | 3 - Normal |
Priority: | 5 - Normal | Item Group: | libc code |
Status: | None | Assigned to: | None |
Percent Complete: | 0% | Originator Email: | -email is unavailable- |
Open/Closed: | Open | Release: | 1.8.0 |
Fixed Release: | None |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
No changes have been made to this item
Powered by Savane 3.13-f8d8.
Corresponding source code
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.