SparkFun Forums 

Where electronics enthusiasts find answers.

Discussions about processor boards have here!
User avatar
By Adix3
#244845
Hi.

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);
  delay(1000);
  digitalWrite(30, LOW);
  delay(1000);
}
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 https://devzone.nordicsemi.com/ 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: https://devzone.nordicsemi.com/f/nordic ... 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