SparkFun Forums 

Where electronics enthusiasts find answers.

Discussions about processor boards have here!
User avatar
By Adix3

I have a board with nrf52832 and I would like to program it using the ST-Link programmer (using OpenOCD software). I installed the necessary components for "Sparkfun nrf52 Boards" in Arduino. I created a sketch that should blink the LED on pin P0.30:
Code: Select all
void setup()
    pinMode(30, OUTPUT);  

void loop()
  digitalWrite(30, HIGH);
  digitalWrite(30, LOW);
Then I generated the .bin file using "Sketch -> Export compiled binary". I uploaded it to nrf52832 using the ST-Link programmer (OpenOCD). The programming procedure was successful. Unfortunately my LED connected to P0.30 is not flashing.

This is definitely not a hardware problem, because I asked users from to generate a .bin file in the SDK that will change the state to P0.30 every 1 second. After uploading the .bin file (that I received from them) my LED is blinking. (Link to thread: ... a-test-bin)

Can someone help me?
 Topic permissions

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum