Community
cancel
Showing results for 
Search instead for 
Did you mean: 
JDuar4
Beginner
430 Views

Altera Monitor Program: syntax error: unexpected end of file

I am trying to compile a bare metal project for a DE1-SoC board using the Altera Monitor Program and I get the following error:

 

/usr/bin/bash: -c: line 0: unexpected EOF while looking for matching `"'

/usr/bin/bash: -c: line 1: syntax error: unexpected end of file

ELF generated at <project_folder>/main.axf.

cd <project_folder> ; arm-altera-eabi-objcopy -O srec main.axf main.srec 

C:\altera_lite\16.0\University_Program\Monitor_Program\arm_tools\baremetal\bin\arm-altera-eabi-objco...:main.axf: File format not recognized

 

I have found solutions to a similar problem for other platforms (not Intel FPGAs) in other forums but I don't know which file I have to fix in this case because it seems like the problem is in the executable arm-altera-eabi-objcopy.exe.

0 Kudos
1 Reply
98 Views

Hi,

 

It seems that the error is that there is an extra double quote symbol " at the end of your file, have you tried removing the extra " symbol?

Reply