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

Getting started with nrf51822 modules and st-link.

Hello.

I'm tying to learn nrf51822. I had ordered some modules from ebay and nrf52-dk from local distributor . A week ago I had receive some modules. But local distributor says that nrf52-dk is late and won't delivered before middle of January. So, I'm trying to work with modules and st-link from st32nucleo board. And I had faced the some problems.

Here is that's modules: www.ebay.com/.../192371985227 (E77-2G4M04S)

[1].Have someone know something about it?

As I haven't original j-link, I'm trying to work through st-link (from stm-nucleo board).

As I understand before working with any examples I must flash softdevice into nrf51822 module, and after that I can flash exampls. Currently I have two modules, one of them already was erased few times by me. Another module has stayed with default firmware, but I don't know what is it and what version is it.

[2]. Is it possible to figure out what is contains by default into ROM of that's module?

When I try to flash blank (erased) module, I had faced some issues:

[3]. Into what ROM address a must flash softdevice (for example s130). As I understand, softdevice must be placed before application, and as I suppose, it must be 0x0. And, in this case, application must be plased starts from 0x1B00. Am I right?

[4]. Is it bootloader (or something else) must be placed before softdevice? And if it is, what is it and where I can get it and how a can flash it into ROM?

[5]. Is it possible to get know that softdevice had written (flashed) ok? (considering thats, nrf51822 module hasn't any leds or buttons. just SWCLK, SWDIO, GND, VCC and IO pins)

[6]. I have tried flash softdevice into module (starts from 0x0 ROM address) through st-link (Keil). But after that, a can't flash any examples (starts from 0x1B00) - I've got message "Programming Failed! Error: Flash Download failed - "Cortex-M0"". So, I think I'm missed something but I don't know what.

Parents Reply Children
No Data
Related