Date   

How to connect the LSM6DS0 sensor when using a custom board? #sensor #dts #defconfig

Stefan Jaritz
 

Hej

I am failing to get my LSM6DS3(almost LSM6DS0) sensor rightfully setup. Maybe someone can give me a hint.

My system:

LSM6DS3 <--> I2C1 @ stm32F412 <--> Zephyr OS

I created an own board for that. It is configured via myboard_defconfig. I added into that file:

# movement sensor
CONFIG_SENSOR=y
CONFIG_LSM6DS0=y
CONFIG_LSM6DS0_I2C_MASTER_DEV_NAME="LSM6DS3"
CONFIG_LSM6DS0_I2C_ADDR=0x6A

In myboard.dts I added:

&i2c1 {
    status = "ok";
    clock-frequency = <I2C_BITRATE_FAST>;

    lsm6ds0@106 {
        compatible = "st,lsm6ds0";
        reg = <0x6A>;
        label = "LSM6DS3";
    };
};

I am getting following error:

~/zephyr/drivers/sensor/lsm6ds0/lsm6ds0.c:499:25: error: ‘CONFIG_LSM6DS0_I2C_MASTER_DEV_NAME’ undeclared here (not in a function)
  .i2c_master_dev_name = CONFIG_LSM6DS0_I2C_MASTER_DEV_NAME,
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~/zephyr/drivers/sensor/lsm6ds0/lsm6ds0.c:500:20: error: ‘CONFIG_LSM6DS0_I2C_ADDR’ undeclared here (not in a function)
  .i2c_slave_addr = CONFIG_LSM6DS0_I2C_ADDR,
                    ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ~/zephyr/include/sensor.h:27:0,
                 from ~/zephyr/drivers/sensor/lsm6ds0/lsm6ds0.c:11:
~/zephyr/drivers/sensor/lsm6ds0/lsm6ds0.c:505:30: error: ‘CONFIG_LSM6DS0_DEV_NAME’ undeclared here (not in a function)
 DEVICE_AND_API_INIT(lsm6ds0, CONFIG_LSM6DS0_DEV_NAME, lsm6ds0_init,
                              ^
~/zephyr/include/device.h:106:11: note: in definition of macro ‘DEVICE_AND_API_INIT’
   .name = drv_name, .init = (init_fn),     \
           ^~~~~~~~


I took the hexiwear_k64 board as template.

Any ideas how to get these problem solved?

Stefan


GCC ARM Embedded is now GNU Arm Embedded

Carles Cufi
 

Hi all,

We have just merged a commit [1] which renames the Arm embedded toolchain from GCC ARM Embedded to its new and current name, GNU Arm Embedded.

If you use this toolchain you will see a warning displayed when you build until you rename the corresponding environment variables:

The former:
ZEPHYR_TOOLCHAIN_VARIANT=gccarmemb
should now be set to:
ZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb

and the former:
GCCARMEMB_TOOLCHAIN_PATH=<path>
should now be named:
GNUARMEMB_TOOLCHAIN_PATH=<path>

Thanks,
Carles

[1] https://github.com/zephyrproject-rtos/zephyr/commit/957262e37d716985912cc9deb929293badd6d845


Find devices with custom service like in central_hr example #bt #ble

Phil Hipp
 

Hi,

I'm trying to port the central_hr example to my project. In this project I'm using a peripheral that advertises a 128Bit UUID of a custom service instead of the 16Bit UUID of the HRS service. I also want to parse the AD data as in the example to build a list of all scanned devices that support this custom service. What do I have to change in the example for that purpose?

Also how can I read/write and subscribe to characteristics of that service?

Best Phil


DFU nrf52840 #nrf52840

Arun kumar
 

Is it possible to Upgrade a bare metal firmware(not from zephyr, may be from nrf sdk example) through smp server explained in zephyr project ?


Re: SPI on nRF52-PCA10040 possible? #nrf52832

moritzgerlich@...
 

Hi Joe,
thanks again for your fast answer.

I tried to run spi_loopback/spi.c
on nrf52840_pca10056 but i am still running into problems.

I will explain the problem, if someone has the time to take a short glimpse over it, i would very much appreciate it.

The idea/goal is just to send data via spi_transceive.
To do so i changed the main method to setup the tx and rx buffers
as well as struct device *spi_fast.

The spi_config is setup before with:

struct spi_config spi_cfg_fast = {
    .frequency = FAST_FREQ,
    .operation = SPI_OP_MODE_MASTER | SPI_MODE_CPOL |
    SPI_MODE_CPHA | SPI_WORD_SET(8) | SPI_LINES_SINGLE,
    .slave = SPI_SLAVE,
    .cs = SPI_CS,
};

I also added CONFIG_SPI=y in the nrf52840_pca10056.conf file.

The main method is:

void test_main(void)
{
//setup the buffers here
    const struct spi_buf tx_bufs[] = {
            {
                .buf = buffer_tx,
                .len = BUF_SIZE,
            },
        };
        const struct spi_buf rx_bufs[] = {
            {
                .buf = buffer_rx,
                .len = BUF_SIZE,
            },
        };
        const struct spi_buf_set tx = {
            .buffers = tx_bufs,
            .count = ARRAY_SIZE(tx_bufs)
        };
        const struct spi_buf_set rx = {
            .buffers = rx_bufs,
            .count = ARRAY_SIZE(rx_bufs)
        };
//finishesd setting buffers

//setup the device
    struct device *spi_fast;
    spi_fast = device_get_binding(SPI_DRV_NAME);
//finished setting up device

//check parameters
    printk("%s\n",SPI_DRV_NAME);
    printk("%i\n",SPI_SLAVE);
    printk("%i\n",SLOW_FREQ);
    printk("%i\n",FAST_FREQ);
//finished checking parameters

    int ret;
    ret= spi_transceive(spi_fast, &spi_cfg_fast, &tx, NULL);

    if (ret) {
        SYS_LOG_ERR("Code %d", ret);
    }

    printk("Still alive and trying.\n");
}

The problem is, that if i flash the board i get the following output:


The program hangs at spi_transceive and never reaches printk("Still alive and trying.\n");

However if i set ret= spi_transceive(spi_fast, &spi_cfg_fast, &NULL, &NULL); so output is set to NULL i get:




Does someone have an idea what is going wrong?


Thanks again.


How to setup BCSP at runtime with manufacture specific commands #bt #protocol #hc5 #bcsp

Stefan Jaritz
 

Hej,

I like to implement an firmware upgrade via bcsp + manufacture specific commands. I give a quick setup of my system:

BT device <---> UART3  @ MCU <---> Zephyr OS

The update process works in following steps:

- open uart3 9600,N,8

- send "DFU"

- open uart3 115200,E,8

- establish a link via bcsp

- sending and receiving the manufacturer specific commands on channel 12

Now comes my question: How to do this with Zephyr OS?

I saw a implementation of the HC5 protocol:

https://github.com/zephyrproject-rtos/zephyr/blob/master/drivers/bluetooth/hci/h5.c

Think I may can use this, because it is said, that the bcsp can be used in combination with HCI HC5. Am I right?

The dfu commands using channel 12 of the bcsp. For me seems that function "static int h5_queue(struct net_buf *buf)"  is only handling cmd/event and acl messages. How to it is dealt with all the other ones? ( acl = 6, cmdEvt = 5, sco = 7, le = 1, ack = 0,  dfu = 12)


Kind regards!

Stefan


Re: SPI on nRF52-PCA10040 possible? #nrf52832

Johannes Hutter
 

Hi Moritz,

SPI does not have DTS support in nordic boards yet, so you still have to set it up via Kconfig until https://github.com/zephyrproject-rtos/zephyr/issues/8758 is completely resolved.

The first part of

zephyr/tests/drivers/spi/spi_loopback/boards/nrf52_pca10040.conf

should be a good starting point for your case. You have to set CONFIG_SPI=y then.

Regards,
Joe

On Mon, Aug 6, 2018 at 9:15 AM <moritzgerlich@...> wrote:

Hello at all,

i have a question concerning the nRF52-PCA10040.

I want to connect the nRF52-PCA10040 to another board via SPI. However i cannot
figure out a possible way to do so. The provided samples weren't particulary helpful.
Did someone use SPI with one of the nRF52XX boards and would have an
idea (or a sample code) for using/setting up the SPI device?

Thanks in advance for any kind of help!

--

Johannes Hutter
Embedded Software Lead
Mail: johannes@...

 

Workaround GmbH (ProGlove)  
Building 64.08a, 
Rupert-Mayer-Straße 44, 81379 München



Managing Director: Thomas Kirchner 
HRB: 216605 | AG München 
USt.-IdNr.: DE298859320

 



SPI on nRF52-PCA10040 possible? #nrf52832

moritzgerlich@...
 

Hello at all,

i have a question concerning the nRF52-PCA10040.

I want to connect the nRF52-PCA10040 to another board via SPI. However i cannot
figure out a possible way to do so. The provided samples weren't particulary helpful.
Did someone use SPI with one of the nRF52XX boards and would have an
idea (or a sample code) for using/setting up the SPI device?

Thanks in advance for any kind of help!


Re: MPU FAULT when starting BLE peripheral sample on nrf52840_pca10056

Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>
 

As you see your toolchain is not correctly picking the gcc libraries from armv7e-m.

 

I am not on my MacBook now, hopefully someone else could help you resolve the issue or will help set the CFLAGS explicitly.

 

-Vinayak

 

From: Finke Philipp (lesswire GmbH) [mailto:finke@...]
Sent: Friday, August 03, 2018 12:01 PM
To: Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>
Cc: users@...
Subject: Re: [Zephyr-users] MPU FAULT when starting BLE peripheral sample on nrf52840_pca10056

 

Hey,

 

that’s the only reasonable line I found in the output.

 

-L"/Users/philippfinke/Documents/Git/zephyr/sdk/macos/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/7.3.0/thumb“



Mit freundlichen Grüßen / best regards,

Philipp Finke
Development Engineer
Contract Development 
lesswire GmbH | PRETTL Electronics GmbH 
 
lesswire GmbH 
Emmy-Noether-Strasse 2 
D-79110 Freiburg, Germany 
 
Phone +49 (0) 761 708 399-22 
E-Mail: finke@...








   www.lesswire.com              www.prettl-electronics.com
 
Sitz der GmbH: Rudower Chausse 30, D-12489 Berlin, Germany
Registergericht: Amtsgericht Berlin-Charlottenburg, HRB 164706 B
Geschäftsführer: Germar Rocco Mertsching, Christian Federspiel
EU-USt.ID: DE200593545



Am 03.08.2018 um 11:56 schrieb Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>:

 

Hi, 

Did you, "Look for the “-L … “ option supplied when compiling."???
What folder path do you have? Incorrect library supplied will cause the hardfault when div operations is performed.

-Vinayak 


From: Finke Philipp (lesswire GmbH) [
mailto:finke@...] 
Sent: Friday, August 03, 2018 11:44 AM
To: Chettimada, Vinayak Kariappa <
vinayak.kariappa.chettimada@...>
Cc: 
users@...
Subject: Re: [Zephyr-users] MPU FAULT when starting BLE peripheral sample on nrf52840_pca10056

Hey, 

the output shows that armv7-m is given as architecture (-march=armv7e-m). It seems I’m using following compiler:

arm-zephyr-eabi-gcc (crosstool-NG 1.23.0.418-d590-dirty) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Mit freundlichen Grüßen / best regards,

Philipp Finke
Development Engineer
Contract Development 
lesswire GmbH | PRETTL Electronics GmbH 
 
lesswire GmbH 
Emmy-Noether-Strasse 2 
D-79110 Freiburg, Germany 
 
Phone +49 (0) 761 708 399-22 
E-Mail: 
mailto:finke@...







   
http://www.lesswire.com              http://www.prettl-electronics.com
 
Sitz der GmbH: Rudower Chausse 30, D-12489 Berlin, Germany
Registergericht: Amtsgericht Berlin-Charlottenburg, HRB 164706 B
Geschäftsführer: Germar Rocco Mertsching, Christian Federspiel
EU-USt.ID: DE200593545 


Am 03.08.2018 um 11:30 schrieb Chettimada, Vinayak Kariappa <
mailto:vinayak.kariappa.chettimada@...>:

Try: “ninja -v”
 
If using make, then, its “make VERBOSE=1”
 
Look for the “-L … “ option supplied when compiling.
 
You can join the IRC #zephyrproject channel at 
http://webchat.freenode.net/, if you need faster response.
 
Regards,
Vinayak
 
 
From: Finke Philipp (lesswire GmbH) [
mailto:finke@...
Sent: Friday, August 03, 2018 11:22 AM
To: Chettimada, Vinayak Kariappa <
mailto:vinayak.kariappa.chettimada@...>
Cc: 
mailto:users@...
Subject: Re: [Zephyr-users] MPU FAULT when starting BLE peripheral sample on nrf52840_pca10056
 
Hey Vinayak, 
 
how do I get these information? I’m using cmake with ninja as generator as recommended on the zephyr project page.
 
Mit freundlichen Grüßen / best regards,

Philipp Finke
Development Engineer
Contract Development 
lesswire GmbH | PRETTL Electronics GmbH 
 
lesswire GmbH 
Emmy-Noether-Strasse 2 
D-79110 Freiburg, Germany 
 
Phone +49 (0) 761 708 399-22 
E-Mail: 
mailto:finke@...

<image001.png><image002.png>





   
http://www.lesswire.com/              http://www.prettl-electronics.com/
 
Sitz der GmbH: Rudower Chausse 30, D-12489 Berlin, Germany
Registergericht: Amtsgericht Berlin-Charlottenburg, HRB 164706 B
Geschäftsführer: Germar Rocco Mertsching, Christian Federspiel
EU-USt.ID: DE200593545 



Am 03.08.2018 um 11:15 schrieb Chettimada, Vinayak Kariappa <
mailto:vinayak.kariappa.chettimada@...>:
 
Hi Phil,
 
Could you please build with verbose and check if correct gcc library for armv7e-m is compiled in (from the correct gcc revision).
 
Which version of GCC do you use?
 
 
Regards,
Vinayak
 
 
From: 
mailto:users@... [mailto:users@...] On Behalf Of Phil Hipp
Sent: Friday, August 03, 2018 11:05 AM
To: 
mailto:users@...
Subject: [Zephyr-users] MPU FAULT when starting BLE peripheral sample on nrf52840_pca10056
 
Hello,

I'm trying to run the BLE peripheral sample of the zephyr v1.12.0 branch on the NRF52840 PCA10056 DK. I built the sample under macOS 10.13.6 using the arm-zephyr-eabi toolchain built with sdk-ng on that machine.

Every time I start the board, I get following output on the console.
***** Booting Zephyr OS v1.12.0 *****
[bt] [INF] hci_vs_init: HW Platform: Nordic Semiconductor (0x0002)
[bt] [INF] hci_vs_init: HW Variant: nRF52x (0x0002)
[bt] [INF] hci_vs_init: Firmware: Standard Bluetooth controller (0x00) Version 1.12 Build 0
[bt] [WRN] bt_pub_key_gen: ECC HCI commands not available
Bluetooth initialized
[bt] [INF] bt_dev_show_info: Identity: e1:d5:6c:a1:a2:b3 (random)
[bt] [INF] bt_dev_show_info: HCI: version 5.0 (0x09) revision 0x0000, manufacturer 0x05f1
[bt] [INF] bt_dev_show_info: LMP: version 5.0 (0x09) subver 0xffff
***** MPU FAULT *****
  Executing thread ID (thread): 0x200003dc
  Faulting instruction address:  0x20000bd2
  Instruction Access Violation
Fatal fault in thread 0x200003dc! Aborting.
 
Advertising successfully started



It doesn't seem that Advertising has been started as promoted. I get the same or a similar issue with the other BLE samples, too.

Hope somebody may help me with this issue.

 


Re: MPU FAULT when starting BLE peripheral sample on nrf52840_pca10056

Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>
 

Hi,

Did you, "Look for the “-L … “ option supplied when compiling."???
What folder path do you have? Incorrect library supplied will cause the hardfault when div operations is performed.

-Vinayak


From: Finke Philipp (lesswire GmbH) [mailto:finke@lesswire.com]
Sent: Friday, August 03, 2018 11:44 AM
To: Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@nordicsemi.no>
Cc: users@lists.zephyrproject.org
Subject: Re: [Zephyr-users] MPU FAULT when starting BLE peripheral sample on nrf52840_pca10056

Hey,

the output shows that armv7-m is given as architecture (-march=armv7e-m). It seems I’m using following compiler:

arm-zephyr-eabi-gcc (crosstool-NG 1.23.0.418-d590-dirty) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Mit freundlichen Grüßen / best regards,

Philipp Finke
Development Engineer
Contract Development 
lesswire GmbH | PRETTL Electronics GmbH 
 
lesswire GmbH 
Emmy-Noether-Strasse 2 
D-79110 Freiburg, Germany 
 
Phone +49 (0) 761 708 399-22 
E-Mail: mailto:finke@lesswire.com







   http://www.lesswire.com              http://www.prettl-electronics.com
 
Sitz der GmbH: Rudower Chausse 30, D-12489 Berlin, Germany
Registergericht: Amtsgericht Berlin-Charlottenburg, HRB 164706 B
Geschäftsführer: Germar Rocco Mertsching, Christian Federspiel
EU-USt.ID: DE200593545


Am 03.08.2018 um 11:30 schrieb Chettimada, Vinayak Kariappa <mailto:vinayak.kariappa.chettimada@nordicsemi.no>:

Try: “ninja -v”
 
If using make, then, its “make VERBOSE=1”
 
Look for the “-L … “ option supplied when compiling.
 
You can join the IRC #zephyrproject channel at http://webchat.freenode.net/, if you need faster response.
 
Regards,
Vinayak
 
 
From: Finke Philipp (lesswire GmbH) [mailto:finke@lesswire.com] 
Sent: Friday, August 03, 2018 11:22 AM
To: Chettimada, Vinayak Kariappa <mailto:vinayak.kariappa.chettimada@nordicsemi.no>
Cc: mailto:users@lists.zephyrproject.org
Subject: Re: [Zephyr-users] MPU FAULT when starting BLE peripheral sample on nrf52840_pca10056
 
Hey Vinayak, 
 
how do I get these information? I’m using cmake with ninja as generator as recommended on the zephyr project page.
 
Mit freundlichen Grüßen / best regards,

Philipp Finke
Development Engineer
Contract Development 
lesswire GmbH | PRETTL Electronics GmbH 
 
lesswire GmbH 
Emmy-Noether-Strasse 2 
D-79110 Freiburg, Germany 
 
Phone +49 (0) 761 708 399-22 
E-Mail: mailto:finke@lesswire.com

<image001.png><image002.png>





   http://www.lesswire.com/              http://www.prettl-electronics.com/
 
Sitz der GmbH: Rudower Chausse 30, D-12489 Berlin, Germany
Registergericht: Amtsgericht Berlin-Charlottenburg, HRB 164706 B
Geschäftsführer: Germar Rocco Mertsching, Christian Federspiel
EU-USt.ID: DE200593545 



Am 03.08.2018 um 11:15 schrieb Chettimada, Vinayak Kariappa <mailto:vinayak.kariappa.chettimada@nordicsemi.no>:
 
Hi Phil,
 
Could you please build with verbose and check if correct gcc library for armv7e-m is compiled in (from the correct gcc revision).
 
Which version of GCC do you use?
 
 
Regards,
Vinayak
 
 
From: mailto:users@lists.zephyrproject.org [mailto:users@lists.zephyrproject.org] On Behalf Of Phil Hipp
Sent: Friday, August 03, 2018 11:05 AM
To: mailto:users@lists.zephyrproject.org
Subject: [Zephyr-users] MPU FAULT when starting BLE peripheral sample on nrf52840_pca10056
 
Hello,

I'm trying to run the BLE peripheral sample of the zephyr v1.12.0 branch on the NRF52840 PCA10056 DK. I built the sample under macOS 10.13.6 using the arm-zephyr-eabi toolchain built with sdk-ng on that machine.

Every time I start the board, I get following output on the console.
***** Booting Zephyr OS v1.12.0 *****
[bt] [INF] hci_vs_init: HW Platform: Nordic Semiconductor (0x0002)
[bt] [INF] hci_vs_init: HW Variant: nRF52x (0x0002)
[bt] [INF] hci_vs_init: Firmware: Standard Bluetooth controller (0x00) Version 1.12 Build 0
[bt] [WRN] bt_pub_key_gen: ECC HCI commands not available
Bluetooth initialized
[bt] [INF] bt_dev_show_info: Identity: e1:d5:6c:a1:a2:b3 (random)
[bt] [INF] bt_dev_show_info: HCI: version 5.0 (0x09) revision 0x0000, manufacturer 0x05f1
[bt] [INF] bt_dev_show_info: LMP: version 5.0 (0x09) subver 0xffff
***** MPU FAULT *****
  Executing thread ID (thread): 0x200003dc
  Faulting instruction address:  0x20000bd2
  Instruction Access Violation
Fatal fault in thread 0x200003dc! Aborting.
 
Advertising successfully started



It doesn't seem that Advertising has been started as promoted. I get the same or a similar issue with the other BLE samples, too.

Hope somebody may help me with this issue.


Re: MPU FAULT when starting BLE peripheral sample on nrf52840_pca10056

Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>
 

Try: ninja -v

 

If using make, then, its “make VERBOSE=1”

 

Look for the “-L … “ option supplied when compiling.

 

You can join the IRC #zephyrproject channel at webchat.freenode.net, if you need faster response.

 

Regards,

Vinayak

 

 

From: Finke Philipp (lesswire GmbH) [mailto:finke@...]
Sent: Friday, August 03, 2018 11:22 AM
To: Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>
Cc: users@...
Subject: Re: [Zephyr-users] MPU FAULT when starting BLE peripheral sample on nrf52840_pca10056

 

Hey Vinayak,

 

how do I get these information? I’m using cmake with ninja as generator as recommended on the zephyr project page.

 

Mit freundlichen Grüßen / best regards,

Philipp Finke
Development Engineer
Contract Development 
lesswire GmbH | PRETTL Electronics GmbH 
 
lesswire GmbH 
Emmy-Noether-Strasse 2 
D-79110 Freiburg, Germany 
 
Phone +49 (0) 761 708 399-22 
E-Mail: finke@...








   www.lesswire.com              www.prettl-electronics.com
 
Sitz der GmbH: Rudower Chausse 30, D-12489 Berlin, Germany
Registergericht: Amtsgericht Berlin-Charlottenburg, HRB 164706 B
Geschäftsführer: Germar Rocco Mertsching, Christian Federspiel
EU-USt.ID: DE200593545



Am 03.08.2018 um 11:15 schrieb Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>:

 

Hi Phil,

 

Could you please build with verbose and check if correct gcc library for armv7e-m is compiled in (from the correct gcc revision).

 

Which version of GCC do you use?

 

 

Regards,

Vinayak

 

 

From: users@... [mailto:users@...] On Behalf Of Phil Hipp
Sent: Friday, August 03, 2018 11:05 AM
To: users@...
Subject: [Zephyr-users] MPU FAULT when starting BLE peripheral sample on nrf52840_pca10056

 

Hello,

I'm trying to run the BLE peripheral sample of the zephyr v1.12.0 branch on the NRF52840 PCA10056 DK. I built the sample under macOS 10.13.6 using the arm-zephyr-eabi toolchain built with sdk-ng on that machine.

Every time I start the board, I get following output on the console.

***** Booting Zephyr OS v1.12.0 *****

[bt] [INF] hci_vs_init: HW Platform: Nordic Semiconductor (0x0002)

[bt] [INF] hci_vs_init: HW Variant: nRF52x (0x0002)

[bt] [INF] hci_vs_init: Firmware: Standard Bluetooth controller (0x00) Version 1.12 Build 0

[bt] [WRN] bt_pub_key_gen: ECC HCI commands not available

Bluetooth initialized

[bt] [INF] bt_dev_show_info: Identity: e1:d5:6c:a1:a2:b3 (random)

[bt] [INF] bt_dev_show_info: HCI: version 5.0 (0x09) revision 0x0000, manufacturer 0x05f1

[bt] [INF] bt_dev_show_info: LMP: version 5.0 (0x09) subver 0xffff

***** MPU FAULT *****

  Executing thread ID (thread): 0x200003dc

  Faulting instruction address:  0x20000bd2

  Instruction Access Violation

Fatal fault in thread 0x200003dc! Aborting.

 

Advertising successfully started


It doesn't seem that Advertising has been started as promoted. I get the same or a similar issue with the other BLE samples, too.

Hope somebody may help me with this issue.

 


Re: MPU FAULT when starting BLE peripheral sample on nrf52840_pca10056

Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>
 

Hi Phil,

 

Could you please build with verbose and check if correct gcc library for armv7e-m is compiled in (from the correct gcc revision).

 

Which version of GCC do you use?

 

 

Regards,

Vinayak

 

 

From: users@... [mailto:users@...] On Behalf Of Phil Hipp
Sent: Friday, August 03, 2018 11:05 AM
To: users@...
Subject: [Zephyr-users] MPU FAULT when starting BLE peripheral sample on nrf52840_pca10056

 

Hello,

I'm trying to run the BLE peripheral sample of the zephyr v1.12.0 branch on the NRF52840 PCA10056 DK. I built the sample under macOS 10.13.6 using the arm-zephyr-eabi toolchain built with sdk-ng on that machine.

Every time I start the board, I get following output on the console.

***** Booting Zephyr OS v1.12.0 *****

[bt] [INF] hci_vs_init: HW Platform: Nordic Semiconductor (0x0002)

[bt] [INF] hci_vs_init: HW Variant: nRF52x (0x0002)

[bt] [INF] hci_vs_init: Firmware: Standard Bluetooth controller (0x00) Version 1.12 Build 0

[bt] [WRN] bt_pub_key_gen: ECC HCI commands not available

Bluetooth initialized

[bt] [INF] bt_dev_show_info: Identity: e1:d5:6c:a1:a2:b3 (random)

[bt] [INF] bt_dev_show_info: HCI: version 5.0 (0x09) revision 0x0000, manufacturer 0x05f1

[bt] [INF] bt_dev_show_info: LMP: version 5.0 (0x09) subver 0xffff

***** MPU FAULT *****

  Executing thread ID (thread): 0x200003dc

  Faulting instruction address:  0x20000bd2

  Instruction Access Violation

Fatal fault in thread 0x200003dc! Aborting.

 

Advertising successfully started

It doesn't seem that Advertising has been started as promoted. I get the same or a similar issue with the other BLE samples, too.

Hope somebody may help me with this issue.


Re: MPU FAULT when starting BLE peripheral sample on nrf52840_pca10056

Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>
 

Thank you for letting me know.

 

May be others in the community can follow up on the original issue with the toolchain from SDK-ng.

 

  • Vinayak

 

From: Finke Philipp (lesswire GmbH) [mailto:finke@...]
Sent: Friday, August 03, 2018 1:23 PM
To: Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>
Cc: users@...
Subject: Re: [Zephyr-users] MPU FAULT when starting BLE peripheral sample on nrf52840_pca10056

 

I fixed the issue by switching to the GNU ARM Embedded Toolchain downloaded here:

 



Am 03.08.2018 um 12:17 schrieb Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>:

 

On my linux machine now…

 

For the gcc I am using it is:

-L"/usr/lib/gcc/arm-none-eabi/8.2.0/thumb/v7e-m/nofp"

 

 

 

From: Finke Philipp (lesswire GmbH) [mailto:finke@...] 
Sent: Friday, August 03, 2018 12:15 PM
To: Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>
Cc: users@...
Subject: Re: [Zephyr-users] MPU FAULT when starting BLE peripheral sample on nrf52840_pca10056

 

Hey, 

 

thanks a lot so far. What are the correct gcc libs that should be used?

 




Am 03.08.2018 um 12:12 schrieb Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>:

 

Hey,

 

that’s the only reasonable line I found in the output.

 

-L"/Users/philippfinke/Documents/Git/zephyr/sdk/macos/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/7.3.0/thumb“




Mit freundlichen Grüßen / best regards,

Philipp Finke
Development Engineer
Contract Development 
lesswire GmbH | PRETTL Electronics GmbH 
 
lesswire GmbH 
Emmy-Noether-Strasse 2 
D-79110 Freiburg, Germany 
 
Phone +49 (0) 761 708 399-22 
E-Mail: finke@...


<Bildschirmfoto 2015-06-11 um 13.25.49.png><Bildschirmfoto 2015-06-11 um 13.11.24.png>





   www.lesswire.com              www.prettl-electronics.com
 
Sitz der GmbH: Rudower Chausse 30, D-12489 Berlin, Germany
Registergericht: Amtsgericht Berlin-Charlottenburg, HRB 164706 B
Geschäftsführer: Germar Rocco Mertsching, Christian Federspiel
EU-USt.ID: DE200593545




Am 03.08.2018 um 11:56 schrieb Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>:

 

Hi, 

Did you, "Look for the “-L … “ option supplied when compiling."???
What folder path do you have? Incorrect library supplied will cause the hardfault when div operations is performed.

-Vinayak 


From: Finke Philipp (lesswire GmbH) [mailto:finke@...] 
Sent: Friday, August 03, 2018 11:44 AM
To: Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>
Cc: users@...
Subject: Re: [Zephyr-users] MPU FAULT when starting BLE peripheral sample on nrf52840_pca10056

Hey, 

the output shows that armv7-m is given as architecture (-march=armv7e-m). It seems I’m using following compiler:

arm-zephyr-eabi-gcc (crosstool-NG 1.23.0.418-d590-dirty) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Mit freundlichen Grüßen / best regards,

Philipp Finke
Development Engineer
Contract Development 
lesswire GmbH | PRETTL Electronics GmbH 
 
lesswire GmbH 
Emmy-Noether-Strasse 2 
D-79110 Freiburg, Germany 
 
Phone +49 (0) 761 708 399-22 
E-Mail: mailto:finke@...







   http://www.lesswire.com              http://www.prettl-electronics.com
 
Sitz der GmbH: Rudower Chausse 30, D-12489 Berlin, Germany
Registergericht: Amtsgericht Berlin-Charlottenburg, HRB 164706 B
Geschäftsführer: Germar Rocco Mertsching, Christian Federspiel
EU-USt.ID: DE200593545 


Am 03.08.2018 um 11:30 schrieb Chettimada, Vinayak Kariappa <mailto:vinayak.kariappa.chettimada@...>:

Try: “ninja -v”
 
If using make, then, its “make VERBOSE=1”
 
Look for the “-L … “ option supplied when compiling.
 
You can join the IRC #zephyrproject channel at http://webchat.freenode.net/, if you need faster response.
 
Regards,
Vinayak
 
 
From: Finke Philipp (lesswire GmbH) [mailto:finke@...
Sent: Friday, August 03, 2018 11:22 AM
To: Chettimada, Vinayak Kariappa <mailto:vinayak.kariappa.chettimada@...>
Cc: mailto:users@...
Subject: Re: [Zephyr-users] MPU FAULT when starting BLE peripheral sample on nrf52840_pca10056
 
Hey Vinayak, 
 
how do I get these information? I’m using cmake with ninja as generator as recommended on the zephyr project page.
 
Mit freundlichen Grüßen / best regards,

Philipp Finke
Development Engineer
Contract Development 
lesswire GmbH | PRETTL Electronics GmbH 
 
lesswire GmbH 
Emmy-Noether-Strasse 2 
D-79110 Freiburg, Germany 
 
Phone +49 (0) 761 708 399-22 
E-Mail: mailto:finke@...

<image001.png><image002.png>





   http://www.lesswire.com/              http://www.prettl-electronics.com/
 
Sitz der GmbH: Rudower Chausse 30, D-12489 Berlin, Germany
Registergericht: Amtsgericht Berlin-Charlottenburg, HRB 164706 B
Geschäftsführer: Germar Rocco Mertsching, Christian Federspiel
EU-USt.ID: DE200593545 



Am 03.08.2018 um 11:15 schrieb Chettimada, Vinayak Kariappa <mailto:vinayak.kariappa.chettimada@...>:
 
Hi Phil,
 
Could you please build with verbose and check if correct gcc library for armv7e-m is compiled in (from the correct gcc revision).
 
Which version of GCC do you use?
 
 
Regards,
Vinayak
 
 
From: mailto:users@... [mailto:users@...] On Behalf Of Phil Hipp
Sent: Friday, August 03, 2018 11:05 AM
To: mailto:users@...
Subject: [Zephyr-users] MPU FAULT when starting BLE peripheral sample on nrf52840_pca10056
 
Hello,

I'm trying to run the BLE peripheral sample of the zephyr v1.12.0 branch on the NRF52840 PCA10056 DK. I built the sample under macOS 10.13.6 using the arm-zephyr-eabi toolchain built with sdk-ng on that machine.

Every time I start the board, I get following output on the console.
***** Booting Zephyr OS v1.12.0 *****
[bt] [INF] hci_vs_init: HW Platform: Nordic Semiconductor (0x0002)
[bt] [INF] hci_vs_init: HW Variant: nRF52x (0x0002)
[bt] [INF] hci_vs_init: Firmware: Standard Bluetooth controller (0x00) Version 1.12 Build 0
[bt] [WRN] bt_pub_key_gen: ECC HCI commands not available
Bluetooth initialized
[bt] [INF] bt_dev_show_info: Identity: e1:d5:6c:a1:a2:b3 (random)
[bt] [INF] bt_dev_show_info: HCI: version 5.0 (0x09) revision 0x0000, manufacturer 0x05f1
[bt] [INF] bt_dev_show_info: LMP: version 5.0 (0x09) subver 0xffff
***** MPU FAULT *****
  Executing thread ID (thread): 0x200003dc
  Faulting instruction address:  0x20000bd2
  Instruction Access Violation
Fatal fault in thread 0x200003dc! Aborting.
 
Advertising successfully started



It doesn't seem that Advertising has been started as promoted. I get the same or a similar issue with the other BLE samples, too.

Hope somebody may help me with this issue.

 

 


Re: MPU FAULT when starting BLE peripheral sample on nrf52840_pca10056

Bøe, Sebastian <Sebastian.Boe@...>
 

Hi, about the possible lib gcc toolchain issue.

Of the available gcc.a, I am using the one suffixed with '#' when
using the sdk. Note that it seems that this is different on your
machine.

./fpu/libgcc.a
./armv6-m/libgcc.a
./libgcc.a
./thumb/libgcc.a
./armv7-m/libgcc.a
./armv7e-m/fpu/libgcc.a
./armv7e-m/fpu/fpv5-sp-d16/libgcc.a
./armv7e-m/fpu/fpv5-d16/libgcc.a
./armv7e-m/libgcc.a ##################
./armv7e-m/softfp/libgcc.a
./armv7e-m/softfp/fpv5-sp-d16/libgcc.a
./armv7e-m/softfp/fpv5-d16/libgcc.a

And when using 'ZEPHYR_TOOLCHAIN_VARIANT=gccarmemb' I get:

./libgcc.a
./thumb/v7e-m/fpv4-sp/softfp/libgcc.a
./thumb/v7e-m/fpv4-sp/hard/libgcc.a
./thumb/v7e-m/libgcc.a ##############
./thumb/v7e-m/fpv5/softfp/libgcc.a
./thumb/v7e-m/fpv5/hard/libgcc.a
./thumb/libgcc.a
./thumb/v8-m.main/libgcc.a
./thumb/v8-m.main/fpv5/softfp/libgcc.a
./thumb/v8-m.main/fpv5/hard/libgcc.a
./thumb/v8-m.main/fpv5-sp/softfp/libgcc.a
./thumb/v8-m.main/fpv5-sp/hard/libgcc.a
./thumb/v6-m/libgcc.a
./thumb/v7-ar/fpv3/softfp/libgcc.a
./thumb/v7-ar/fpv3/hard/libgcc.a
./thumb/v7-ar/libgcc.a
./thumb/v8-m.base/libgcc.a
./thumb/v7-m/libgcc.a
./hard/libgcc.a


Relevant commands:

grep LOAD b/zephyr/zephyr.map
find . -name libgcc.a

AFAIK it is possible to use ZEPHYR_TOOLCHAIN_VARIANT=gccarmemb on mac.
I would recommend this over ZEPHYR_TOOLCHAIN_VARIANT=xtools.

From the docs:

"In case a toolchain is not available for the board you are using, you can build a toolchain from scratch using crosstool-NG. Follow the steps on the crosstool-NG website to prepare your host"
"http://docs.zephyrproject.org/getting_started/installation_mac.html#using-a-3rd-party-toolchain"


Re: MPU FAULT when starting BLE peripheral sample on nrf52840_pca10056

Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>
 

On my linux machine now…

 

For the gcc I am using it is:

-L"/usr/lib/gcc/arm-none-eabi/8.2.0/thumb/v7e-m/nofp"

 

 

 

From: Finke Philipp (lesswire GmbH) [mailto:finke@...]
Sent: Friday, August 03, 2018 12:15 PM
To: Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>
Cc: users@...
Subject: Re: [Zephyr-users] MPU FAULT when starting BLE peripheral sample on nrf52840_pca10056

 

Hey,

 

thanks a lot so far. What are the correct gcc libs that should be used?

 



Am 03.08.2018 um 12:12 schrieb Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>:

 

Hey,

 

that’s the only reasonable line I found in the output.

 

-L"/Users/philippfinke/Documents/Git/zephyr/sdk/macos/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/7.3.0/thumb“



Mit freundlichen Grüßen / best regards,

Philipp Finke
Development Engineer
Contract Development 
lesswire GmbH | PRETTL Electronics GmbH 
 
lesswire GmbH 
Emmy-Noether-Strasse 2 
D-79110 Freiburg, Germany 
 
Phone +49 (0) 761 708 399-22 
E-Mail: finke@...


<Bildschirmfoto 2015-06-11 um 13.25.49.png><Bildschirmfoto 2015-06-11 um 13.11.24.png>





   www.lesswire.com              www.prettl-electronics.com
 
Sitz der GmbH: Rudower Chausse 30, D-12489 Berlin, Germany
Registergericht: Amtsgericht Berlin-Charlottenburg, HRB 164706 B
Geschäftsführer: Germar Rocco Mertsching, Christian Federspiel
EU-USt.ID: DE200593545



Am 03.08.2018 um 11:56 schrieb Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>:

 

Hi, 

Did you, "Look for the “-L … “ option supplied when compiling."???
What folder path do you have? Incorrect library supplied will cause the hardfault when div operations is performed.

-Vinayak 


From: Finke Philipp (lesswire GmbH) [mailto:finke@...] 
Sent: Friday, August 03, 2018 11:44 AM
To: Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>
Cc: users@...
Subject: Re: [Zephyr-users] MPU FAULT when starting BLE peripheral sample on nrf52840_pca10056

Hey, 

the output shows that armv7-m is given as architecture (-march=armv7e-m). It seems I’m using following compiler:

arm-zephyr-eabi-gcc (crosstool-NG 1.23.0.418-d590-dirty) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Mit freundlichen Grüßen / best regards,

Philipp Finke
Development Engineer
Contract Development 
lesswire GmbH | PRETTL Electronics GmbH 
 
lesswire GmbH 
Emmy-Noether-Strasse 2 
D-79110 Freiburg, Germany 
 
Phone +49 (0) 761 708 399-22 
E-Mail: mailto:finke@...







   http://www.lesswire.com              http://www.prettl-electronics.com
 
Sitz der GmbH: Rudower Chausse 30, D-12489 Berlin, Germany
Registergericht: Amtsgericht Berlin-Charlottenburg, HRB 164706 B
Geschäftsführer: Germar Rocco Mertsching, Christian Federspiel
EU-USt.ID: DE200593545 


Am 03.08.2018 um 11:30 schrieb Chettimada, Vinayak Kariappa <mailto:vinayak.kariappa.chettimada@...>:

Try: “ninja -v”
 
If using make, then, its “make VERBOSE=1”
 
Look for the “-L … “ option supplied when compiling.
 
You can join the IRC #zephyrproject channel at http://webchat.freenode.net/, if you need faster response.
 
Regards,
Vinayak
 
 
From: Finke Philipp (lesswire GmbH) [mailto:finke@...
Sent: Friday, August 03, 2018 11:22 AM
To: Chettimada, Vinayak Kariappa <mailto:vinayak.kariappa.chettimada@...>
Cc: mailto:users@...
Subject: Re: [Zephyr-users] MPU FAULT when starting BLE peripheral sample on nrf52840_pca10056
 
Hey Vinayak, 
 
how do I get these information? I’m using cmake with ninja as generator as recommended on the zephyr project page.
 
Mit freundlichen Grüßen / best regards,

Philipp Finke
Development Engineer
Contract Development 
lesswire GmbH | PRETTL Electronics GmbH 
 
lesswire GmbH 
Emmy-Noether-Strasse 2 
D-79110 Freiburg, Germany 
 
Phone +49 (0) 761 708 399-22 
E-Mail: mailto:finke@...

<image001.png><image002.png>





   http://www.lesswire.com/              http://www.prettl-electronics.com/
 
Sitz der GmbH: Rudower Chausse 30, D-12489 Berlin, Germany
Registergericht: Amtsgericht Berlin-Charlottenburg, HRB 164706 B
Geschäftsführer: Germar Rocco Mertsching, Christian Federspiel
EU-USt.ID: DE200593545 



Am 03.08.2018 um 11:15 schrieb Chettimada, Vinayak Kariappa <mailto:vinayak.kariappa.chettimada@...>:
 
Hi Phil,
 
Could you please build with verbose and check if correct gcc library for armv7e-m is compiled in (from the correct gcc revision).
 
Which version of GCC do you use?
 
 
Regards,
Vinayak
 
 
From: mailto:users@... [mailto:users@...] On Behalf Of Phil Hipp
Sent: Friday, August 03, 2018 11:05 AM
To: mailto:users@...
Subject: [Zephyr-users] MPU FAULT when starting BLE peripheral sample on nrf52840_pca10056
 
Hello,

I'm trying to run the BLE peripheral sample of the zephyr v1.12.0 branch on the NRF52840 PCA10056 DK. I built the sample under macOS 10.13.6 using the arm-zephyr-eabi toolchain built with sdk-ng on that machine.

Every time I start the board, I get following output on the console.
***** Booting Zephyr OS v1.12.0 *****
[bt] [INF] hci_vs_init: HW Platform: Nordic Semiconductor (0x0002)
[bt] [INF] hci_vs_init: HW Variant: nRF52x (0x0002)
[bt] [INF] hci_vs_init: Firmware: Standard Bluetooth controller (0x00) Version 1.12 Build 0
[bt] [WRN] bt_pub_key_gen: ECC HCI commands not available
Bluetooth initialized
[bt] [INF] bt_dev_show_info: Identity: e1:d5:6c:a1:a2:b3 (random)
[bt] [INF] bt_dev_show_info: HCI: version 5.0 (0x09) revision 0x0000, manufacturer 0x05f1
[bt] [INF] bt_dev_show_info: LMP: version 5.0 (0x09) subver 0xffff
***** MPU FAULT *****
  Executing thread ID (thread): 0x200003dc
  Faulting instruction address:  0x20000bd2
  Instruction Access Violation
Fatal fault in thread 0x200003dc! Aborting.
 
Advertising successfully started



It doesn't seem that Advertising has been started as promoted. I get the same or a similar issue with the other BLE samples, too.

Hope somebody may help me with this issue.

 

 


Re: MPU FAULT when starting BLE peripheral sample on nrf52840_pca10056

Phil Hipp
 

I fixed the issue by switching to the GNU ARM Embedded Toolchain downloaded here:


Am 03.08.2018 um 12:17 schrieb Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>:

On my linux machine now…
 
For the gcc I am using it is:
-L"/usr/lib/gcc/arm-none-eabi/8.2.0/thumb/v7e-m/nofp"
 
 
 
From: Finke Philipp (lesswire GmbH) [mailto:finke@...] 
Sent: Friday, August 03, 2018 12:15 PM
To: Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>
Cc: users@...
Subject: Re: [Zephyr-users] MPU FAULT when starting BLE peripheral sample on nrf52840_pca10056
 
Hey, 
 
thanks a lot so far. What are the correct gcc libs that should be used?
 


Am 03.08.2018 um 12:12 schrieb Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>:
 
Hey,
 
that’s the only reasonable line I found in the output.
 
-L"/Users/philippfinke/Documents/Git/zephyr/sdk/macos/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/7.3.0/thumb“


Mit freundlichen Grüßen / best regards,

Philipp Finke
Development Engineer
Contract Development 
lesswire GmbH | PRETTL Electronics GmbH 
 
lesswire GmbH 
Emmy-Noether-Strasse 2 
D-79110 Freiburg, Germany 
 
Phone +49 (0) 761 708 399-22 
E-Mail: finke@...


<Bildschirmfoto 2015-06-11 um 13.25.49.png><Bildschirmfoto 2015-06-11 um 13.11.24.png>





   www.lesswire.com              www.prettl-electronics.com
 
Sitz der GmbH: Rudower Chausse 30, D-12489 Berlin, Germany
Registergericht: Amtsgericht Berlin-Charlottenburg, HRB 164706 B
Geschäftsführer: Germar Rocco Mertsching, Christian Federspiel
EU-USt.ID: DE200593545


Am 03.08.2018 um 11:56 schrieb Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>:
 
Hi, 

Did you, "Look for the “-L … “ option supplied when compiling."???
What folder path do you have? Incorrect library supplied will cause the hardfault when div operations is performed.

-Vinayak 


From: Finke Philipp (lesswire GmbH) [mailto:finke@...] 
Sent: Friday, August 03, 2018 11:44 AM
To: Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>
Cc: users@...
Subject: Re: [Zephyr-users] MPU FAULT when starting BLE peripheral sample on nrf52840_pca10056

Hey, 

the output shows that armv7-m is given as architecture (-march=armv7e-m). It seems I’m using following compiler:

arm-zephyr-eabi-gcc (crosstool-NG 1.23.0.418-d590-dirty) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Mit freundlichen Grüßen / best regards,

Philipp Finke
Development Engineer
Contract Development 
lesswire GmbH | PRETTL Electronics GmbH 
 
lesswire GmbH 
Emmy-Noether-Strasse 2 
D-79110 Freiburg, Germany 
 
Phone +49 (0) 761 708 399-22 
E-Mail: mailto:finke@...







   http://www.lesswire.com              http://www.prettl-electronics.com
 
Sitz der GmbH: Rudower Chausse 30, D-12489 Berlin, Germany
Registergericht: Amtsgericht Berlin-Charlottenburg, HRB 164706 B
Geschäftsführer: Germar Rocco Mertsching, Christian Federspiel
EU-USt.ID: DE200593545 


Am 03.08.2018 um 11:30 schrieb Chettimada, Vinayak Kariappa <mailto:vinayak.kariappa.chettimada@...>:

Try: “ninja -v”
 
If using make, then, its “make VERBOSE=1”
 
Look for the “-L … “ option supplied when compiling.
 
You can join the IRC #zephyrproject channel at http://webchat.freenode.net/, if you need faster response.
 
Regards,
Vinayak
 
 
From: Finke Philipp (lesswire GmbH) [mailto:finke@...
Sent: Friday, August 03, 2018 11:22 AM
To: Chettimada, Vinayak Kariappa <mailto:vinayak.kariappa.chettimada@...>
Cc: mailto:users@...
Subject: Re: [Zephyr-users] MPU FAULT when starting BLE peripheral sample on nrf52840_pca10056
 
Hey Vinayak, 
 
how do I get these information? I’m using cmake with ninja as generator as recommended on the zephyr project page.
 
Mit freundlichen Grüßen / best regards,

Philipp Finke
Development Engineer
Contract Development 
lesswire GmbH | PRETTL Electronics GmbH 
 
lesswire GmbH 
Emmy-Noether-Strasse 2 
D-79110 Freiburg, Germany 
 
Phone +49 (0) 761 708 399-22 
E-Mail: mailto:finke@...

<image001.png><image002.png>





   http://www.lesswire.com/              http://www.prettl-electronics.com/
 
Sitz der GmbH: Rudower Chausse 30, D-12489 Berlin, Germany
Registergericht: Amtsgericht Berlin-Charlottenburg, HRB 164706 B
Geschäftsführer: Germar Rocco Mertsching, Christian Federspiel
EU-USt.ID: DE200593545 



Am 03.08.2018 um 11:15 schrieb Chettimada, Vinayak Kariappa <mailto:vinayak.kariappa.chettimada@...>:
 
Hi Phil,
 
Could you please build with verbose and check if correct gcc library for armv7e-m is compiled in (from the correct gcc revision).
 
Which version of GCC do you use?
 
 
Regards,
Vinayak
 
 
From: mailto:users@... [mailto:users@...] On Behalf Of Phil Hipp
Sent: Friday, August 03, 2018 11:05 AM
To: mailto:users@...
Subject: [Zephyr-users] MPU FAULT when starting BLE peripheral sample on nrf52840_pca10056
 
Hello,

I'm trying to run the BLE peripheral sample of the zephyr v1.12.0 branch on the NRF52840 PCA10056 DK. I built the sample under macOS 10.13.6 using the arm-zephyr-eabi toolchain built with sdk-ng on that machine.

Every time I start the board, I get following output on the console.
***** Booting Zephyr OS v1.12.0 *****
[bt] [INF] hci_vs_init: HW Platform: Nordic Semiconductor (0x0002)
[bt] [INF] hci_vs_init: HW Variant: nRF52x (0x0002)
[bt] [INF] hci_vs_init: Firmware: Standard Bluetooth controller (0x00) Version 1.12 Build 0
[bt] [WRN] bt_pub_key_gen: ECC HCI commands not available
Bluetooth initialized
[bt] [INF] bt_dev_show_info: Identity: e1:d5:6c:a1:a2:b3 (random)
[bt] [INF] bt_dev_show_info: HCI: version 5.0 (0x09) revision 0x0000, manufacturer 0x05f1
[bt] [INF] bt_dev_show_info: LMP: version 5.0 (0x09) subver 0xffff
***** MPU FAULT *****
  Executing thread ID (thread): 0x200003dc
  Faulting instruction address:  0x20000bd2
  Instruction Access Violation
Fatal fault in thread 0x200003dc! Aborting.
 
Advertising successfully started



It doesn't seem that Advertising has been started as promoted. I get the same or a similar issue with the other BLE samples, too.

Hope somebody may help me with this issue.
 


Re: MPU FAULT when starting BLE peripheral sample on nrf52840_pca10056

Phil Hipp
 

Hey,

thanks a lot so far. What are the correct gcc libs that should be used?


Am 03.08.2018 um 12:12 schrieb Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>:

Hey,

that’s the only reasonable line I found in the output.

-L"/Users/philippfinke/Documents/Git/zephyr/sdk/macos/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/7.3.0/thumb“

Mit freundlichen Grüßen / best regards,

Philipp Finke
Development Engineer
Contract Development 
lesswire GmbH | PRETTL Electronics GmbH 
 
lesswire GmbH 
Emmy-Noether-Strasse 2 
D-79110 Freiburg, Germany 
 
Phone +49 (0) 761 708 399-22 
E-Mail: finke@...


<Bildschirmfoto 2015-06-11 um 13.25.49.png><Bildschirmfoto 2015-06-11 um 13.11.24.png>





   www.lesswire.com              www.prettl-electronics.com
 
Sitz der GmbH: Rudower Chausse 30, D-12489 Berlin, Germany
Registergericht: Amtsgericht Berlin-Charlottenburg, HRB 164706 B
Geschäftsführer: Germar Rocco Mertsching, Christian Federspiel
EU-USt.ID: DE200593545

Am 03.08.2018 um 11:56 schrieb Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>:

Hi, 

Did you, "Look for the “-L … “ option supplied when compiling."???
What folder path do you have? Incorrect library supplied will cause the hardfault when div operations is performed.

-Vinayak 


From: Finke Philipp (lesswire GmbH) [mailto:finke@...] 
Sent: Friday, August 03, 2018 11:44 AM
To: Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>
Cc: users@...
Subject: Re: [Zephyr-users] MPU FAULT when starting BLE peripheral sample on nrf52840_pca10056

Hey, 

the output shows that armv7-m is given as architecture (-march=armv7e-m). It seems I’m using following compiler:

arm-zephyr-eabi-gcc (crosstool-NG 1.23.0.418-d590-dirty) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Mit freundlichen Grüßen / best regards,

Philipp Finke
Development Engineer
Contract Development 
lesswire GmbH | PRETTL Electronics GmbH 
 
lesswire GmbH 
Emmy-Noether-Strasse 2 
D-79110 Freiburg, Germany 
 
Phone +49 (0) 761 708 399-22 
E-Mail: mailto:finke@...







   http://www.lesswire.com              http://www.prettl-electronics.com
 
Sitz der GmbH: Rudower Chausse 30, D-12489 Berlin, Germany
Registergericht: Amtsgericht Berlin-Charlottenburg, HRB 164706 B
Geschäftsführer: Germar Rocco Mertsching, Christian Federspiel
EU-USt.ID: DE200593545 


Am 03.08.2018 um 11:30 schrieb Chettimada, Vinayak Kariappa <mailto:vinayak.kariappa.chettimada@...>:

Try: “ninja -v”
 
If using make, then, its “make VERBOSE=1”
 
Look for the “-L … “ option supplied when compiling.
 
You can join the IRC #zephyrproject channel at http://webchat.freenode.net/, if you need faster response.
 
Regards,
Vinayak
 
 
From: Finke Philipp (lesswire GmbH) [mailto:finke@...
Sent: Friday, August 03, 2018 11:22 AM
To: Chettimada, Vinayak Kariappa <mailto:vinayak.kariappa.chettimada@...>
Cc: mailto:users@...
Subject: Re: [Zephyr-users] MPU FAULT when starting BLE peripheral sample on nrf52840_pca10056
 
Hey Vinayak, 
 
how do I get these information? I’m using cmake with ninja as generator as recommended on the zephyr project page.
 
Mit freundlichen Grüßen / best regards,

Philipp Finke
Development Engineer
Contract Development 
lesswire GmbH | PRETTL Electronics GmbH 
 
lesswire GmbH 
Emmy-Noether-Strasse 2 
D-79110 Freiburg, Germany 
 
Phone +49 (0) 761 708 399-22 
E-Mail: mailto:finke@...

<image001.png><image002.png>





   http://www.lesswire.com/              http://www.prettl-electronics.com/
 
Sitz der GmbH: Rudower Chausse 30, D-12489 Berlin, Germany
Registergericht: Amtsgericht Berlin-Charlottenburg, HRB 164706 B
Geschäftsführer: Germar Rocco Mertsching, Christian Federspiel
EU-USt.ID: DE200593545 



Am 03.08.2018 um 11:15 schrieb Chettimada, Vinayak Kariappa <mailto:vinayak.kariappa.chettimada@...>:
 
Hi Phil,
 
Could you please build with verbose and check if correct gcc library for armv7e-m is compiled in (from the correct gcc revision).
 
Which version of GCC do you use?
 
 
Regards,
Vinayak
 
 
From: mailto:users@... [mailto:users@...] On Behalf Of Phil Hipp
Sent: Friday, August 03, 2018 11:05 AM
To: mailto:users@...
Subject: [Zephyr-users] MPU FAULT when starting BLE peripheral sample on nrf52840_pca10056
 
Hello,

I'm trying to run the BLE peripheral sample of the zephyr v1.12.0 branch on the NRF52840 PCA10056 DK. I built the sample under macOS 10.13.6 using the arm-zephyr-eabi toolchain built with sdk-ng on that machine.

Every time I start the board, I get following output on the console.
***** Booting Zephyr OS v1.12.0 *****
[bt] [INF] hci_vs_init: HW Platform: Nordic Semiconductor (0x0002)
[bt] [INF] hci_vs_init: HW Variant: nRF52x (0x0002)
[bt] [INF] hci_vs_init: Firmware: Standard Bluetooth controller (0x00) Version 1.12 Build 0
[bt] [WRN] bt_pub_key_gen: ECC HCI commands not available
Bluetooth initialized
[bt] [INF] bt_dev_show_info: Identity: e1:d5:6c:a1:a2:b3 (random)
[bt] [INF] bt_dev_show_info: HCI: version 5.0 (0x09) revision 0x0000, manufacturer 0x05f1
[bt] [INF] bt_dev_show_info: LMP: version 5.0 (0x09) subver 0xffff
***** MPU FAULT *****
  Executing thread ID (thread): 0x200003dc
  Faulting instruction address:  0x20000bd2
  Instruction Access Violation
Fatal fault in thread 0x200003dc! Aborting.
 
Advertising successfully started



It doesn't seem that Advertising has been started as promoted. I get the same or a similar issue with the other BLE samples, too.

Hope somebody may help me with this issue.



Re: MPU FAULT when starting BLE peripheral sample on nrf52840_pca10056

Phil Hipp
 

Hey,

that’s the only reasonable line I found in the output.

-L"/Users/philippfinke/Documents/Git/zephyr/sdk/macos/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/7.3.0/thumb“

Mit freundlichen Grüßen / best regards,

Philipp Finke
Development Engineer
Contract Development 
lesswire GmbH | PRETTL Electronics GmbH 
 
lesswire GmbH 
Emmy-Noether-Strasse 2 
D-79110 Freiburg, Germany 
 
Phone +49 (0) 761 708 399-22 
E-Mail: finke@...








   www.lesswire.com              www.prettl-electronics.com
 
Sitz der GmbH: Rudower Chausse 30, D-12489 Berlin, Germany
Registergericht: Amtsgericht Berlin-Charlottenburg, HRB 164706 B
Geschäftsführer: Germar Rocco Mertsching, Christian Federspiel
EU-USt.ID: DE200593545

Am 03.08.2018 um 11:56 schrieb Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>:

Hi, 

Did you, "Look for the “-L … “ option supplied when compiling."???
What folder path do you have? Incorrect library supplied will cause the hardfault when div operations is performed.

-Vinayak 


From: Finke Philipp (lesswire GmbH) [mailto:finke@...] 
Sent: Friday, August 03, 2018 11:44 AM
To: Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>
Cc: users@...
Subject: Re: [Zephyr-users] MPU FAULT when starting BLE peripheral sample on nrf52840_pca10056

Hey, 

the output shows that armv7-m is given as architecture (-march=armv7e-m). It seems I’m using following compiler:

arm-zephyr-eabi-gcc (crosstool-NG 1.23.0.418-d590-dirty) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Mit freundlichen Grüßen / best regards,

Philipp Finke
Development Engineer
Contract Development 
lesswire GmbH | PRETTL Electronics GmbH 
 
lesswire GmbH 
Emmy-Noether-Strasse 2 
D-79110 Freiburg, Germany 
 
Phone +49 (0) 761 708 399-22 
E-Mail: mailto:finke@...







   http://www.lesswire.com              http://www.prettl-electronics.com
 
Sitz der GmbH: Rudower Chausse 30, D-12489 Berlin, Germany
Registergericht: Amtsgericht Berlin-Charlottenburg, HRB 164706 B
Geschäftsführer: Germar Rocco Mertsching, Christian Federspiel
EU-USt.ID: DE200593545 


Am 03.08.2018 um 11:30 schrieb Chettimada, Vinayak Kariappa <mailto:vinayak.kariappa.chettimada@...>:

Try: “ninja -v”
 
If using make, then, its “make VERBOSE=1”
 
Look for the “-L … “ option supplied when compiling.
 
You can join the IRC #zephyrproject channel at http://webchat.freenode.net/, if you need faster response.
 
Regards,
Vinayak
 
 
From: Finke Philipp (lesswire GmbH) [mailto:finke@...
Sent: Friday, August 03, 2018 11:22 AM
To: Chettimada, Vinayak Kariappa <mailto:vinayak.kariappa.chettimada@...>
Cc: mailto:users@...
Subject: Re: [Zephyr-users] MPU FAULT when starting BLE peripheral sample on nrf52840_pca10056
 
Hey Vinayak, 
 
how do I get these information? I’m using cmake with ninja as generator as recommended on the zephyr project page.
 
Mit freundlichen Grüßen / best regards,

Philipp Finke
Development Engineer
Contract Development 
lesswire GmbH | PRETTL Electronics GmbH 
 
lesswire GmbH 
Emmy-Noether-Strasse 2 
D-79110 Freiburg, Germany 
 
Phone +49 (0) 761 708 399-22 
E-Mail: mailto:finke@...

<image001.png><image002.png>





   http://www.lesswire.com/              http://www.prettl-electronics.com/
 
Sitz der GmbH: Rudower Chausse 30, D-12489 Berlin, Germany
Registergericht: Amtsgericht Berlin-Charlottenburg, HRB 164706 B
Geschäftsführer: Germar Rocco Mertsching, Christian Federspiel
EU-USt.ID: DE200593545 



Am 03.08.2018 um 11:15 schrieb Chettimada, Vinayak Kariappa <mailto:vinayak.kariappa.chettimada@...>:
 
Hi Phil,
 
Could you please build with verbose and check if correct gcc library for armv7e-m is compiled in (from the correct gcc revision).
 
Which version of GCC do you use?
 
 
Regards,
Vinayak
 
 
From: mailto:users@... [mailto:users@...] On Behalf Of Phil Hipp
Sent: Friday, August 03, 2018 11:05 AM
To: mailto:users@...
Subject: [Zephyr-users] MPU FAULT when starting BLE peripheral sample on nrf52840_pca10056
 
Hello,

I'm trying to run the BLE peripheral sample of the zephyr v1.12.0 branch on the NRF52840 PCA10056 DK. I built the sample under macOS 10.13.6 using the arm-zephyr-eabi toolchain built with sdk-ng on that machine.

Every time I start the board, I get following output on the console.
***** Booting Zephyr OS v1.12.0 *****
[bt] [INF] hci_vs_init: HW Platform: Nordic Semiconductor (0x0002)
[bt] [INF] hci_vs_init: HW Variant: nRF52x (0x0002)
[bt] [INF] hci_vs_init: Firmware: Standard Bluetooth controller (0x00) Version 1.12 Build 0
[bt] [WRN] bt_pub_key_gen: ECC HCI commands not available
Bluetooth initialized
[bt] [INF] bt_dev_show_info: Identity: e1:d5:6c:a1:a2:b3 (random)
[bt] [INF] bt_dev_show_info: HCI: version 5.0 (0x09) revision 0x0000, manufacturer 0x05f1
[bt] [INF] bt_dev_show_info: LMP: version 5.0 (0x09) subver 0xffff
***** MPU FAULT *****
  Executing thread ID (thread): 0x200003dc
  Faulting instruction address:  0x20000bd2
  Instruction Access Violation
Fatal fault in thread 0x200003dc! Aborting.
 
Advertising successfully started



It doesn't seem that Advertising has been started as promoted. I get the same or a similar issue with the other BLE samples, too.

Hope somebody may help me with this issue.


Re: MPU FAULT when starting BLE peripheral sample on nrf52840_pca10056

Phil Hipp
 

Hey,

the output shows that armv7-m is given as architecture (-march=armv7e-m). It seems I’m using following compiler:

arm-zephyr-eabi-gcc (crosstool-NG 1.23.0.418-d590-dirty) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Mit freundlichen Grüßen / best regards,

Philipp Finke
Development Engineer
Contract Development 
lesswire GmbH | PRETTL Electronics GmbH 
 
lesswire GmbH 
Emmy-Noether-Strasse 2 
D-79110 Freiburg, Germany 
 
Phone +49 (0) 761 708 399-22 
E-Mail: finke@...








   www.lesswire.com              www.prettl-electronics.com
 
Sitz der GmbH: Rudower Chausse 30, D-12489 Berlin, Germany
Registergericht: Amtsgericht Berlin-Charlottenburg, HRB 164706 B
Geschäftsführer: Germar Rocco Mertsching, Christian Federspiel
EU-USt.ID: DE200593545

Am 03.08.2018 um 11:30 schrieb Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>:

Try: ninja -v
 
If using make, then, its “make VERBOSE=1”
 
Look for the “-L … “ option supplied when compiling.
 
You can join the IRC #zephyrproject channel at webchat.freenode.net, if you need faster response.
 
Regards,
Vinayak
 
 
From: Finke Philipp (lesswire GmbH) [mailto:finke@...] 
Sent: Friday, August 03, 2018 11:22 AM
To: Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>
Cc: users@...
Subject: Re: [Zephyr-users] MPU FAULT when starting BLE peripheral sample on nrf52840_pca10056
 
Hey Vinayak, 
 
how do I get these information? I’m using cmake with ninja as generator as recommended on the zephyr project page.
 

Mit freundlichen Grüßen / best regards,

Philipp Finke
Development Engineer
Contract Development 
lesswire GmbH | PRETTL Electronics GmbH 
 
lesswire GmbH 
Emmy-Noether-Strasse 2 
D-79110 Freiburg, Germany 
 
Phone +49 (0) 761 708 399-22 
E-Mail: finke@...


<image001.png><image002.png>





   www.lesswire.com              www.prettl-electronics.com
 
Sitz der GmbH: Rudower Chausse 30, D-12489 Berlin, Germany
Registergericht: Amtsgericht Berlin-Charlottenburg, HRB 164706 B
Geschäftsführer: Germar Rocco Mertsching, Christian Federspiel
EU-USt.ID: DE200593545 


Am 03.08.2018 um 11:15 schrieb Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>:
 
Hi Phil,
 
Could you please build with verbose and check if correct gcc library for armv7e-m is compiled in (from the correct gcc revision).
 
Which version of GCC do you use?
 
 
Regards,
Vinayak
 
 
From: users@... [mailto:users@...] On Behalf Of Phil Hipp
Sent: Friday, August 03, 2018 11:05 AM
To: users@...
Subject: [Zephyr-users] MPU FAULT when starting BLE peripheral sample on nrf52840_pca10056
 
Hello,

I'm trying to run the BLE peripheral sample of the zephyr v1.12.0 branch on the NRF52840 PCA10056 DK. I built the sample under macOS 10.13.6 using the arm-zephyr-eabi toolchain built with sdk-ng on that machine.

Every time I start the board, I get following output on the console.
***** Booting Zephyr OS v1.12.0 *****
[bt] [INF] hci_vs_init: HW Platform: Nordic Semiconductor (0x0002)
[bt] [INF] hci_vs_init: HW Variant: nRF52x (0x0002)
[bt] [INF] hci_vs_init: Firmware: Standard Bluetooth controller (0x00) Version 1.12 Build 0
[bt] [WRN] bt_pub_key_gen: ECC HCI commands not available
Bluetooth initialized
[bt] [INF] bt_dev_show_info: Identity: e1:d5:6c:a1:a2:b3 (random)
[bt] [INF] bt_dev_show_info: HCI: version 5.0 (0x09) revision 0x0000, manufacturer 0x05f1
[bt] [INF] bt_dev_show_info: LMP: version 5.0 (0x09) subver 0xffff
***** MPU FAULT *****
  Executing thread ID (thread): 0x200003dc
  Faulting instruction address:  0x20000bd2
  Instruction Access Violation
Fatal fault in thread 0x200003dc! Aborting.
 

Advertising successfully started


It doesn't seem that Advertising has been started as promoted. I get the same or a similar issue with the other BLE samples, too.

Hope somebody may help me with this issue.
 


Re: MPU FAULT when starting BLE peripheral sample on nrf52840_pca10056

Phil Hipp
 

Hey Vinayak,

how do I get these information? I’m using cmake with ninja as generator as recommended on the zephyr project page.

Mit freundlichen Grüßen / best regards,

Philipp Finke
Development Engineer
Contract Development 
lesswire GmbH | PRETTL Electronics GmbH 
 
lesswire GmbH 
Emmy-Noether-Strasse 2 
D-79110 Freiburg, Germany 
 
Phone +49 (0) 761 708 399-22 
E-Mail: finke@...








   www.lesswire.com              www.prettl-electronics.com
 
Sitz der GmbH: Rudower Chausse 30, D-12489 Berlin, Germany
Registergericht: Amtsgericht Berlin-Charlottenburg, HRB 164706 B
Geschäftsführer: Germar Rocco Mertsching, Christian Federspiel
EU-USt.ID: DE200593545

Am 03.08.2018 um 11:15 schrieb Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>:

Hi Phil,
 
Could you please build with verbose and check if correct gcc library for armv7e-m is compiled in (from the correct gcc revision).
 
Which version of GCC do you use?
 
 
Regards,
Vinayak
 
 
From: users@... [mailto:users@...] On Behalf Of Phil Hipp
Sent: Friday, August 03, 2018 11:05 AM
To: users@...
Subject: [Zephyr-users] MPU FAULT when starting BLE peripheral sample on nrf52840_pca10056
 

Hello,

I'm trying to run the BLE peripheral sample of the zephyr v1.12.0 branch on the NRF52840 PCA10056 DK. I built the sample under macOS 10.13.6 using the arm-zephyr-eabi toolchain built with sdk-ng on that machine.

Every time I start the board, I get following output on the console.

***** Booting Zephyr OS v1.12.0 *****

[bt] [INF] hci_vs_init: HW Platform: Nordic Semiconductor (0x0002)

[bt] [INF] hci_vs_init: HW Variant: nRF52x (0x0002)

[bt] [INF] hci_vs_init: Firmware: Standard Bluetooth controller (0x00) Version 1.12 Build 0

[bt] [WRN] bt_pub_key_gen: ECC HCI commands not available

Bluetooth initialized

[bt] [INF] bt_dev_show_info: Identity: e1:d5:6c:a1:a2:b3 (random)

[bt] [INF] bt_dev_show_info: HCI: version 5.0 (0x09) revision 0x0000, manufacturer 0x05f1

[bt] [INF] bt_dev_show_info: LMP: version 5.0 (0x09) subver 0xffff

***** MPU FAULT *****

  Executing thread ID (thread): 0x200003dc

  Faulting instruction address:  0x20000bd2

  Instruction Access Violation

Fatal fault in thread 0x200003dc! Aborting.

 

Advertising successfully started

It doesn't seem that Advertising has been started as promoted. I get the same or a similar issue with the other BLE samples, too.

Hope somebody may help me with this issue.


1681 - 1700 of 2712