Date   

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@...]
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@...>
 

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.



MPU FAULT when starting BLE peripheral sample on nrf52840_pca10056

Phil Hipp
 

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: native_posix on Windows?

Amir Gonnen
 

I did some progress but the issue is not resolved.
The issues I've seen were:
  • Windows newline format 
  • In Linux gcc creates ELF image, while on windows gcc creates COFF image. Zephyr explicitly assumes ELF format in several places (in gen_offset_header.py for example).
  • On COFF inline assembly looks a little different, for example the usage of .scl, .type etc. (inline asm in gcc.h)
  • COFF format automatically adds underscore to symbols. Some symbols are defined in ldscript and referred to in the sources. Either an underscore needs to be removed from the sources or added to the ldscript.
  • __in_section_unique passes __FILE__ to the section declaration which makes the assembly code invalid (it doesn't like a name built from quoted path)
After working around all the above issues I got to the point where build completes successfully and creates an executable image (Yay!).
Unfortunately it does not run, Windows claims this is not a valid executable. Something probably still needs to be changed on the ldscript to make it a valid PE image, I'm not sure what.

Unless anyone has some inputs, I'm going to stop this effort for now.
Just for the reference I'm attaching a patch with my workarounds.

Amir


Re: [Zephyr-devel] HCI Interface UART//USB

kavin.muthusamy@wipro.com <kavin.muthusamy@...>
 

Hi Vinayak,


Is it possible for you to take it remotely and check the issue ?


Regards,
Kavin Kumar
Mobile: 9994889187


From: Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>
Sent: Thursday, August 2, 2018 12:44:34 PM
To: Kavin Kumar Periyana Gounder Muthusamy (Product Engineering Service); users@...
Subject: RE: [Zephyr-devel] HCI Interface UART//USB
 

** This mail has been sent from an external source. Treat hyperlinks and attachments in this email with caution**

Hi,

 

You will need to check for already installed tools revision and your linux distribution version. I am clueless on the issues you are facing.

 

Zephyr kbuild is not very different from compiling a Linux kernel. If it helps, in the video I cross compile zephyr with natively installed tools. (tho the old video is on Mac OS using brew, I also use the same command line on linux distributions too)

https://youtu.be/H-rUGKCln0A?t=116

 

Regards,

Vinayak

 

 

From: kavin.muthusamy@... [mailto:kavin.muthusamy@...]
Sent: Thursday, August 02, 2018 8:56 AM
To: Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>; users@...
Cc: devel@...; Smith, Miles Louis <miles.smith@...>
Subject: Re: [Zephyr-devel] HCI Interface UART//USB

 

Hi Vinayak,

 

I have followed the below link to update SDN version and executed same comments .

 

Then i tried to run the make command , this time error didn't occur but it got stuck .

 

Please find the attached screen shot .

 

Regards,
Kavin Kumar
Mobile: 9994889187


From: Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>
Sent: Wednesday, August 1, 2018 5:25:45 PM
To: Kavin Kumar Periyana Gounder Muthusamy (Product Engineering Service); users@...
Cc: devel@...; Smith, Miles Louis
Subject: RE: [Zephyr-devel] HCI Interface UART//USB

 

** This mail has been sent from an external source. Treat hyperlinks and attachments in this email with caution**

Could you please refer to http://docs.zephyrproject.org/1.9.0/getting_started/installation_linux.html

docs.zephyrproject.org

Development Environment Setup on Linux¶. This section describes how to set up a Linux development system. After completing these steps, you will be able to compile and run your Zephyr applications on the following Linux distributions:

 

If you still face issues, please let me know.

 

You can use native linux toolchain, but its lot more environment variables to set… as you see in your error, which is already verbose indicating the missing environ variable.

 

Regards,

Vinayak

 

From: kavin.muthusamy@... [mailto:kavin.muthusamy@...]
Sent: Wednesday, August 01, 2018 1:36 PM
To: Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>; users@...
Cc: devel@...; Smith, Miles Louis <miles.smith@...>
Subject: Re: [Zephyr-devel] HCI Interface UART//USB

 

Hi Vinayak,

 

I have tried the command below but sub-make failed error occurred.

 

Regards,
Kavin Kumar
Mobile: 9994889187


From: Kavin Kumar Periyana Gounder Muthusamy (Product Engineering Service)
Sent: Wednesday, August 1, 2018 4:43:20 PM
To: Chettimada, Vinayak Kariappa; users@...
Cc: devel@...; Smith, Miles Louis
Subject: Re: [Zephyr-devel] HCI Interface UART//USB

 

Hi Vinayak,

 

Thanks for the update . I am using version 1.9.2 .

 

I will check and let you know the status.

 

Regards,
Kavin Kumar
Mobile: 9994889187


From: Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>
Sent: Wednesday, August 1, 2018 4:39:56 PM
To: Kavin Kumar Periyana Gounder Muthusamy (Product Engineering Service); users@...
Cc: devel@...; Smith, Miles Louis
Subject: RE: [Zephyr-devel] HCI Interface UART//USB

 

** This mail has been sent from an external source. Treat hyperlinks and attachments in this email with caution**

Hi Kavin,

 

Depending on the Zephyr release you are using, pre v1.10 releases used KBuild and Post use cmake.

 

You will need to use the documentation for that release.

 

If you are on the v.1.9, please try to set the ZEPHYR_BASE environment variable to your zephyr repo root folder.

 

Or

 

make ZEPHYR_BASE=<zephyr repo> BOARD=<board> CONF_FILE=<config_file>

 

 

Regards,

Vinayak

 

 

From: kavin.muthusamy@... [mailto:kavin.muthusamy@...]
Sent: Wednesday, August 01, 2018 12:54 PM
To: Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>; users@...
Cc: devel@...; Smith, Miles Louis <miles.smith@...>
Subject: Re: [Zephyr-devel] HCI Interface UART//USB

 

Hi Vinayak,

 

I have followed all the steps as per white paper to flash nRF52840 and got stuck with step4 where i am unable to build the application . Facing issue with make command .

 

Kindly help on this issue to proceed further .

 

Please find the attached screen shot for reference.

 

Regards,
Kavin Kumar
Mobile: 9994889187


From: Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>
Sent: Monday, July 30, 2018 12:51:54 PM
To: Chettimada, Vinayak Kariappa; Kavin Kumar Periyana Gounder Muthusamy (Product Engineering Service); users@...
Cc: devel@...; Smith, Miles Louis
Subject: RE: [Zephyr-devel] HCI Interface UART//USB

 

** This mail has been sent from an external source. Treat hyperlinks and attachments in this email with caution**

Hi Kavin,

 

There is a white paper which gives a short overview of the Zephyr project, describes in what cases you should consider using the Zephyr Bluetooth LE Controller instead of one of Nordic Semiconductor's SoftDevices, and explains how to build and program this Controller on nRF5 ICs.

 

It can be found here: http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.whitepapers%2Fdita%2Fwhitepapers%2Fnwp_029%2Fintro.html&cp=11_2

Or

http://infocenter.nordicsemi.com/pdf/nwp_029.pdf

 

 

If you are not receiving my emails, I am not sure how I can reach you.

 

Regards,

Vinayak

 

 

From: devel@... [mailto:devel@...] On Behalf Of Chettimada, Vinayak Kariappa
Sent: Monday, July 30, 2018 9:13 AM
To: kavin.muthusamy@...; users@...
Cc: devel@...
Subject: Re: [Zephyr-devel] HCI Interface UART//USB

 

Did you receive? ... https://lists.zephyrproject.org/g/users/message/991

 

 

From: devel@... [mailto:devel@...] On Behalf Of kavin.muthusamy@...
Sent: Monday, July 30, 2018 6:17 AM
To: users@...
Cc: devel@...
Subject: Re: [Zephyr-devel] HCI Interface UART//USB

 

Kindly waiting for your update. Please Prioritize this issue.

 

Regards,
Kavin Kumar
Mobile: 9994889187


From: Kavin Kumar Periyana Gounder Muthusamy (Product Engineering Service)
Sent: Friday, July 27, 2018 9:13:26 AM
To: users@...
Cc: devel@...
Subject: HCI Interface UART//USB

 

Hello Team,

 

We have bought nRF52840 and nRF52 DK boards for BLE v5.0 testing with ellisys tester . Comport it is taking as ACM0 but HCI reset is failing in the IUT . As per the comment from nordic team HCI interface is not there in these boards. So how to install hex file from zephyrproject (samples/bluetooth/hci_uart sample for HCI over UART). I am unable to download this .Please help on this to proceed further .

 

Regards,
Kavin Kumar
Mobile: 9994889187

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com


Re: [Zephyr-devel] HCI Interface UART//USB

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

Hi,

 

You will need to check for already installed tools revision and your linux distribution version. I am clueless on the issues you are facing.

 

Zephyr kbuild is not very different from compiling a Linux kernel. If it helps, in the video I cross compile zephyr with natively installed tools. (tho the old video is on Mac OS using brew, I also use the same command line on linux distributions too)

https://youtu.be/H-rUGKCln0A?t=116

 

Regards,

Vinayak

 

 

From: kavin.muthusamy@... [mailto:kavin.muthusamy@...]
Sent: Thursday, August 02, 2018 8:56 AM
To: Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>; users@...
Cc: devel@...; Smith, Miles Louis <miles.smith@...>
Subject: Re: [Zephyr-devel] HCI Interface UART//USB

 

Hi Vinayak,

 

I have followed the below link to update SDN version and executed same comments .

 

Then i tried to run the make command , this time error didn't occur but it got stuck .

 

Please find the attached screen shot .

 

Regards,
Kavin Kumar
Mobile: 9994889187


From: Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>
Sent: Wednesday, August 1, 2018 5:25:45 PM
To: Kavin Kumar Periyana Gounder Muthusamy (Product Engineering Service); users@...
Cc: devel@...; Smith, Miles Louis
Subject: RE: [Zephyr-devel] HCI Interface UART//USB

 

** This mail has been sent from an external source. Treat hyperlinks and attachments in this email with caution**

Could you please refer to http://docs.zephyrproject.org/1.9.0/getting_started/installation_linux.html

docs.zephyrproject.org

Development Environment Setup on Linux¶. This section describes how to set up a Linux development system. After completing these steps, you will be able to compile and run your Zephyr applications on the following Linux distributions:

 

If you still face issues, please let me know.

 

You can use native linux toolchain, but its lot more environment variables to set… as you see in your error, which is already verbose indicating the missing environ variable.

 

Regards,

Vinayak

 

From: kavin.muthusamy@... [mailto:kavin.muthusamy@...]
Sent: Wednesday, August 01, 2018 1:36 PM
To: Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>; users@...
Cc: devel@...; Smith, Miles Louis <miles.smith@...>
Subject: Re: [Zephyr-devel] HCI Interface UART//USB

 

Hi Vinayak,

 

I have tried the command below but sub-make failed error occurred.

 

Regards,
Kavin Kumar
Mobile: 9994889187


From: Kavin Kumar Periyana Gounder Muthusamy (Product Engineering Service)
Sent: Wednesday, August 1, 2018 4:43:20 PM
To: Chettimada, Vinayak Kariappa; users@...
Cc: devel@...; Smith, Miles Louis
Subject: Re: [Zephyr-devel] HCI Interface UART//USB

 

Hi Vinayak,

 

Thanks for the update . I am using version 1.9.2 .

 

I will check and let you know the status.

 

Regards,
Kavin Kumar
Mobile: 9994889187


From: Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>
Sent: Wednesday, August 1, 2018 4:39:56 PM
To: Kavin Kumar Periyana Gounder Muthusamy (Product Engineering Service); users@...
Cc: devel@...; Smith, Miles Louis
Subject: RE: [Zephyr-devel] HCI Interface UART//USB

 

** This mail has been sent from an external source. Treat hyperlinks and attachments in this email with caution**

Hi Kavin,

 

Depending on the Zephyr release you are using, pre v1.10 releases used KBuild and Post use cmake.

 

You will need to use the documentation for that release.

 

If you are on the v.1.9, please try to set the ZEPHYR_BASE environment variable to your zephyr repo root folder.

 

Or

 

make ZEPHYR_BASE=<zephyr repo> BOARD=<board> CONF_FILE=<config_file>

 

 

Regards,

Vinayak

 

 

From: kavin.muthusamy@... [mailto:kavin.muthusamy@...]
Sent: Wednesday, August 01, 2018 12:54 PM
To: Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>; users@...
Cc: devel@...; Smith, Miles Louis <miles.smith@...>
Subject: Re: [Zephyr-devel] HCI Interface UART//USB

 

Hi Vinayak,

 

I have followed all the steps as per white paper to flash nRF52840 and got stuck with step4 where i am unable to build the application . Facing issue with make command .

 

Kindly help on this issue to proceed further .

 

Please find the attached screen shot for reference.

 

Regards,
Kavin Kumar
Mobile: 9994889187


From: Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>
Sent: Monday, July 30, 2018 12:51:54 PM
To: Chettimada, Vinayak Kariappa; Kavin Kumar Periyana Gounder Muthusamy (Product Engineering Service); users@...
Cc: devel@...; Smith, Miles Louis
Subject: RE: [Zephyr-devel] HCI Interface UART//USB

 

** This mail has been sent from an external source. Treat hyperlinks and attachments in this email with caution**

Hi Kavin,

 

There is a white paper which gives a short overview of the Zephyr project, describes in what cases you should consider using the Zephyr Bluetooth LE Controller instead of one of Nordic Semiconductor's SoftDevices, and explains how to build and program this Controller on nRF5 ICs.

 

It can be found here: http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.whitepapers%2Fdita%2Fwhitepapers%2Fnwp_029%2Fintro.html&cp=11_2

Or

http://infocenter.nordicsemi.com/pdf/nwp_029.pdf

 

 

If you are not receiving my emails, I am not sure how I can reach you.

 

Regards,

Vinayak

 

 

From: devel@... [mailto:devel@...] On Behalf Of Chettimada, Vinayak Kariappa
Sent: Monday, July 30, 2018 9:13 AM
To: kavin.muthusamy@...; users@...
Cc: devel@...
Subject: Re: [Zephyr-devel] HCI Interface UART//USB

 

Did you receive? ... https://lists.zephyrproject.org/g/users/message/991

 

 

From: devel@... [mailto:devel@...] On Behalf Of kavin.muthusamy@...
Sent: Monday, July 30, 2018 6:17 AM
To: users@...
Cc: devel@...
Subject: Re: [Zephyr-devel] HCI Interface UART//USB

 

Kindly waiting for your update. Please Prioritize this issue.

 

Regards,
Kavin Kumar
Mobile: 9994889187


From: Kavin Kumar Periyana Gounder Muthusamy (Product Engineering Service)
Sent: Friday, July 27, 2018 9:13:26 AM
To: users@...
Cc: devel@...
Subject: HCI Interface UART//USB

 

Hello Team,

 

We have bought nRF52840 and nRF52 DK boards for BLE v5.0 testing with ellisys tester . Comport it is taking as ACM0 but HCI reset is failing in the IUT . As per the comment from nordic team HCI interface is not there in these boards. So how to install hex file from zephyrproject (samples/bluetooth/hci_uart sample for HCI over UART). I am unable to download this .Please help on this to proceed further .

 

Regards,
Kavin Kumar
Mobile: 9994889187

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com


Re: [Zephyr-devel] HCI Interface UART//USB

kavin.muthusamy@wipro.com <kavin.muthusamy@...>
 

Hi Vinayak,


I have followed the below link to update SDN version and executed same comments .


Then i tried to run the make command , this time error didn't occur but it got stuck .


Please find the attached screen shot .


Regards,
Kavin Kumar
Mobile: 9994889187


From: Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>
Sent: Wednesday, August 1, 2018 5:25:45 PM
To: Kavin Kumar Periyana Gounder Muthusamy (Product Engineering Service); users@...
Cc: devel@...; Smith, Miles Louis
Subject: RE: [Zephyr-devel] HCI Interface UART//USB
 

** This mail has been sent from an external source. Treat hyperlinks and attachments in this email with caution**

Could you please refer to http://docs.zephyrproject.org/1.9.0/getting_started/installation_linux.html

docs.zephyrproject.org
Development Environment Setup on Linux¶. This section describes how to set up a Linux development system. After completing these steps, you will be able to compile and run your Zephyr applications on the following Linux distributions:

 

If you still face issues, please let me know.

 

You can use native linux toolchain, but its lot more environment variables to set… as you see in your error, which is already verbose indicating the missing environ variable.

 

Regards,

Vinayak

 

From: kavin.muthusamy@... [mailto:kavin.muthusamy@...]
Sent: Wednesday, August 01, 2018 1:36 PM
To: Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>; users@...
Cc: devel@...; Smith, Miles Louis <miles.smith@...>
Subject: Re: [Zephyr-devel] HCI Interface UART//USB

 

Hi Vinayak,

 

I have tried the command below but sub-make failed error occurred.

 

Regards,
Kavin Kumar
Mobile: 9994889187


From: Kavin Kumar Periyana Gounder Muthusamy (Product Engineering Service)
Sent: Wednesday, August 1, 2018 4:43:20 PM
To: Chettimada, Vinayak Kariappa; users@...
Cc: devel@...; Smith, Miles Louis
Subject: Re: [Zephyr-devel] HCI Interface UART//USB

 

Hi Vinayak,

 

Thanks for the update . I am using version 1.9.2 .

 

I will check and let you know the status.

 

Regards,
Kavin Kumar
Mobile: 9994889187


From: Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>
Sent: Wednesday, August 1, 2018 4:39:56 PM
To: Kavin Kumar Periyana Gounder Muthusamy (Product Engineering Service); users@...
Cc: devel@...; Smith, Miles Louis
Subject: RE: [Zephyr-devel] HCI Interface UART//USB

 

** This mail has been sent from an external source. Treat hyperlinks and attachments in this email with caution**

Hi Kavin,

 

Depending on the Zephyr release you are using, pre v1.10 releases used KBuild and Post use cmake.

 

You will need to use the documentation for that release.

 

If you are on the v.1.9, please try to set the ZEPHYR_BASE environment variable to your zephyr repo root folder.

 

Or

 

make ZEPHYR_BASE=<zephyr repo> BOARD=<board> CONF_FILE=<config_file>

 

 

Regards,

Vinayak

 

 

From: kavin.muthusamy@... [mailto:kavin.muthusamy@...]
Sent: Wednesday, August 01, 2018 12:54 PM
To: Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>; users@...
Cc: devel@...; Smith, Miles Louis <miles.smith@...>
Subject: Re: [Zephyr-devel] HCI Interface UART//USB

 

Hi Vinayak,

 

I have followed all the steps as per white paper to flash nRF52840 and got stuck with step4 where i am unable to build the application . Facing issue with make command .

 

Kindly help on this issue to proceed further .

 

Please find the attached screen shot for reference.

 

Regards,
Kavin Kumar
Mobile: 9994889187


From: Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>
Sent: Monday, July 30, 2018 12:51:54 PM
To: Chettimada, Vinayak Kariappa; Kavin Kumar Periyana Gounder Muthusamy (Product Engineering Service); users@...
Cc: devel@...; Smith, Miles Louis
Subject: RE: [Zephyr-devel] HCI Interface UART//USB

 

** This mail has been sent from an external source. Treat hyperlinks and attachments in this email with caution**

Hi Kavin,

 

There is a white paper which gives a short overview of the Zephyr project, describes in what cases you should consider using the Zephyr Bluetooth LE Controller instead of one of Nordic Semiconductor's SoftDevices, and explains how to build and program this Controller on nRF5 ICs.

 

It can be found here: http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.whitepapers%2Fdita%2Fwhitepapers%2Fnwp_029%2Fintro.html&cp=11_2

Or

http://infocenter.nordicsemi.com/pdf/nwp_029.pdf

 

 

If you are not receiving my emails, I am not sure how I can reach you.

 

Regards,

Vinayak

 

 

From: devel@... [mailto:devel@...] On Behalf Of Chettimada, Vinayak Kariappa
Sent: Monday, July 30, 2018 9:13 AM
To: kavin.muthusamy@...; users@...
Cc: devel@...
Subject: Re: [Zephyr-devel] HCI Interface UART//USB

 

Did you receive? ... https://lists.zephyrproject.org/g/users/message/991

 

 

From: devel@... [mailto:devel@...] On Behalf Of kavin.muthusamy@...
Sent: Monday, July 30, 2018 6:17 AM
To: users@...
Cc: devel@...
Subject: Re: [Zephyr-devel] HCI Interface UART//USB

 

Kindly waiting for your update. Please Prioritize this issue.

 

Regards,
Kavin Kumar
Mobile: 9994889187


From: Kavin Kumar Periyana Gounder Muthusamy (Product Engineering Service)
Sent: Friday, July 27, 2018 9:13:26 AM
To: users@...
Cc: devel@...
Subject: HCI Interface UART//USB

 

Hello Team,

 

We have bought nRF52840 and nRF52 DK boards for BLE v5.0 testing with ellisys tester . Comport it is taking as ACM0 but HCI reset is failing in the IUT . As per the comment from nordic team HCI interface is not there in these boards. So how to install hex file from zephyrproject (samples/bluetooth/hci_uart sample for HCI over UART). I am unable to download this .Please help on this to proceed further .

 

Regards,
Kavin Kumar
Mobile: 9994889187

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com


Re: [Zephyr-devel] HCI Interface UART//USB

Carles Cufi
 

Can you try to follow the steps here:

 

http://docs.zephyrproject.org/1.9.0/getting_started/installation_linux.html#installing-the-zephyr-software-development-kit

 

Carles

 

From: <users@...> on behalf of "kavin.muthusamy@..." <kavin.muthusamy@...>
Date: Wednesday, 1 August 2018 at 15:17
To: Vinayak Kariappa Chettimada <vinayak.kariappa.chettimada@...>, "users@..." <users@...>
Cc: "devel@..." <devel@...>, Miles Louis Smith <miles.smith@...>
Subject: Re: [Zephyr-users] [Zephyr-devel] HCI Interface UART//USB

 

Hi Vinayak,

 

I have tried the command below but sub-make failed error occurred.

 

Regards,
Kavin Kumar
Mobile: 9994889187


From: Kavin Kumar Periyana Gounder Muthusamy (Product Engineering Service)
Sent: Wednesday, August 1, 2018 4:43:20 PM
To: Chettimada, Vinayak Kariappa; users@...
Cc: devel@...; Smith, Miles Louis
Subject: Re: [Zephyr-devel] HCI Interface UART//USB

 

Hi Vinayak,

 

Thanks for the update . I am using version 1.9.2 .

 

I will check and let you know the status.

 

Regards,
Kavin Kumar
Mobile: 9994889187


From: Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>
Sent: Wednesday, August 1, 2018 4:39:56 PM
To: Kavin Kumar Periyana Gounder Muthusamy (Product Engineering Service); users@...
Cc: devel@...; Smith, Miles Louis
Subject: RE: [Zephyr-devel] HCI Interface UART//USB

 

** This mail has been sent from an external source. Treat hyperlinks and attachments in this email with caution**

Hi Kavin,

 

Depending on the Zephyr release you are using, pre v1.10 releases used KBuild and Post use cmake.

 

You will need to use the documentation for that release.

 

If you are on the v.1.9, please try to set the ZEPHYR_BASE environment variable to your zephyr repo root folder.

 

Or

 

make ZEPHYR_BASE=<zephyr repo> BOARD=<board> CONF_FILE=<config_file>

 

 

Regards,

Vinayak

 

 

From: kavin.muthusamy@... [mailto:kavin.muthusamy@...]
Sent: Wednesday, August 01, 2018 12:54 PM
To: Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>; users@...
Cc: devel@...; Smith, Miles Louis <miles.smith@...>
Subject: Re: [Zephyr-devel] HCI Interface UART//USB

 

Hi Vinayak,

 

I have followed all the steps as per white paper to flash nRF52840 and got stuck with step4 where i am unable to build the application . Facing issue with make command .

 

Kindly help on this issue to proceed further .

 

Please find the attached screen shot for reference.

 

Regards,
Kavin Kumar
Mobile: 9994889187


From: Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>
Sent: Monday, July 30, 2018 12:51:54 PM
To: Chettimada, Vinayak Kariappa; Kavin Kumar Periyana Gounder Muthusamy (Product Engineering Service); users@...
Cc: devel@...; Smith, Miles Louis
Subject: RE: [Zephyr-devel] HCI Interface UART//USB

 

** This mail has been sent from an external source. Treat hyperlinks and attachments in this email with caution**

Hi Kavin,

 

There is a white paper which gives a short overview of the Zephyr project, describes in what cases you should consider using the Zephyr Bluetooth LE Controller instead of one of Nordic Semiconductor's SoftDevices, and explains how to build and program this Controller on nRF5 ICs.

 

It can be found here: http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.whitepapers%2Fdita%2Fwhitepapers%2Fnwp_029%2Fintro.html&cp=11_2

Or

http://infocenter.nordicsemi.com/pdf/nwp_029.pdf

 

 

If you are not receiving my emails, I am not sure how I can reach you.

 

Regards,

Vinayak

 

 

From: devel@... [mailto:devel@...] On Behalf Of Chettimada, Vinayak Kariappa
Sent: Monday, July 30, 2018 9:13 AM
To: kavin.muthusamy@...; users@...
Cc: devel@...
Subject: Re: [Zephyr-devel] HCI Interface UART//USB

 

Did you receive? ... https://lists.zephyrproject.org/g/users/message/991

 

 

From: devel@... [mailto:devel@...] On Behalf Of kavin.muthusamy@...
Sent: Monday, July 30, 2018 6:17 AM
To: users@...
Cc: devel@...
Subject: Re: [Zephyr-devel] HCI Interface UART//USB

 

Kindly waiting for your update. Please Prioritize this issue.

 

Regards,
Kavin Kumar
Mobile: 9994889187


From: Kavin Kumar Periyana Gounder Muthusamy (Product Engineering Service)
Sent: Friday, July 27, 2018 9:13:26 AM
To: users@...
Cc: devel@...
Subject: HCI Interface UART//USB

 

Hello Team,

 

We have bought nRF52840 and nRF52 DK boards for BLE v5.0 testing with ellisys tester . Comport it is taking as ACM0 but HCI reset is failing in the IUT . As per the comment from nordic team HCI interface is not there in these boards. So how to install hex file from zephyrproject (samples/bluetooth/hci_uart sample for HCI over UART). I am unable to download this .Please help on this to proceed further .

 

Regards,
Kavin Kumar
Mobile: 9994889187

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com

2061 - 2080 of 3086