Dual core processing on Raspberry Pi Pico, is it now broken?

So for the last 6 months or so I've been on and off programming raspberry pi picos using arduino, up until about 6 weeks ago everything was working perfectly, however, now I can't seem to program both cores??

This is some very basic code just to test if both cores are working as expected...

volatile int i = 0;

void setup() { // Core 0 setup 
  Serial.begin(9600);
}

void loop() { // Core 0 loop
  Serial.print("Integer: ");
  Serial.println(i);
  delay(1000);
}


void setup1() { // Core 1 setup
  
}

void loop1() { // Core 1 loop
  i++;
  delay(1000);
}

However, when this is uploaded and runs the serial monitor only shows the following...

19:33:51.383 -> Integer: 0
19:33:52.382 -> Integer: 0
19:33:53.391 -> Integer: 0
19:33:54.406 -> Integer: 0
19:33:55.404 -> Integer: 0
19:33:56.416 -> Integer: 0

What has changed that has broken this function??

Here's the board settings I'm using...

Any help is greatly appreciated!

Nevermind! Fixed it! Just had to add the board to the additional board manager...

1 Like

I'm having the same issue. Please can you elaborate on how you fixed it? How did you add the board to the additional board manager? Any assistance would be greatly appreciated.

Sorry for the delay, yes I can explain how I fixed it...
I found this https://arduino-pico.readthedocs.io/en/latest/ very handy resource and followed the steps of this page.

Specifically these steps...


Here's the link you need to add: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json

I am using the newer IDE and other than visually looking a little different, its the same procedure.

BUT! I have not tested this on a Raspberry Pico W yet... So don't know if it works.

Hope that helps!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.