Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4802

General • ssd1306_i2c example doesn't display anything unless I hit reset

$
0
0
I compiled the ssd1306_i2c example, wired up the pins (on a Pico WH) and deployed the binary with a Pico Probe and openocd. The display did the initial flashes, showed the raspberries, showed the text, etc.

Then I cut power, and restored power, and nothing was on the screen. I was still getting the "Look at my raspberries" line out on the uart, and I added more print statements and verified that the whole loop was running. But nothing gets displayed.

Reload the binary with openocd, and the display works again. Power-cycle, and it doesn't.

Finally I tried shorting RUN to ground (the reset button approach, just without an actual pushbutton because I didn't have one handy), and when I do that, the demo works. Power-cycle + reset, I get the display. Power-cycle alone, I don't.

I'm new to Pico development but I don't see anything in the source that would explain this.

Statistics: Posted by inklesspen — Mon Aug 12, 2024 6:23 pm



Viewing all articles
Browse latest Browse all 4802

Trending Articles