- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
atof() in SDK
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-22-2009 02:19 AM
Hi,
I am trying to use atof() to convert the ASCII to float datatype (microblaze, spartan-3E starter kits), like float var1 = atof("3.33").
but error occur:
ERROR:EDK:2345 - Section .text (0x50 - 0x934F) does not fit completely into
memory ilmb_cntlr (0x0 - 0x3FFF).
ERROR:EDK:2347 - Section .init located at address 0x93A0 does not map to any
memory found in the hardware design.
ERROR:EDK:2347 - Section .fini located at address 0x93C8 does not map to any
memory found in the hardware design.
ERROR:EDK:2347 - Section .ctors located at address 0x93E8 does not map to any
memory found in the hardware design.
ERROR:EDK:2347 - Section .dtors located at address 0x93F0 does not map to any
memory found in the hardware design.
ERROR:EDK:2347 - Section .rodata located at address 0x93F8 does not map to any
memory found in the hardware design.
ERROR:EDK:2347 - Section .data located at address 0x9668 does not map to any
memory found in the hardware design.
ERROR:EDK:2347 - Section .eh_frame located at address 0x9BE0 does not map to any
memory found in the hardware design.
ERROR:EDK:2347 - Section .jcr located at address 0x9BE4 does not map to any
memory found in the hardware design.
ERROR:EDK:2347 - Section .bss located at address 0x9BE8 does not map to any
memory found in the hardware design.
ERROR:EDK:2347 - Section .stack located at address 0x9D00 does not map to any
memory found in the hardware design.
ERROR:EDK:3165 - elfcheck failed!
INFO:EDK:2540 - Try using the linker script generation tools to generate an ELF
that maps well to your hardware design.
make: *** [Rs232Test.elf] Error 2
Best Regards,
Roy











