industrialNETworXnetx

grautvornix

grautvornix

| 27.05.2009 | 14:01 | 5 replies

Error: failed to extract the load address

Hello,

I get the errormessage mentioned in the subject. I saw the two other threads in this forum about exact the same issue, but It does not look that they help: I have no space in the "Programme"-Folder. The other thread-solution I did not understand to be honest. It is a WIN XP computer.

C:\Programme\Bootwizard>bootblocker -bootimage -s SPI_NXSB100 -d SD_MT48LC2M32B2
-t HITEX_ARM_WIN_4_00 -o test.bin test.elf
Error: failed to extract the load address

C:\Programme\Bootwizard>set path_gnu
PATH_GNU_ARM=C:\Program Files\Hitex\GnuToolPackageArm\

Testwise, I copied all the Hitex-folder in "Program Files" to Programme and changes the PATH_GNU_ARM accordingly, without success.

Thanks for any help !

Marc

Andreas Jacob

Andreas Jacob

Hilscher Gesellschaft fuer Systemautomation mbH

| 27.05.2009 | 14:11

Hi,

have you checked the point 2 of the following thread?
http://board.hilscher.com/viewtopic.php?f=10&t=273

grautvornix

grautvornix

| 27.05.2009 | 15:32

Hi,

I have a collegue: on his computer everything works fine, including the bootwizard. The Project-Tree is the same, so I do not believe something is wrong with files in the project, including linkerscripts.

Marc

grautvornix

grautvornix

| 27.05.2009 | 15:56

Thanks for the hint.

it helped to change the environment-variable in the Control-Panel/System of Windows from "Program Files" to "Programme" and copying the entire Hitex-Folder from Program Files to Programme. What I did before - in the CMD-Window just changing the environment varibale via "set PATH_GNU_ARM..." did NOT help !

problem solved.

Marc

Andreas Jacob

Andreas Jacob

Hilscher Gesellschaft fuer Systemautomation mbH

| 28.05.2009 | 06:46

:lol: that's great :lol:

Daniel Trautmann

Daniel Trautmann

IBHsoftec GmbH

| 28.05.2009 | 12:56

Hi,

I found out that the problem with spaces in the environment variable PATH_GNU_ARM can be solved by changing some lines in the file "netx.xml".
I changed the three lines like:
cmd /C %PATH_GNU_ARM%\bin\arm-hitex-elf-objcopy.exe -O binary "%i" "%o"
into:
cmd /C ""%PATH_GNU_ARM%\bin\arm-hitex-elf-objcopy.exe" -O binary "%i" "%o""

After that, no Problems occur, even if your Toolchain is located under "C:\Program Files\"

Daniel

Login