User forums > Embedded development
Problem Hex file not generate For ARM microcontroller using C::B
Jenna:
--- Quote from: shikamaru on December 31, 2008, 01:16:48 pm ---Usage: arm-elf-objcopy [option(s)] in-file [out-file]
--- End quote ---
You miss in- and outfile.
Try something like:
--- Code: ---arm-elf-objcopy -O ihex ${TARGET_OUTPUT_FILE} ${TARGET_OUTPUT_DIR}${TARGET_OUTPUT_BASENAME}.hex
--- End code ---
There's no space between ${TARGET_OUTPUT_DIR} and ${TARGET_OUTPUT_BASENAME}.
mariocup:
Hi shikamaru,
update to one the current nightly builds and then you will find the wizards.
shikamaru:
Thanks for all of u guys,
Finally it's works. Now I have 2 options for programming ARM, 1. PN with WINARM and 2. CodeBlocks with GNUARM.
Thanks A lot for this forum.
Nuhun Maneh Teh Nu Garelo Sing Balegnya 2009 ( This Indonesian sundanese Languange) => "Hope The Best for All of U In The New Year 2009"
trilog:
Hi shikamaru,
I am new to c::b
me too facing the same problem you have faced........
///////////////////////////////////////////////////////////////
[100.0%] arm-elf-g++.exe -L"C:\Program Files\GNUARM\lib" -o bin\Debug\testa.exe obj\Debug\sampleprogra\demo2106_blink_flash \main.o obj\Debug\sampleprogra\demo2106_blink_flash\crt.o
obj\Debug\sampleprogra\demo2106_blink_flash\crt.o: In function `Reset_Handler':
: undefined reference to `_stack_end'
obj\Debug\sampleprogra\demo2106_blink_flash\crt.o: In function `Reset_Handler':
: undefined reference to `_data'
obj\Debug\sampleprogra\demo2106_blink_flash\crt.o: In function `Reset_Handler':
: undefined reference to `_bss_start'
obj\Debug\sampleprogra\demo2106_blink_flash\crt.o: In function `Reset_Handler':
: undefined reference to `_bss_end'
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings
///////////////////////////////////////////////////////////
how you fixed this errors....????
Thanks in advance
Trilog
Navigation
[0] Message Index
[*] Previous page
Go to full version