Firmware

Flashing MeshCore to the P1-Pro

Follow the instructions below to flash MeshCore to your Seeed Studio P1-Pro.

Since the Seeed Studio is an NRF52-based device, there are two ways you can flash MeshCore to it. One way is flashing via the web browser, and the other way is making your device appear as a flash drive and placing the firmware files on it.

Method 1: Flashing via Web Browser

Step 1: Go to the Flasher Page

This only works on Chromium-based web browsers, like Google Chrome, Brave, or if you're on a recent version of Windows, you already have one called Microsoft Edge.

Open your web browser and go to the webflasher webpage at flasher.meshcore.co.uk.

Step 2: Find and Select Your Device

Find your device on the list by scrolling through the list and looking for "Seeed Studio SenseCAP Solar" or you can quickly find this by typing in "SenseCAP Solar" in the "Filter box". Select the "Seeed Studio SenseCAP Solar" option to go to the next page.

Step 3: Select Firmware Type

While the P1-Pro can be flashed as a Companion, Room Server, or Repeater, we're going to be flashing it as a repeater, so select "Repeater" from the list of options.

Step 4: Enter DFU Mode

Put the device into DFU mode by clicking the "Enter DFU mode" button on this page. After clicking that, a window will appear which will allow you to select your device. With this window open, go ahead and plug your Seeed Studio SenseCAP Solar Node P1‑Pro into your computer. Take note of the device that appears in the window. This will be your device. Select it and click on the Connect button. Wait for the "Enter DFU mode" button we clicked earlier to say "DFU mode active" and then continue.

Step 5: Erase Flash

Since the Seeed Studio SenseCAP Solar Node P1‑Pro comes pre-loaded with Meshtastic, it will need to be erased so we can load MeshCore onto it. Do this by hitting the "Erase Flash" button. The same small window from earlier will pop up again where you select your device from the list. Its name may be different from what we saw earlier and may be named "XIAO nRF52840" now. Select that and click on "Connect". It should now start the erase process and when it reaches 100%, a window should pop up saying that you can flash MeshCore now at the bottom. Hit OK on this window. If you have something that says it failed, try step 5 again.

Step 6: Flash MeshCore

Now we're ready to flash MeshCore and can do so by clicking on the "Flash" button. The same small window from earlier will pop up again where you select your device from the list. Select the device and hit "Connect". It will now begin flashing your device with a progress bar across the screen. When it's done, you'll see "Flashing complete!"

If you get a message saying it failed, click on the "Retry" button, then hit "Flash", select your device from the list, and click Connect. It generally works the second time around. If you continue to have issues, try following the steps for Method 2 below.

After seeing "Flashing Complete!" your Seeed Studio SenseCAP Solar Node P1‑Pro has the Repeater firmware loaded onto it and we're ready to configure it. Click on the "Configure via USB" button on the page and follow along with our "Repeater Configuration" Tutorial at the following link — link will be added here when ready.

Method 2: Flashing via File Transfer

Another way to flash NRF52-based devices like the Seeed Studio SenseCAP Solar Node P1‑Pro is to put the device into DFU mode while connected to a computer and placing the firmware files on the flash drive that appears. This is great for those who have issues flashing using a web browser as shown in Method 1 or for those that want a quick way to flash multiple devices without having to go to the flasher page. Follow the simple steps below.

Step 1: Go to the Flasher Page

Open your web browser and go to the webflasher webpage at flasher.meshcore.co.uk.

Step 2: Find and Select Your Device

Find your device on the list by scrolling through the list and looking for "Seeed Studio SenseCAP Solar" or you can quickly find this by typing in "SenseCAP Solar" in the "Filter box". Select the "Seeed Studio SenseCAP Solar" option to go to the next page.

Step 3: Select Firmware Type

While the P1-Pro can be flashed as a Companion, Room Server, or Repeater, we're going to be flashing it as a repeater, so select "Repeater" from the list of options.

Step 4: Download the Files

You'll notice a "Download" button on the bottom right of the page here. If we click on that, we'll see there are 3 files available for download. One will be a .zip file and the other two will be .uf2 files. We want to ignore the .zip file and download the two .uf2 files. Click on the first .uf2 file which will start with SenseCap_Solar_repeater-..... The zip file also starts with this, so be sure to select the file ending with .uf2. Save this to a location of your choice.

To keep things organized, consider placing these files in a folder called P1-Pro-repeater.

Now we can download the second file, which will start with FLASH_ERASE..... and save this to a location of your choice.

Step 5: Flash the Erase File

Since the Seeed Studio SenseCAP Solar Node P1‑Pro comes pre-loaded with Meshtastic, it will need to be erased so we can load MeshCore onto it. To do this, hook up the device to the computer via a USB cable and put it into DFU mode by double-pressing the RST (center black button) quickly (twice within 0.5 seconds). The device should go into DFU mode and will appear as a flash drive named XIAO Boot with 3 files on it:

  • CURRENT.UF2
  • INDEX.HTM
  • INFO_UF2.TXT

Keep this window open and open up the folder where the files were just downloaded to in another window. Find the file name starting with FLASH_ERASE....., right-click on it and select Copy. Now go back to the window that popped up with the 3 files, right-click on an empty area there and select Paste. This will erase Meshtastic from the device and make it ready to flash MeshCore. When the process is complete, the device should go back into DFU mode automatically and will appear as a flash drive named XIAO Boot again.

Step 6: Flash the MeshCore Repeater Firmware

Similar to what we did in the previous step, we need to go to the folder with the files we downloaded earlier and select the file name starting with SenseCap_Solar_repeater-....., right-click on it and select Copy. Now go back to the window that popped up with the 3 files, right-click on an empty area there and select Paste. This will flash the MeshCore repeater firmware to your Seeed Studio SenseCAP Solar Node P1‑Pro.

And that's it! The next step will be to configure your repeater by following the steps in our "Repeater Configuration" Tutorial at the following link — link will be added here when ready.