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

Unable to get BLE_Gateway from nRF51-ble-bcast-mesh working

I've gotten two PCA10001 boards working with the LED_mesh sample.

I cannot get the third board to run BLE_Gateway (it does not react to button presses, nor is it discoverable with nRF Master Control Panel).

I'm using s110_nrf51822_7.1.0_softdevice.hex on the boards. I compile using Keil and I've set the Target IROM1 start to 0x16000 and I use nRFgo Studio to program both the SoftDevice and the application.

Anyone got any pointers? I feel like I'm sooo close to get a proof of concept done, and I'm only lacking the BLE Gateway.

Best regards

Parents
  • Hi, The hardfault handler is usually called when you try to access some peripheral or data you're not allowed to. The Softdevice enforces several protected memory areas (including some peripherals), see the SD specification for details.

    Are you able to step through the code with the debugger? You are probably accessing some blocked peripherals or similar, and we need to figure out when and which:) Are you able to initialize at all, or does it crash sometime in the init-phase? A stack trace would be the key to solve this.

    Are you doing anything besides the example code stuff?

    Trond

Reply
  • Hi, The hardfault handler is usually called when you try to access some peripheral or data you're not allowed to. The Softdevice enforces several protected memory areas (including some peripherals), see the SD specification for details.

    Are you able to step through the code with the debugger? You are probably accessing some blocked peripherals or similar, and we need to figure out when and which:) Are you able to initialize at all, or does it crash sometime in the init-phase? A stack trace would be the key to solve this.

    Are you doing anything besides the example code stuff?

    Trond

Children
Related