ΣSigmaStudio Ask AI Русский Log in

Pre-Build command error in VisualDSP

Processors & DSP marco55 Sep 16, 2022 00:00 3 replies Original on forum ↗
Subscribe
marco55 Question
Sep 16, 2022 00:00

Hello,

according to the Blackfin FPGA EZ-EXTENDER Software Readme file I added a command in the Pre-build section of my project in order to convert our FPGA Image before compiling the DSP Project:

I have this error in VisualDSP:

If I run the executable ImageConverter.exe directly with double-click I have no error and it correctly creates the fpga_image.h

This is the content of FPGA_IMAGE folder:

I'm running Windows 10.

Any suggestion?

Thank you in advance.

Marco

pastedimage1663340533969v2.png
pastedimage1663340533969v2.png
pastedimage1663340299872v1.png
pastedimage1663340299872v1.png
pastedimage1663340839379v3.png
pastedimage1663340839379v3.png
santha.vijay Reply
over 1 year ago

Hi Marco,

We are looking into your query. We will get back to you.

Best Regards,
Santhakumari.K

AndyK2 Reply
over 1 year ago

Hi Marco,

When ImageConverter.exe is invoked without a parameter, it expects input file 'fpga.hex' in the current working directory (i.e. not in the directory where ImageConverter.exe itself is located).

Hence, if the input image is located somewhere else, it does need to be provided as a parameter, for example:

..\FPGA-IMAGE\ImageConverter.exe ..\FPGA-IMAGE\fpga.hex

Regards,
Andy

marco55 Reply
over 1 year ago

Hi Andy,

thank you for your reply. Now it works correctly.