TomDDG / ZXPicoMD

Raspberry Pico ZX Spectrum Microdrive Hardware Emulator
GNU General Public License v2.0
54 stars 4 forks source link

Source code for Pico missing #5

Closed thiseldo closed 11 months ago

thiseldo commented 11 months ago

The fully buildable source code for the Pico is not present, only a few snippets. I'm trying to determine the reason for an OLED display is not operating correctly when the display works ok on another Pico using different software.

TomDDG commented 11 months ago

Are you using the PCB or building your own? If using the PCB did you check the pins to ensure they match. Needs to be GND, VCC, SCL, SDA. Also is the display a SSD1306?

I based my code on the Python version https://github.com/makerportal/rpi-pico-ssd1306

thiseldo commented 11 months ago

I bought PCBs via PCBway and have OLED with GND, Vcc, SCL and SDA as you have them. Display responds to address 0x3C when using I2C scanner.

TomDDG commented 11 months ago

Can you put a multimeter on the 4pin header and make sure 3v3 is supplied and continuity on the other pins with the Pico? The circuit is extremely simple for the OLED and the software to drive also, so difficult to know what could be wrong other than hardware. Do you get anything on the screen at all? Does the rest of the device work, LEDs come on etc...? How do you know the Pico flashed ok?

Can you check the settings used for the other software that works, wondering if it is the frequency. PicoMD uses 400KHz but that might not be compatible with your OLED model?

thiseldo commented 11 months ago

Looks like a dodgy soldering joint on the SDA pin at the Pico end. I had identified the pico working because it was accessing the uSD card, set up the 8 carts and was flashing the LED when no card was inserted.

It would still be good to have the full code.

TomDDG commented 11 months ago

Glad you got it working, closing issue as resolved.