This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Flashing a 3rd party NFR52832 with ST link V2 on Eclise?

Hello,

I am in a little bit of trouble here trying to flash a 3rd party module that is mounted on a custom PCB I made with the SWD pins exposed for programming.

I've been using it with the Arduino IDE and the st link V2 so far(Thus flashed softdevice S132 on it already) but I want to make the transacting from it sins it lacks capabilities. any way I know it works in term of hardware.

Now I'm not interested in wasting my money on buying the Segger J link so I want to use the ST link V2 so far I've followed this tutorial: devzone.nordicsemi.com/.../ up to the point of "Flash download" build the blinky code successful and waiting to see how you flash the chip with it.

Does anybody have any experience with it? thanks for your time.

Parents Reply Children
  • So meaning you don't have problem with flashing the target any more (do you? Otherwise we will set-up the donation project and once we get 40 bucks you will buy one nRF5x DK with SEGGER J-Link OB and flash it in 30 seconds by one or two lines in command line...) Are you now looking for some tutorial? Which of Nordic or 3rd party guides have you followed and where has it failed for you? I believe that Nordic moderators of this forum always suggest to open new question with new specific problem (this one being about flashing, if solved let's formulate new one - as detailed as possible - and you will get support, don't worry;)

  • What ever I'll just buy two of those DK's but anyways following this tutorial: I still got stuck at flash download and can't find that executable file. and anyways how to approach a code.

    When I started learning program and in particular arduino I understood that you first have to setup a pin as input(or input with internal pull up resistor) or output and then there was a function whether for setting the pin state high or low if output mode was chosen or an input function to read out the state of the pin and you didn't even have to approach the datasheet of the MCU to do those things now all I see in other's codes are lots of hex number and #define elements not even having a clue where they started understanding these things from and I just need to make a practical device with meaningful code playing around as little as possible.

  • Oh yes, that disillusion coming from toy to Ferrari;) So beside need to understand little bit of ANSI C and getting used to little bit higher coding culture (like global defines and compile time switches, macros...) it's just little bit of routine, you can get it in few months. Or not, if you don't invest that little bi of time. There are general embedded development training courses all over the internet so you can go through these things. There are also alternatives to "raw" Nordic SDK like mbed which are trying to simplify the process and might remind you Arduino IDE.

    Back to the "stuck at flash download and can't find that executable file" - then it looks like wiring problem because there are pre-compiled HEX files (that's usually the binary format everyone uses) in SDK so you don't need to do anything to start out of the box.

  • Hi, had to revive this post as I finally have time to deal with it so what page/video series with examples do you suggest to use? of course it has to be related to the nrf52832 and it's features. I don't think the DK is realy not that necessary as I've already proved that the hardware and BLE functionality on my PCB's work do work!

  • So to sum up: you have custom hardware with nRF52832 Rev1 chip and you are sure that JTAG/SWD flashing and debugging works (how?). What is then new step you need help with?

Related