Skip to content

Latest commit

 

History

History
93 lines (64 loc) · 3.58 KB

README.md

File metadata and controls

93 lines (64 loc) · 3.58 KB

中文介绍见WeActStudio博客

中文介绍见README_CN

WeAct LogicAnalyzer V1

WeAct LogicAnalyzerV1 is a logic analyzer designed based on Cypress CY7C68013A/Corebai CBM9002A USB controller. It can collect 8 channels at the same time. The maximum sampling rate of each channel is 24Mhz, and the maximum logical level supports 5.5V. The software adopts sigrok-PulseView, which is open source, and supports Linux, Windows, Mac OS X and other platforms. It supports more than 100 kinds of protocol analysis, and can add its own protocol analysis.

  • Sampling rate and number of channels: 24Mhz@8 Channel
  • Signal input range: 0-5.5V
  • High and low level recognition range: VIH: >2V,VIL: <0.8V
  • Communication mode: USB 2.0 (In order to ensure the sampling rate of 24Mhz, try not to use USB docking station)

Begin to use

Windows

  1. Download sigrok-PulseView Software (Be sure to download the Release builds,0.4.2 Version)
  2. Install sigrok-PulseView && LogicAnalyzer driver

After PulseView is installed, run Zadig, select the device you want to Install the Driver on, check Edit, change the device name to fx2LAFw, and then click Install Driver

  1. Click PulseView to run the software, and the yellow light of the logic analyzer will light up,indicating that the firmware is loaded successfully and the logic signal can be sampled

Linux

Install Sigrok-PulseView Software

Debian/Ubuntu

apt get install pulseview

Arch

pacman -S pulseview

Install Sigrok FX2 firmware

The firmware files are required as the FX2 controller does not hold the firmware. Sigrok loads it via USB before using the device.

The firmware might be available in your distributions package repository.

Alternativly you can use the setup_linux.sh script from the \Tools folder.

Debian/Ubuntu

apt get install sigrok-firmware-fx2lafw sigrok-cli

Arch

pacman -S sigrok-firmware-fx2lafw sigrok-cli

In order to check if the firmware was installed correctly, you can use sigrok-cli:

> sigrock-cli --scan
The following devices were found:
demo - Demo device with 13 channels: D0 D1 D2 D3 D4 D5 D6 D7 A0 A1 A2 A3 A4
fx2lafw - sigrok FX2 LA (8ch) with 8 channels: D0 D1 D2 D3 D4 D5 D6 D7

Check and install udev rules if required

Run setup_linux.sh from \Tools folder in this repo.

Alternatively download udev files from libsigrok repository and copy them to /etc/udev/rules.d/.

Supported protocols

See sigrok Supported Protocol decoders

Q&A

  1. Sampling is not up to 24Mhz

Try to connect the logic analyzer to a separate USB port and do not use a USB docking station

  1. Why does the acquisition of 10Mhz signal appear distortion

The sampling rate of the general logic analyzer needs to be 3-5 times higher than the frequency of the sampled signal to avoid distortion

  1. Why is no firmware provided

Firmware is written online via PulseView, providing little meaning

  1. Reprogram or not

Support, their own use of programming, but EEPROM only 2Kbit size

  1. Two leds indicate which two channels

The green light indicates CH0 and the blue light indicates CH1

  1. msvcr100.dll could not be found

Place msvcr100.dll (Files in Tools folder) in the same directory as pulseview.exe, such as C:\Program Files (x86)\sigrok\PulseView\

  1. TBD