Raspberry Pi Pico simulator, RP2040 and all
Mokxi models the Raspberry Pi Pico on our own Cortex-M0+ core, running the RP2040 at 125 MHz. SIO GPIO, a microsecond timer with four alarms, UART0 and eight PWM slices use their real addresses. Test finished firmware on the physical board too.
- 7peripheral areas modeled
- 3projects ready to run
- Real timeon your own machine
What is modeled
Taken from the board's own contract document and put in plain words, with what is missing listed underneath.
Not in the model
- The second core. SIO.CPUID reads 0, and there is no way to launch core 1.
- PIO and DMA. Neither has a model yet.
- The ADC. GP26 to GP28 are plain GPIO here, and ADC_VREF is only a supply pin.
- USB, including running Raspberry Pi Pico SDK binaries: those need the bootloader and clock tree, which are not modeled.
Open one and press Run
Each of these opens in the editor exactly as it is drawn here.
Every built-in project on the Pico
Each has its own page with the circuit running, the code and a parts list.
Arduino libraries that compile as they are
Paste a tutorial that includes one of these and it builds: each is written for Mokxi, on its own drivers, under the name the tutorials use. For any other library the build names the Mokxi header that does the same job.
Tutorials that use this board
Each one ends in a running circuit, on this same board.
Questions
Is it free?
Yes. Every board and every part is on the free plan, with no account needed.
Does it run Pico SDK binaries?
No. The SDK needs the second-stage bootloader and the clock tree, and neither is modeled. The firmware runtime here is ours, and it is Arduino-shaped.
Will my firmware run on a real Pico?
Yes, as long as it does not reach for the second core, PIO, DMA or the ADC. The memory map and the register offsets are the real ones.
Do I need an account?
Only to save projects to the cloud and share them by link.
The other boards
Every one of these runs today, and every one is free.
Looking for the shorter introduction? See the Raspberry Pi Pico simulator page.
Try it on your own firmware
What you build here runs on the board on your desk, unchanged. Nothing to install and no account needed.