Giter Club home page Giter Club logo

Comments (11)

chregu82 avatar chregu82 commented on July 17, 2024
  • Have you tried the precompiled binaries?
  • Have you used the linked USPI submodule (other versions may not work)?
  • Have you looked at the TX line of the PI, if there is any activity if a key is pressed?

from pigfx.

willtco avatar willtco commented on July 17, 2024

I have not tried the pre-compiled binaries.
The linked version of USPI I used has modules dated 19/05/20 17?/18:42.

There is no activity on the tx line (which is connected to a known good Z80).
when reverting to a previous verision (2019) the keyboard works fine. here is a snapshot of my download dir showing the source's used.

Screenshot from 2021-09-03 14-12-17

If there is a complete pre-compiled kernel I will happily try it But it's important that I download and compile as I wish to modify some of the source code.

from pigfx.

willtco avatar willtco commented on July 17, 2024

Have now downloaded and tried the precompiled - same result no keyboard action.

from pigfx.

chregu82 avatar chregu82 commented on July 17, 2024

I just tested it with a Pi Zero (without W) using this image https://github.com/fbergama/pigfx/blob/master/bin/kernel.img
I connected RX and TX on the Pi and was able to directly write to the screen with the USB keyboard. At the moment I have no idea why it would not work on your setup.

from pigfx.

willtco avatar willtco commented on July 17, 2024

Thats fair enough, all I can say is that it works fine with my 2019 (unaltered) kernel but not with the latest. I'll do a bit more work and report back if I find/cure the problem. Meantime if you can think of anything that has changed and may be significant between 2019 and today it might help.

from pigfx.

willtco avatar willtco commented on July 17, 2024

38.4K - here's a scope trace of what's on the TX line, looks like. It should be a square wave, but it's not being pulled low enough to register logic zero. It could be the TX pin is not properly configured tiup/dn or current capability. - As you can see the scope is set to DC with a x10 probe. Left hand marker is 0v. I get identical results from a second Pi.

CIMG5323

from pigfx.

chregu82 avatar chregu82 commented on July 17, 2024

Ok I tried doing the same, still the mentioned (new) kernel image, 38400 baud, RX and TX connected together. TX is set to no pull up / no pull down, RX is set to pull up in uart.c.
To me this looks absolutely fine. What's your load on the TX line? Do you have a scope of the old software version?
It seems that you have some capacitive load on this line.
signal-2021-09-04-204014
At least we now know that it's not a USB keyboard related issue.

from pigfx.

willtco avatar willtco commented on July 17, 2024

It may be a few days before I can respond fully, but thanks for the trace & info - your comment about capacitance made me think about the Scope probe I was using, - it's now in the bin. with a second probe the waveform is fine. I need to now take a closer look at the rest of my system. I guess at nearly 70 I should turn my hand to gardening!.

from pigfx.

chregu82 avatar chregu82 commented on July 17, 2024

You can set the behaviour of CR or LF in pigfx.txt.

from pigfx.

willtco avatar willtco commented on July 17, 2024

Solved, - 3 problems, 1) a dud scope probe, 2) usb kbd appeared not working as there was no echo (2019 had echo?) - 3 I failed to spot CR had been replaced with an LF and I failed to notice it could be swapped in the config file. My thanks to Christian Lehner for pointing me in the right direction.

from pigfx.

chregu82 avatar chregu82 commented on July 17, 2024

You're welcome.
Not sure what you mean with echo. PiGFX should display what gets sent to the RX pin. So it's your system which should echo the characters it receives from the USB keyboard.

from pigfx.

Related Issues (20)

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.