• Seems like hotmail /outlook is blocking emails from here so please refrain from using one of these accounts as you may not receive your authorization email.. many thanks

Compiling Console Source on Linux

50dBm

New Member
Is there any README or any Documentation on how to compile the console version on Linux, and more importantly, how to run after compilation. Dotnet, on Linux, is not my strong suit!

Thanks
B.
 

50dBm

New Member
Looks like I am getting somewhere....

bguthrie@LinDesk01:~/Downloads/Flashcat/Console$ dotnet run -check
Welcome to the FlashcatUSB interfacing software, build: 628
Copyright 2021 - Embedded Computers LLC
Running on: Unix (64 bit)
FlashcatUSB Script Engine build: 311
License status: non-commercial use only
Waiting for connected device timedout


At least it is executing; need to see why it timedout; something with the USB libraries I suspect.
 

50dBm

New Member
bguthrie@LinDesk01:~/Downloads/flashcat/Console$ dotnet build
Microsoft (R) Build Engine version 16.10.1+2fd48ab73 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

Determining projects to restore...
Restored /home/bguthrie/Downloads/flashcat/Console/FlashcatUSB_Console.vbproj (in 187 ms).
FlashcatUSB_Console -> /home/bguthrie/Downloads/flashcat/Console/bin/Debug/net5.0/fcusb_console.dll

Build succeeded.
0 Warning(s)
0 Error(s)

Time Elapsed 00:00:03.75
bguthrie@LinDesk01:~/Downloads/flashcat/Console$ dotnet list FlashcatUSB_Console.vbproj package
Project 'FlashcatUSB_Console' has the following package references
[net5.0]:
Top-level Package Requested Resolved
> LibUsbDotNet 2.2.29 2.2.29

bguthrie@LinDesk01:~/Downloads/flashcat/Console$ dotnet publish -r linux-x64
Microsoft (R) Build Engine version 16.10.1+2fd48ab73 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

Determining projects to restore...
Restored /home/bguthrie/Downloads/flashcat/Console/FlashcatUSB_Console.vbproj (in 205 ms).
FlashcatUSB_Console -> /home/bguthrie/Downloads/flashcat/Console/bin/Debug/net5.0/linux-x64/fcusb_console.dll
FlashcatUSB_Console -> /home/bguthrie/Downloads/flashcat/Console/bin/Debug/net5.0/linux-x64/publish/

bguthrie@LinDesk01:~/Downloads/flashcat/Console$ dotnet /home/bguthrie/Downloads/flashcat/Console/bin/Debug/net5.0/linux-x64/fcusb_console.dll -check
Welcome to the FlashcatUSB interfacing software, build: 628
Copyright 2021 - Embedded Computers LLC
Running on: Unix (64 bit)
FlashcatUSB Script Engine build: 311
License status: non-commercial use only
Waiting for connected device timedout
----------------------------------------------
Press any key to close

At this point, I have been at this for hours; any hints.. anyone? It would be greatly appreciated. Thanks
 

50dBm

New Member
"The software is provided as compiled binaries as well as source code.

It does NOT need a license key in order to run/operate.

The following features will require a valid license key:

  • Multi-device programming support
  • Boundary-scan programming for NOR
  • Command-line / Console mode
  • Integrated ECC support for NAND
  • LABview plugin
  • Linux version (console mode only at the moment)
Since the above features are designed for enterprise users, those will need to obtain a commercial license in order to use them.

Only qualified companies can apply for and purchase a license. Individuals are not allowed to obtain them. Personal use licenses maybe issued in the future, once we get an automated web form setup that will ask some questions to verify that you will not use the software for commercial purposes."

Well.. that solves that!
 

50dBm

New Member
well... License keys are for commercial users. They are not needed to run or use the software. In addition, on Linux, you have to compile the console version from source code.

So back to the drawing board; really wish there was some type of installation instructions. Maybe I can provide them if I can get this working. Ha!
 

kar200

New Member
well... License keys are for commercial users. They are not needed to run or use the software. In addition, on Linux, you have to compile the console version from source code.

So back to the drawing board; really wish there was some type of installation instructions. Maybe I can provide them if I can get this working. Ha!
Hi @50dBm

Have you managed to get it to work? I have tried for a while on Arch Linux and do not seem to be able to get anywhere. The device is not detected when I run the software.

In the latest version (at the time of this post) has to be changed to 64bit in the the "<PlatformTarget>x86</PlatformTarget>" in the FlashcatUSB_Console.vbproj file. Although building the software works running it complains about unsupported archtiecture. It seems there is not 32bit dotnet for linux.

When building for 64bit it finishes without errors. I noticed that the LibUsbDotNet downloaded from nuget is only a 32 bit (I don't know if that's the issue). I tried for hours but then it's easier to run the software under Qemu for me now.

I tried using a newer version of LibUsbDotNet by changing the version number but the build does not work.

Hoping someone here managed to get it to work (under any Linux platform) could share how it was done.

K.
 
Top