Page 1 of 1

compcode command not found

Posted: Tue Jan 07, 2025 12:03 pm
by RebootExpert
I am using NANO and Eclipse 3.5.0 (not command line) on Windows, and I am encountering the exact same issue described in this post: viewtopic.php?p=13875&hilit=compcode#p13875. Despite following all the suggestions in the post, I haven't been able to resolve the issue. The project built successfully for me before, but I’m not sure why it suddenly stopped working.

And then I imported the example TCP\TcpServerSimple and successfully built it with the target platform set to MODM7AE70. However, when I switch the target platform to either NANO or MOD5441X, I encounter a "compcode" error in the build console.
Invoking: GNU C/C++ Linker
Finished building: abc.elf

Invoking: GNU Objcopy
Finished building: abc.s19

Building target: abc.bin
Invoking: NB Compcode
/1.0/bin/sh: compcode: command not found
make: *** [makefile:73: abc.bin] Error 127

"make -j8 all" terminated with exit code 2. Build might be incomplete.

Re: compcode command not found

Posted: Tue Jan 07, 2025 4:51 pm
by RebootExpert
I installed the latest version 3.5.3 and recreated the same TCP/TCPServerSimple example, but I'm encountering the same compcode error, albeit with a different error code: 126 that is permission denied.

I suspect that the path /cygdrive/c/nburn/pcbin/compcode might be incorrect, but I have no idea where the cygdrive comes from.
Invoking: GNU C/C++ Linker
Finished building: test.elf

Invoking: GNU Objcopy
Finished building: test.s19

Building target: test.bin
Invoking: NB Compcode
/1.0/bin/sh: /cygdrive/c/nburn/pcbin/compcode: Permission denied
make: *** [makefile:73: test.bin] Error 126

"make -j8 all" terminated with exit code 2. Build might be incomplete.

Re: compcode command not found

Posted: Tue Jan 07, 2025 7:17 pm
by RebootExpert
It turns out that our IT department has blocked the compcode.exe. They reached out to me for more specific details about this executable

Re: compcode command not found

Posted: Tue Jan 07, 2025 11:13 pm
by TomNB
Hello,

Thank you very much for the quick follow up on that issue!

Re: compcode command not found

Posted: Tue Jan 07, 2025 11:14 pm
by TomNB
That is the utility that compresses the image and processes it for storage in the flash memory.

Re: compcode command not found

Posted: Wed Jan 08, 2025 9:27 am
by RebootExpert
Since the compcode.exe utility in the /nburn/pcbin directory was already removed by the IT antivirus in version 3.5.0 and 3.5.3, and I have versions 3.3.3 to 3.4.0 installed, could I simply copy the utility from the other version to avoid reinstalling 3.5.0? Or is the compcode.exe utility version-specific?

I will attempt to rebuild the project after they mark it as an exception utility

Re: compcode command not found

Posted: Fri Jan 10, 2025 3:56 pm
by TomNB
Hello. I think they should be the same.

Re: compcode command not found

Posted: Fri Jan 10, 2025 4:26 pm
by RebootExpert
I copied it from 3.4.0 it build successfully now.