Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scanvideo/mandelbrot doesn't work on a Pico 2; does work on Pico #54

Open
jpeter20 opened this issue Jan 28, 2025 · 0 comments
Open

scanvideo/mandelbrot doesn't work on a Pico 2; does work on Pico #54

jpeter20 opened this issue Jan 28, 2025 · 0 comments

Comments

@jpeter20
Copy link

jpeter20 commented Jan 28, 2025

Have been happily using mandelbrot display on a VGA demo base board. Wanted to try on a Pico 2 I bought. I used the methods below to build the code. When mandelbrot runs on the Pico 2, the VGA monitor stays in sleep mode. It appears no valid scan data is getting to the monitor.

I also tried demo1, demo2, mario_tiles, and sprite_demo. They all work using my build methods below, for the Pico 2. It appears to be only mandelbrot that doesn't show anything on the screen.

I made sure all the sources are up-to-date with the latest, including pico-sdk. Here are the build commands I used, on a Raspberry Pi 3 Model B+:

For Pico:

$ cd ~/pico/pico-playground
$ mkdir build
$ cd build
$ cmake ..
$ make -j4 mandelbrot
$ sudo picotool load -v -x mandelbrot.uf2 -f

For Pico 2:

$ cd ~/pico/pico-playground
$ mkdir build2
$ cd build2
$ cmake -DPICO_BOARD=pico2 ..
$ make -j4 mandelbrot
$ sudo picotool load -v -x mandelbrot.uf2 -f

P.S. Just saw the Preview button up there now, sorry for the multiple edits before I found it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant