Giter Club home page Giter Club logo

Comments (14)

chregu82 avatar chregu82 commented on July 17, 2024

Please read this issue: #56

Does it even read the filesystem on the SD card?

from pigfx.

willtco avatar willtco commented on July 17, 2024

Thanks for the reply, The pi boots up fine, at the bottom of the screen there's a message indicating the uart is waiting for 115200 8 n 1 - when I press a key on the keyboard a string of garbage appears, it seems clear that although 9600baud is set in the .txt file it only wants to play the 115200 baud rate. The issue you mention seems to be something quite different.

from pigfx.

chregu82 avatar chregu82 commented on July 17, 2024

Please post a picture of your boot screen. I'm quite sure that PiGFX is unable to read the SD card and therefore cannot read the config file and therefore uses the default baudrate of 115200.

from pigfx.

willtco avatar willtco commented on July 17, 2024

CIMG5316
This photo is of a compile of the downloaded uspi & piGFX zip files without any modification. afterlooking through the source I found the default is located in 'config.c' - when changing the default .uartBaudrate to 38400 my z80 card was able to send data to the pi and it was correctly represented on screen. However the usb keyboard was inoperative (except for the function keys which produced a few characters of garbage. My 2019 pigfix has many updates which I hope to transfer to the latest edition hence my need to compile from source - I thank you for your patience.

@willtco

from pigfx.

chregu82 avatar chregu82 commented on July 17, 2024

It's like I thought. PiGFX is unable to read the SD card. You seem to have 4 partitions on your card. This doesn't work. Please delete all partitions, add a single new one, format it and put PiGFX on it. It should work afterwards.

from pigfx.

willtco avatar willtco commented on July 17, 2024

part
Yes I thought that but making a second card produced the same results, Using linux mint to examine the card shows only a single FAT partition, as below, the card was formatted under windows, it is a 2GB card as that's the smallest one I have. It contains only the few files for piGFX.

from pigfx.

chregu82 avatar chregu82 commented on July 17, 2024

Could you use the windows tool for checking the partitions on the SD card? There seem to be more than your linux mint shows. If there's only one FAT formatted partition it should work fine.

from pigfx.

willtco avatar willtco commented on July 17, 2024

pi

WIndows shows only a single partition as well - very confusing.

from pigfx.

chregu82 avatar chregu82 commented on July 17, 2024

Does this SD card produce the boot screen you showed earlier?

from pigfx.

willtco avatar willtco commented on July 17, 2024

yes same one.

from pigfx.

willtco avatar willtco commented on July 17, 2024

Can you upload the MBR of a working card? - it should start with EB and end with 55 AA - I'll graft that onto a card, then format it - I think at some time the MBR - here is the MBR of the re-formatted 2gb card it clearly shows that Windows has replaced the true mbr with the first sector of a partition. If I can replace this with a good mbr from a 1GB card then reformat I believe that will cure the baudrate problem, but whether it will also cure the USB KBD I'm not sure
Untitled

from pigfx.

willtco avatar willtco commented on July 17, 2024

Update - after grafting a 500mb Fat 16 MBR onto the SD card, & re-formatting - the first part of the problem is solved -
CIMG5317
Should I open the usb keyboard issue seperately?

from pigfx.

chregu82 avatar chregu82 commented on July 17, 2024

I don't have a working MBR at the moment, that I could show you. Glad it's working now. Please open a new issue.

from pigfx.

willtco avatar willtco commented on July 17, 2024

Thanks for your help.

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.