Search found 143 matches
- Wed Dec 27, 2023 6:08 am
- Forum: SUB-20 General Discussion
- Topic: Looking to determing possible causes of error 2 - Can't open SUB device
- Replies: 1
- Views: 20429
Re: Looking to determing possible causes of error 2 - Can't open SUB device
Hi John, The source code of the sub20.dll can be found in the lib folder of the Linux SUB-20 package which can be downloaded on the SUB-20 home page http://www.xdimax.com/sub20/sub20.html, look for SUB-20-snap-130926.tgz. Besides the libsub.c, the sub20.dll project contains a resource file to store ...
- Sun Nov 05, 2023 7:09 pm
- Forum: SUB-20 General Discussion
- Topic: System.BadImageFormatException thrown by C# program using sub20dnc_v4.dll
- Replies: 8
- Views: 55096
Re: System.BadImageFormatException thrown by C# program using sub20dnc_v4.dll
Hi John, No problems, I am glad that you found the solution and thank you for sharing your findings. This means that I can leave this invincible problem now ;-). I was in the process of analyzing the MSBuild verbose output, hoping to figure out the reason of why it cannot produce a single self-conta...
- Thu Nov 02, 2023 11:46 am
- Forum: SUB-20 General Discussion
- Topic: System.BadImageFormatException thrown by C# program using sub20dnc_v4.dll
- Replies: 8
- Views: 55096
Re: System.BadImageFormatException thrown by C# program using sub20dnc_v4.dll
Hi John, I am new to the dotnet/msbuild. I am desperately trying to resolve the following error I am getting while running the "dotnet publish ..." command C:\Users\serg\Desktop\SUB-20\sample\.NET\c#\enum>dotnet publish /p:Configuration=Release /p:Platform="Any CPU" --sc true -p:PublishSingleFile=Tr...
- Thu Oct 26, 2023 9:34 pm
- Forum: SUB-20 General Discussion
- Topic: System.BadImageFormatException thrown by C# program using sub20dnc_v4.dll
- Replies: 8
- Views: 55096
Re: System.BadImageFormatException thrown by C# program using sub20dnc_v4.dll
Hi John, Today I tried the Build->Publish option of the MSVC2022 and it seems works properly i.e. the target package contains the correct version(architecture) of the sub20dnc_v4.dll i.e. x64. After installing the package on a fresh Win10x64 VM - I have got the "File not found" exception Unhandled E...
- Thu Oct 19, 2023 8:54 pm
- Forum: SUB-20 General Discussion
- Topic: System.BadImageFormatException thrown by C# program using sub20dnc_v4.dll
- Replies: 8
- Views: 55096
Re: System.BadImageFormatException thrown by C# program using sub20dnc_v4.dll
Hello John, I couldn't build the C# project with your snippet due to some syntax errors. Could you please try to build the C:\Program Files\SUB-20\sample\.NET\c#\enum solution on your environment and see if you can run the resulting executable ? Please do the following - Open the solution file in yo...
- Thu Mar 31, 2022 2:54 am
- Forum: SUB-20 General Discussion
- Topic: Latest SUB-20 RELEASE
- Replies: 3
- Views: 94568
SUB-20 .NET v1.5
- Added OpenByIndex(int Index) method
- Sat May 23, 2020 6:03 am
- Forum: SUB-20 General Discussion
- Topic: MDIO register access tool (beta)
- Replies: 0
- Views: 24242
MDIO register access tool (beta)
This MDIO access tool allows reading and writing PHY registers Features: - XML register definition file - Easy Individual bit fields access - Clause 22 and Clause 45 Prerequisites: - Microsoft .NET runtime v3.5 - Latest SUB-20 software support package Use the tm33.xml as a reference to create your o...
- Mon May 25, 2015 1:11 am
- Forum: SUB-20 General Discussion
- Topic: SUB_20 to SUB_20 through SPI interface transfer issue
- Replies: 1
- Views: 37965
Re: SUB_20 to SUB_20 through SPI interface transfer issue
Hello Alexander, Sorry for the delay in reply, for some reason I didn't get an email notification to your post. A while ago, one of our customers Ravi MK had prepared a C test application which uses two SUB-20 boards to establish an SPI communication between them. Could you please try this applicati...
- Sat May 23, 2015 4:28 am
- Forum: SUB-20 General Discussion
- Topic: I2C Master/Slave communication using two SUB-20 boards
- Replies: 0
- Views: 37233
I2C Master/Slave communication using two SUB-20 boards
This topic explains how to configure two SUB-20 boards as a I2C master and slave and establish communication between them We will use the SUB-20 tool application for this demonstration. All the pictures are attached in an archive, see at the bottom of the post SETUP. Connect boards using 3 wires MAS...
- Mon Apr 13, 2015 5:23 am
- Forum: SUB-20 General Discussion
- Topic: SUB-20 Python support under Linux and Mac OS
- Replies: 0
- Views: 38115
SUB-20 Python support under Linux and Mac OS
The SUB-20 can be accessed in a Python script executed under Linux or Mac OS X. To achieve this, makefile which is used to build the libsub.a static library should be modified for building a shared object instead, see below #------------- # Linker Flags #------------- LDFLAGS += -L/usr/local/lib -lu...