avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] [bug #44128] sprintf fails when printing floats and code


From: anonymous
Subject: [avr-libc-dev] [bug #44128] sprintf fails when printing floats and code is in flash address > 0xffff
Date: Thu, 29 Jan 2015 23:26:13 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.4.0

URL:
  <http://savannah.nongnu.org/bugs/?44128>

                 Summary: sprintf fails when printing floats and code is in
flash address > 0xffff
                 Project: AVR C Runtime Library
            Submitted by: None
            Submitted on: jue 29 ene 2015 23:26:12 UTC
                Category: Library
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: libc code
                  Status: None
        Percent Complete: 0%
             Assigned to: None
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.8.0
           Fixed Release: None

    _______________________________________________________

Details:

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.




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?44128>

_______________________________________________
  Mensaje enviado vía/por Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]