Intel® FPGA University Program
University Program Material, Education Boards, and Laboratory Exercises
1175 Discussions

Altera Monitor Program: syntax error: unexpected end of file

JDuar4
Beginner
871 Views

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-objcopy.exe: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
EBERLAZARE_I_Intel
539 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?

0 Kudos
Reply