Comments (3)
Hi @andvib! We appreciate you submitting your first issue for our open-source project. 🌟
Even though I'm a bot, I can assure you that the whole community is genuinely grateful for your time and effort. 🤖💙
from zephyr.
The assumption behind combined changes introduced in #71337 and #72412 was that it is fine to let calls to nrfx that drive the Force-Off signal:
nrf_reset_network_force_off(NRF_RESET, false);
be executed multiple times in a row. The assumption was that only the first call changes the network CPU's state and all the others that follow have no effect. This seemed to have been confirmed by various Bluetooth samples. The issue description confirms that as well.
However, what this bug report shows is that this assumption is only correct if the time between subsequent calls is short enough. Otherwise, the second call causes the network CPU to reboot.
In my opinion, the best way to fix this bug given all the requirements for network CPU management that made it necessary in the first place is to no longer boot the network core in board initialization files. Instead, the network CPU users such as HCI driver or 802.15.4 driver should request it using the network CPU management API. That's a clean solution that I would have already incorporated into #72412 if not for the risk that there are components, which implicitly depend on the board initialization code to boot the network core.
However, since it's no longer a matter of clean division of responsibilities between modules but rather a functional problem that needs to be solved, I think we should remove network CPU control from board initialization file. Instead, we should introduce a requirement for the network CPU users to request and release it explicitly, similarly to how the HCI driver does it now.
from zephyr.
from zephyr.
Related Issues (20)
- rpi_5 fails to build samples/tests with UART HOT 1
- LE Audio: Dynamically generate BASS receive states
- net: http: HTTP server send incomplete response header HOT 8
- stm32f207 fails executing the tests/drivers/rtc/rtc_api HOT 1
- os: add zephyr virtual filesystem (zvfs) api
- tftp_client can't be compiled HOT 1
- some ST boards fail to build `samples/sensor/sensor_shell`
- boards: st: `vbat` node enabled without enabling associated `adc` node HOT 3
- boards: nrf: nrfx_prs: sample.boards.nrf.nrfx_prs fails HOT 1
- Bluetooth: OTS: Support for Object Transfer Timeout Procedure
- Support of Flash and EEPROM drivers for SoC S32K1 (NXP)
- drivers: spi: spi_rpi_pico_pio: Byte order is incorrect HOT 1
- MPU fault while trying to call symbol in LLEXT module HOT 6
- drivers: video: API enhancement HOT 4
- GNSS callbacks don't fire (gnss sample) HOT 5
- Build Process Hangs on Subsequent Builds After First Successful Run in VSCode HOT 2
- Implicit type conversions in header files HOT 2
- `nrf54h20dk/nrf54h20/cpuppr` fails `tests/kernel/gen_isr_table/arch.interrupt.gen_isr_table.riscv_no_direct` HOT 2
- ESP32 ADC Raw to Voltage Conversion problem HOT 1
- MCUBoot with CAN as transport layer HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zephyr.