Git Product home page Git Product logo

gamecubecontrolleranalyzer's People

Contributors

ianrrees avatar jefflongo avatar marcus10110 avatar timreyes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

webhdx classic130

gamecubecontrolleranalyzer's Issues

Support both N64 and GameCube controllers

N64 and GameCube controllers use the same underlying protocol. Refactor such that command decoding is implemented as a high level analyzer, so that the low level analyzer can be shared between both controller types.

Currently blocked on Saleae not allowing HLA's to operate on custom LLA's.

Looks like the analyzer can't detect stop bits correctly

I was about to write my own PulseView analyzer for JoyBus protocol but noticed someone already made one for Logic. Neat!

I gave it a try but there seems to be a problem with command stop bits. It handles console command stop bits as 1's and parses them with following bits as the data:

image

Command: 0x00
Response: 0xd40000 but should be 0xa80000

I assume, based on the screenshot from the repo that you just count the time from last rising edge and when it's longer than 4us it identifies it as a stop bit. This is not going to work with some devices i.e. Wavebird receiver because the response can occur immediately.
Another idea that comes to my mind is that you can use known command lengths from the list here: https://sites.google.com/site/consoleprotocols/home/nintendo-joy-bus-documentation/gamecube-controller?authuser=0 and just cross check where the command should end. This is not perfect because custom devices like https://github.com/Aurelio92/GCPlus-2.0 use extra commands.

My setup:

  • the cheapest Chinese 8 channel 24MHz logic analyzer based off Saleae Logic
  • Mac OS 11.5.2
  • Logic 1.2.18
  • Wavebird wireless receiver

Update analyzer to automatically build binaries using github actions

Hi! I'm a Product Manager at Saleae and we’ve made improvements to our analyzer build process. Specifically, we cleaned up the build system, and switched to cmake, so there aren't multiple project files anymore. By implementing the changes outlined here you will be able to provide the community automatic builds in addition to a simplified build system. Let us know if you think you can make the changes or if you’d like us to make the changes for you.

Additionally, if you would like to update your analyzer so that results appear in Logic 2’s data table you can follow the steps outlined here. Note that if you upgrade your analyzer to FrameV2 it will not be backward compatible with Logic 1.

We really appreciate your time and effort! Please let us know if you have any feedback or questions. Thanks!

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.