Giter VIP home page Giter VIP logo

ch341-store's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

ch341-store's Issues

Difficulty compiling sample app Multiport (CH341PAR folder) Eclipse ADT plugin is no longer supported

I tried compiling the sample code but had difficulties mainly due to the lack of android developer support for the eclipse IDE:

The Eclipse ADT plugin is no longer supported, as per this announcement in June 2015.
The Eclipse ADT plugin has many known bugs and potential security bugs that will not be fixed.
You should immediately switch to use Android Studio, the official IDE for Android. For help transitioning your projects, read Migrate to Android Studio.
Ref.: https://developer.android.com/studio/tools/sdk/eclipse-adt#installing

I noticed that the sample code uses:

  • Android 4.1.2 (API 16), (only need SDK packages, can skip large image files) and
  • Android SDK Build-tools 24 (Android SDK Build-tools 26 do not works).

It would be interesting if the example were updated to be compiled with new Android Studio 3.

App demo ref.:
https://github.com/boseji/CH341-Store/tree/master/CH341-Android-SPI-I2C-Driver%2BSDK-lib%2BAPK

Driver crashes under Linux 4.19

Hello,

I tried to use your CH341PAR_LINUX driver under Linux 4.19. I managed to compile and load the module properly (an include is missing for this kernel version btw). I am using it with the LC-Technology module.

However I get inconsistent information while using CH34x_GetVendorId. You can see below the kernel traces of 2 subsequent calls:

[32884.966386] /home/test/CH341PAR_LINUX/driver/ch34x_pis.c 874: CH34x_GET_DRV_VERSION Successed
[32884.966424] /home/test/CH341PAR_LINUX/driver/ch34x_pis.c 197: VENDOR_READ_TYPE: 0x5f : 0x0 : 0x0 -11 - 2
[32884.966434] /home/test/CH341PAR_LINUX/driver/ch34x_pis.c 885: ------> 2 Chip Version is sucessful 0xffffffb0ffffff93
[32897.046547] /home/test/CH341PAR_LINUX/driver/ch34x_pis.c 874: CH34x_GET_DRV_VERSION Successed
[32897.046585] /home/test/CH341PAR_LINUX/driver/ch34x_pis.c 197: VENDOR_READ_TYPE: 0x5f : 0x0 : 0x0 -11 - 2
[32897.046595] /home/test/CH341PAR_LINUX/driver/ch34x_pis.c 885: ------> 2 Chip Version is sucessful 0x6b3

Furthermore, a call to CH34xSetStream for instance leads to a kernel crash.

Any ideas of what is wrong?

English version for "CH341-Android-SPI-I2C-Driver+SDK-lib+APK" Guide

Hello, I noticed that the guide is not fully translated into English. I tried translating with google to understand how it works, but may need to be reviewed, Follows attached.

(Note: Edited with WPS office)

The CH341 is a USB bus adapter that provides asynchronous UART, parallel port, and common 2-wire and 4-wire synchronous serial interfaces via the USB bus. In the parallel port mode, an EPP/MEM 8-bit parallel interface is provided, and the commonly used synchronous serial interface mainly includes a 2-wire IIC, a 4-wire SPI, and the like.
This document mainly introduces the Java Driver Library of CH341USB to EPP, MEM, IIC, SPI mode (hereinafter referred to as CH341PAR), and how to use the APK to operate CH341PAR for data communication under Android. The driver is based on the Android USB Host protocol, and the user can call the provided interface API to communicate with the Android USB Host.

Source: https://github.com/boseji/CH341-Store/tree/master/CH341-Android-Serial-Driver%2BSDK-lib%2BAPK

CH341PAR_Android_Dvlp_Guide_en.docx
CH341PAR_Android_Dvlp_Guide_en.pdf

Programmer software (Windows)

https://drive.google.com/file/d/0ByEQKtsOckWBUVBqajZOUGtLcnM/view

This version seems to be clean and does not contain anything extra
v1.13

it may work with your CH341A programmer or may not. but at the very least this is a clean-ish copy that i could find

https://www.youtube.com/watch?v=L0ChYNwunUE

there also appears to be flashrom for windows
https://www.win-raid.com/t796f16-Guide-Using-CH-A-based-programmer-to-flash-SPI-EEPROM-5.html#msg41915

more details and download link https://vdhout.nl/tag/ch341a

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.