Skip to content

gnrc_minimal on nRF52DK do not work anymore #11091

@Citrullin

Description

@Citrullin

Description

The gnrc_minimal example do not work on the nrf52832 anymore

I worked on another branch on the gnrc networking on BLE. So, I checked the old branch and it works fine there. (Last commit on the old branch: 60008cb)

I also tried to use the nordic ble package without the gnrc packages. Simple ble advertising test.
Just add the nordic package to your Makefile

USEPKG += nordic_softdevice_ble

Add this to your main

    puts("Hello World!");

    printf("You are running RIOT on a(n) %s board.\n", RIOT_BOARD);
    printf("This board features a(n) %s MCU.\n", RIOT_MCU);

    ble_stack_init();
    ble_advertising_init("RIOT BLE");
    ble_advertising_start();

and import ble-core.h

This also does not give you any feedback. No ble advertising, no serial console message. So, I guess the problem is somewhere placed in the ble library wrapper or maybe even in the library itself.

Steps to reproduce the issue

  1. Checkout the master branch (commit: e3e2b6d)
  2. Connect the nRF52 DK board to an USB-to-UART adapter and to your J-Link
  3. Open the serial monitor. With term, platformio device monitor, screen or something else.
  4. Flash the gnrc_minimal example with a J-Link.

Expected results

Do the same as before, but check out the commit: 60008cb

Result in the serial console:

main(): This is RIOT! (Version: 2018.10-devel-413-g60008-[SOME_HOSTNAME]-HEAD)
RIOT network stack example application
My address is [SOME_ADDRESS]

Actual results

Empty serial console, no message appears.

Versions

Installed compiler toolchains

-----------------------------
             native gcc: gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
      arm-none-eabi-gcc: arm-none-eabi-gcc (GNU Tools for Arm Embedded Processors 7-2018-q2-update) 7.3.1 20180622 (release) [ARM/embedded-7-branch revision 261907]
                avr-gcc: missing
       mips-mti-elf-gcc: missing
             msp430-gcc: missing
   riscv-none-embed-gcc: missing
                  clang: missing

Installed compiler libs
-----------------------
   arm-none-eabi-newlib: "3.0.0"
    mips-mti-elf-newlib: missing
riscv-none-embed-newlib: missing
               avr-libc: missing (missing)

Installed development tools
---------------------------
                  cmake: cmake version 3.10.2
               cppcheck: missing
                doxygen: missing
                 flake8: missing
                    git: git version 2.17.1
             coccinelle: missing

Metadata

Metadata

Assignees

Labels

Area: networkArea: NetworkingType: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions