NRF52833 and circuitpython

Hello,

I'm trying to install circuitpython onto an nrf52833 dk board, and am running into a fair amount of trouble.

Wondering if anyone can provide a guide on the explicit processes and requirements to push this project (or one like it) onto the board.

Main issue:

CircuitPython provides a .uf2 file that is 458k large. When the 833dk is powered up with the bootloader exposed, it only has 128k available. Simply not enough room.

Hoping someone can help me see what I'm missing.

Cheers,

S.

OS: Win10/MacOS Monterey
Board: nrf52833 dk, with soc being the next target
CircuitPython repository: https://github.com/adafruit/circuitpython

Parents
  • Hi,

    You could check out micropython, which is used for instance for the micro:bit (version 2 of the micro:bit uses nRF52833.) There is also a fork of micropython specifically for the micro:bit.

    Regards,
    Terje

  • Still looking for some guidance here. I'm not able to even load the pre-compiled "blinky" example included with the SDK.

  • Hi,

    The nRF52833 has 512 kB of flash (and 128 kB of RAM). I think from your description that you are not talking about a bootloader on the nRF, but rather the bootloader for the programmer MCU on the DK.

    Powering the board while holding the reset button will set the DK into bootloader mode for the interface MCU, which acts a USB to UART bridge and J-Link programmer on the DK. There should be some protections against upgrading this interface MCU with non-functional firmware (such as applications built for the nRF), but in some instances it could be bricked.

    In order to get it up and running again, you can find the interface MCU firmware from the nRF52 DK downloads page. (The nRF52833 DK uses the same firmware as the nRF52 DK.) Hold the reset button when powering on the board, and drag the firmware over to the BOOTLOADER drive. After some time, reset the board (or power it off and on again without pressing any buttons.) The DK should then be ready for normal usage.

    Are you then able to program SDK example projects to the board, using nrfjprog? If not, what error messages (if any) or other behaviour do you get?

    Regards,
    Terje

Reply
  • Hi,

    The nRF52833 has 512 kB of flash (and 128 kB of RAM). I think from your description that you are not talking about a bootloader on the nRF, but rather the bootloader for the programmer MCU on the DK.

    Powering the board while holding the reset button will set the DK into bootloader mode for the interface MCU, which acts a USB to UART bridge and J-Link programmer on the DK. There should be some protections against upgrading this interface MCU with non-functional firmware (such as applications built for the nRF), but in some instances it could be bricked.

    In order to get it up and running again, you can find the interface MCU firmware from the nRF52 DK downloads page. (The nRF52833 DK uses the same firmware as the nRF52 DK.) Hold the reset button when powering on the board, and drag the firmware over to the BOOTLOADER drive. After some time, reset the board (or power it off and on again without pressing any buttons.) The DK should then be ready for normal usage.

    Are you then able to program SDK example projects to the board, using nrfjprog? If not, what error messages (if any) or other behaviour do you get?

    Regards,
    Terje

Children
Related