Sign In

Don't have a Xilinx account yet?

  • Choose to receive important news and product information
  • Gain access to special content
  • Personalize your web experience on Xilinx.com

Create Account

Username

Password

Forgot your password?
XClose Panel
Xilinx Home
Reply
Regular Visitor
zrh0913
Posts: 42
Registered: ‎07-07-2009
0

atof() in SDK

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