Flasing nordic nrf52832 chip

Hi,

I am flashing NORDIC nrf52832 DK using vs code it working fine but when we are using same code with nrf528332 chip, its flashing but not getting any output .

platformio.ini
[env:nrf52832_dk]
platform = n-able
board = nrf52832_dk
framework = arduino
upload_protocol = jlink
debug_tool = jlink

Multiple possible points of failure:

The

has the build flags set for expecting a low-frequency crystal oscillator (LFXO), so if your custom board doesn’t have that, clock setup will fail.

The other point is that the serial pins could just be different or wrong. It uses P0.25 as its TX.

Since you upload via J-LInk anways, you should be able to just go to the Debugging sidebar → PIO Debug and see where your chip ends up in regards to code exection?

Here, the platform mentioned is n-able. Can you explain that in brief? Because, I tried this platform with the generic-nrf52832 controller, but I couldn’t able to find that in platformio.

platformio.ini
[env:nrf52832_dk]
platform = n-able
board = nrf52832_dk
framework = arduino
upload_protocol = jlink
debug_tool = jlink

Error message which i’m getting:
UnknownPackageError: Could not find the package with ‘n-able’ requirements for your system ‘linux_x86_64’

my system specification is, Ubuntu 24.04, VS Code with platformio

Thanks in advance.

Either install the third-party platform once via

pio pkg install -g -p "https://github.com/h2zero/platform-n-able.git"

via the CLI and keep on using platform = n-able, or simply set

platform = https://github.com/h2zero/platform-n-able.git

directly.

1 Like

This is working, Thanks. @maxgerhardt :grinning: