Intel® FPGA University Program
University Program Material, Education Boards, and Laboratory Exercises
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
1099 Discussions

Altera Monitor Program: syntax error: unexpected end of file

JDuar4
Beginner
506 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-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
EBERLAZARE_I_Intel
174 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