OpenOCD Remote connection configuration in west
Srinivasan Tamilarasan
Hi, I need to connect my target board remotely using OpenOCD debugger. For now separate batch script is working for me using arm-none-ebbi-gdb connection.
I need to enable the west flash for my custom target board. By default, west flash command initiates local connection. Instead I need to connect the remote target device using tcp ip server.
Let me know, to achieve the openOcd remote connection, what is configuration needed in the board.cmake file?
Regards, Srinivasan
|
|
Re: Dev-Review Meeting Agenda July 29th
Bolivar, Marti
|
|
Event: Zephyr Dev environment kickoff meeting - 07/30/2021
#cal-reminder
devel@lists.zephyrproject.org Calendar <noreply@...>
Reminder: Zephyr Dev environment kickoff meeting When: Where: Organizer: tsc@... An RSVP is requested. Click here to RSVP Description: ________________________________________________________________________________
Microsoft Teams meeting
Join on your computer or mobile app
Click here to join the meetingOr call in (audio only)
+1 321-558-6518,,943776726# United States, Orlando
________________________________________________________________________________
|
|
Re: West Flash failed with J-Link via JTAG connection
Srinivasan Tamilarasan
Hi, The issue resolved by adding below command, board_runner_args(jlink "--device=RUBY" "--speed=4000" "--iface=jtag" "--tool-opt=-jtagconf -1,-1 -autoconnect 1")
Regards, Srinivasan
From: Srinivasan Tamilarasan
Sent: 30 July 2021 04:35 PM To: 'devel@...' <devel@...> Subject: West Flash failed with J-Link via JTAG connection
Hi Guys, I am trying to add jlink support for our custom device.
When I try to program using J-Link Commander is working fine, which program the binary into memory and application starts running successfully.
My custom device connected to J-Link debugger via JTAG interface. So I have added below commands in board.cmake file,
board_runner_args(jlink "--device=RUBY" "--speed=4000" "--iface=jtag" "--tool-opt=-jtagconf 4,0 -autoconnect 1") include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
When I try to execute the west flash command, I am getting below error,
****** Error: CPU-TAP not found in JTAG chain
PFA of jlink log.
Kindly assist me to resolve this issue.
Regards, Srinivasan
|
|
Suppress the -nogui option in jlink commands during west flash
Srinivasan Tamilarasan
Hi, When we use the J-Link runner in west flash, the zephyr\scripts\west_commands\runners\jlink.py python script, default add the –nogui option in the J-Link command list.
I need to remove this command from jlink command list to get the pop-up window when multiple debugger are connected.
How to suppress the –nogui option in zephyr runner? Can zephyr provide this option?
Regards, Srinivasan
|
|
West Flash failed with J-Link via JTAG connection
Srinivasan Tamilarasan
Hi Guys, I am trying to add jlink support for our custom device.
When I try to program using J-Link Commander is working fine, which program the binary into memory and application starts running successfully.
My custom device connected to J-Link debugger via JTAG interface. So I have added below commands in board.cmake file,
board_runner_args(jlink "--device=RUBY" "--speed=4000" "--iface=jtag" "--tool-opt=-jtagconf 4,0 -autoconnect 1") include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
When I try to execute the west flash command, I am getting below error,
****** Error: CPU-TAP not found in JTAG chain
PFA of jlink log.
Kindly assist me to resolve this issue.
Regards, Srinivasan
|
|
Shilpa Das <shilpa.das@...>
|
|
Event: Zephyr Project: Dev Meeting - 07/29/2021
#cal-reminder
devel@lists.zephyrproject.org Calendar <noreply@...>
Reminder: Zephyr Project: Dev Meeting When: Where: Organizer: devel@... An RSVP is requested. Click here to RSVP Description: ________________________________________________________________________________
+1 321-558-6518 United States, Orlando (Toll)
Conference ID: 483 314 739#
Local numbers | Reset PIN | Learn more about Teams | Meeting options
________________________________________________________________________________
|
|
Dev-Review Meeting Agenda July 29th
Kumar Gala
arch: arc: support arc secureshield to build/test/debug with west commands
- https://github.com/zephyrproject-rtos/zephyr/pull/37098 RFC: native_posix fails to compile on macOS - https://github.com/zephyrproject-rtos/zephyr/pull/37123 drivers: counter: nrfx: Add option to call handlers in ZLI interrupts - https://github.com/zephyrproject-rtos/zephyr/pull/32575 linker: aarch32: automatic derivation of region names from devicetree nodes: - https://github.com/zephyrproject-rtos/zephyr/pull/36365 RFC: API Change: Flash map: - https://github.com/zephyrproject-rtos/zephyr/issues/34706 Plus anything anyone else has. - k
|
|
Re: Problem when Flashing mesh_demo sample
When I have seen that error the first thing I try is running the command “ nrfjprog -r” this should successfully reset your board, if it doesn’t then you have a hardware problem, check your connections.
If it has never worked then you probably need to update your jlink libraries. The latest version on the Segger site works with the latest versions of windows. But the version distributed with the Nordic tools doesn’t always work.
-Lawrence-
From: devel@... <devel@...> on behalf of Bolivar, Marti <marti.bolivar@...>
Sent: Wednesday, July 28, 2021 8:46:09 PM To: morceli@... <morceli@...>; devel@... <devel@...> Subject: Re: [Zephyr-devel] Problem when Flashing mesh_demo sample Hi,
"Omar Morceli via lists.zephyrproject.org" <morceli=adsumnet.com@...> writes: > Hi > the mesh_demo project has been built correctly but I'm facing a problem > when I flash it > C:\Users\OMAR\zephyrproject\zephyr\samples\bluetooth\mesh_demo> west flash > -- west flash: rebuilding > ninja: no work to do. > -- west flash: using runner nrfjprog > Using board 682695511 > -- runners.nrfjprog: Flashing file: > C:\Users\OMAR\zephyrproject\zephyr\samples\bluetooth\mesh_demo\build\zephyr\zephyr.hex > ERROR: JLinkARM DLL reported an error. Try again. If error condition > ERROR: persists, run the same command again with argument --log, contact > Nordic > ERROR: Semiconductor and provide the generated log.log file to them. If you're still having trouble, please follow the instructions in the above error output and open a ticket on DevZone with the requested information. Thanks! Marti > FATAL ERROR: command exited with status 33: nrfjprog --program > 'C:\Users\OMAR\zephyrproject\zephyr\samples\bluetooth\mesh_demo\build\zephyr\zephyr.hex' > --sectoranduicrerase -f NRF52 --snr 682695511 > > >
|
|
Re: Problem when Flashing mesh_demo sample
Bolivar, Marti
Hi,
"Omar Morceli via lists.zephyrproject.org" <morceli=adsumnet.com@...> writes: HiIf you're still having trouble, please follow the instructions in the above error output and open a ticket on DevZone with the requested information. Thanks! Marti FATAL ERROR: command exited with status 33: nrfjprog --program
|
|
Problem when Flashing mesh_demo sample
Omar Morceli
Hi the mesh_demo project has been built correctly but I'm facing a problem when I flash it C:\Users\OMAR\zephyrproject\zephyr\samples\bluetooth\mesh_demo> west flash -- west flash: rebuilding ninja: no work to do. -- west flash: using runner nrfjprog Using board 682695511 -- runners.nrfjprog: Flashing file: C:\Users\OMAR\zephyrproject\zephyr\samples\bluetooth\mesh_demo\build\zephyr\zephyr.hex ERROR: JLinkARM DLL reported an error. Try again. If error condition ERROR: persists, run the same command again with argument --log, contact Nordic ERROR: Semiconductor and provide the generated log.log file to them. FATAL ERROR: command exited with status 33: nrfjprog --program 'C:\Users\OMAR\zephyrproject\zephyr\samples\bluetooth\mesh_demo\build\zephyr\zephyr.hex' --sectoranduicrerase -f NRF52 --snr 682695511
|
|
Hello Zephyr support team,
#ble
#bluetoothmesh
#hci
#zephyrbluetoothmesh
#uart
prabhunath.gupt@...
We have some questions regarding the BLE MESH, So kindly go through below hardware and software setup and please guide us about our queries. Your quick response will be highly appreciated.
Hardware setup: i.MX6ull based custom board(which has 1 GB RAM and 8 GB Emmc) with onboard nRF52840 BLE controller over UART.
Software setup: We have used Yocto Linux along with BLUEZ stack 5.50 on i.MX6ull based custom board, and nRF side we have flashed HCI UART (we have used zephyr 2.1)application along with mesh configuration.
For POC purposes we are using "meshctl" (From BLUEZ stack) command on i.MX6ull board as a provisioner, and we wanted to provision up to 350 devices, does it possible for the above hardware and software configuration?
In the future, we are planning to use the mobile application as a provisioner and once the mesh network is created we will add our board as a provisioner, In this way are we able to control the mesh network devices from our board?
From the zephyr side is there any limitation available to achieve this requirement?
Regards,
Prabhunath
|
|
Re: Esp32 flash issue on Ubuntu 20
lairdjm
Sounds like you haven’t setup the udev rules.
From: devel@... <devel@...>
On Behalf Of pritam sutar via lists.zephyrproject.org
Sent: 28 July 2021 11:39 To: devel@... Subject: [Zephyr-devel] Esp32 flash issue on Ubuntu 20
I am able to build code for esp32 but flash is being failed by denying permission on ttyUSB0.
Any help would be appreciated.
|
|
Esp32 flash issue on Ubuntu 20
pritam sutar <pritamsutar660@...>
I am able to build code for esp32 but flash is being failed by denying permission on ttyUSB0. Any help would be appreciated.
|
|
section of the heap memory
dylan_hung@...
Hi all,
When CONFIG_MINIMAL_LIBC_MALLOC is enabled, the size of the target binary (zephyr.bin) grows with CONFIG_MINIMAL_LIBC_MALLOC_ARENA_SIZE. I found the heap memory is allocated at .data section, will it be better if it is allocated at .bss? https://github.com/zephyrproject-rtos/zephyr/blob/main/lib/libc/minimal/source/stdlib/malloc.c#L29
|
|
Re: simple template of Vendor Bluetooth mesh model
Trond Snekvik
Hi,
The linked documentation page is for the nRF Connect SDK, which is not part of Zephyr. I would recommend posting questions
about the nRF Connect SDK on the Nordic DevZone instead. There, Nordic's support team can answer questions specific to Nordic's SDK, which adds a couple of modules on top of the Zephyr Bluetooth mesh stack.
In Zephyr, I would recommend taking a look at the Mesh demo sample under zephyr/samples/bluetooth/mesh_demo/. This sample implements a tiny vendor model that sends and receives a button press message. Contrary to Nordic's Chat model, it demonstrates a minimal
model implementation, including registering the model in the composition data, and constructing and parsing messages.
Additional resources:
For the nRF Connect SDK, the
vendor model development overview accompanying the sample walk-through you linked might be easier to follow than the walk-through itself.
Trond
From: devel@... <devel@...> on behalf of Omar Morceli via lists.zephyrproject.org <morceli=adsumnet.com@...>
Sent: Wednesday, July 28, 2021 0:30 To: devel@... <devel@...> Subject: [Zephyr-devel] simple template of Vendor Bluetooth mesh model Hi
I'm trying to create a vendor model that sends messages periodically to mesh networks I have followed Creating a new model and Chat sample walk-through on the documentation page, but I found it difficult to re-create a simple model from it is there any simple model template that I can start with, and how to create the send functions and how to make it send periodically and non-periodically thanks
|
|
simple template of Vendor Bluetooth mesh model
Omar Morceli
Hi I'm trying to create a vendor model that sends messages periodically to mesh networks I have followed Creating a new model and Chat sample walk-through on the documentation page, but I found it difficult to re-create a simple model from it is there any simple model template that I can start with, and how to create the send functions and how to make it send periodically and non-periodically thanks
|
|
Re: API meeting cancelled today
Carles Cufi
Hi all,
toggle quoted messageShow quoted text
I am cancelling the meeting today as well for the same reasons. Hopefully next week we can resume as normal. Thanks, Carles
-----Original Message-----
|
|
Cancelled Event: Zephyr Project: APIs - Tuesday, July 27, 2021
#cal-cancelled
devel@lists.zephyrproject.org Calendar <noreply@...>
Cancelled: Zephyr Project: APIs This event has been cancelled. When: Where: Organizer: devel@... Description: Meeting decisions/discussions in their respective PRs, tracked here: https://github.com/zephyrproject-rtos/zephyr/projects/18 ________________________________________________________________________________
+1 321-558-6518 United States, Orlando (Toll)
Conference ID: 317 990 129#
Local numbers | Reset PIN | Learn more about Teams | Meeting options
________________________________________________________________________________
|
|