|
Problem with running Zephyr from external flash on STM32xx
Hi Jan, There are many things that can go wrong here. I would start by checking that what is in the qspi flash is equal to what you want. How do you write the program to the flash ? Kind regards, Jehu
Hi Jan, There are many things that can go wrong here. I would start by checking that what is in the qspi flash is equal to what you want. How do you write the program to the flash ? Kind regards, Jehu
|
By
laczenJMS
· #6506
·
|
|
How to specify flash offset for a new board
Hi Kees and Jan, Zephyr links the code for a code partition specified in the dts as shown above by Jan by specifying in the proj.conf file: CONFIG_HAS_FLASH_LOAD_OFFSET=y CONFIG_USE_CODE_PARTITION=y K
Hi Kees and Jan, Zephyr links the code for a code partition specified in the dts as shown above by Jan by specifying in the proj.conf file: CONFIG_HAS_FLASH_LOAD_OFFSET=y CONFIG_USE_CODE_PARTITION=y K
|
By
laczenJMS
· #6435
·
|
|
Bluetooth: about using of NVS & setting Layer in single App
Hi Vikrant, The dts changes you propose might work, but there are some disadvantages with it: if you are overlapping the scratch area with NVS you will loose the data in NVS persistent storage after F
Hi Vikrant, The dts changes you propose might work, but there are some disadvantages with it: if you are overlapping the scratch area with NVS you will loose the data in NVS persistent storage after F
|
By
laczenJMS
· #5153
·
|
|
kconfig
Hi Ulf and Carles, Thanks for the response. It seems that it is not possible to do what I want directly, no problem. I will compare SET_NVS_SECTOR_SIZE with FLASH_ERASE_BLOCK_SIZE in my code to verify
Hi Ulf and Carles, Thanks for the response. It seems that it is not possible to do what I want directly, no problem. I will compare SET_NVS_SECTOR_SIZE with FLASH_ERASE_BLOCK_SIZE in my code to verify
|
By
laczenJMS
· #4899
·
|
|
kconfig
Hi, I am working on a subsystem and I have some problem with Kconfig. I would like to define a configuration setting: SET_NVS_SECTOR_SIZE and apply a default equal to the define FLASH_ERASE_BLOCK_SIZE
Hi, I am working on a subsystem and I have some problem with Kconfig. I would like to define a configuration setting: SET_NVS_SECTOR_SIZE and apply a default equal to the define FLASH_ERASE_BLOCK_SIZE
|
By
laczenJMS
· #4889
·
|
|
Bluetooth: Mesh: about avoiding cloud storage
Hi Vikrant, I think it is a bad idea to have this kind message to put the device back into unprovisioned state. Anyone who is using this app with your devices could take over all your devices by using
Hi Vikrant, I think it is a bad idea to have this kind message to put the device back into unprovisioned state. Anyone who is using this app with your devices could take over all your devices by using
|
By
laczenJMS
· #4836
·
|
|
bt settings - how is it done ?
Hi, In the settings part of bt there seems to be a cool way to generate a list of settings with their set, commit and export handlers. Items are added to this list by a macro BT_SETTINGS_DEFINE() and
Hi, In the settings part of bt there seems to be a cool way to generate a list of settings with their set, commit and export handlers. Items are added to this list by a macro BT_SETTINGS_DEFINE() and
|
By
laczenJMS
· #4753
·
|
|
How to configure #NVS if #FCB in used for #BluetoothMesh ?
#nvs
#fcb
#bluetoothmesh
Hi Vikrant, At the moment the default settings for NVS and FCB are indeed overlapping; you cannot use them at the same time. To use NVS and FCB together my advice would be to look at the board dts fil
Hi Vikrant, At the moment the default settings for NVS and FCB are indeed overlapping; you cannot use them at the same time. To use NVS and FCB together my advice would be to look at the board dts fil
|
By
laczenJMS
· #4680
·
|
|
Bluetooth Mesh - Restore the replay protection list
Hi, Bluetooth mesh has a replay protection list that basically keeps a link between a address and a sequence counter to protect against replay attacks. It checks if messages are ok by making checking
Hi, Bluetooth mesh has a replay protection list that basically keeps a link between a address and a sequence counter to protect against replay attacks. It checks if messages are ok by making checking
|
By
laczenJMS
· #2221
·
|
|
Storing data in flash at powerfail on nrf51/nrf52
For bluetooth mesh it would be good to save the replay protection list to a dedicated flash page. This save would only be done in the case of a powerfail or a reboot. nrf51/nrf52 have a powerfail warn
For bluetooth mesh it would be good to save the replay protection list to a dedicated flash page. This save would only be done in the case of a powerfail or a reboot. nrf51/nrf52 have a powerfail warn
|
By
laczenJMS
· #2217
·
|
|
Extending Error Codes
Hello Zephyr Developers, I recently had a request to change the error codes in a zephyr module to use the standard supplied error codes. Doing so would reduce the descriptiveness of the error codes so
Hello Zephyr Developers, I recently had a request to change the error codes in a zephyr module to use the standard supplied error codes. Doing so would reduce the descriptiveness of the error codes so
|
By
laczenJMS
· #2097
·
|
|
Firmware over the air (FOTA) and FCB support in 1.11.0
Hi Carles, I will add the lifetime calculation to the documentation of NVS. Regarding the comparison between FCB and NVS: FCB would need an additional layer to be able to get this functionality (which
Hi Carles, I will add the lifetime calculation to the documentation of NVS. Regarding the comparison between FCB and NVS: FCB would need an additional layer to be able to get this functionality (which
|
By
laczenJMS
· #1959
·
|
|
Firmware over the air (FOTA) and FCB support in 1.11.0
Hi, As the author of NVS (PR6391 https://github.com/zephyrproject-rtos/zephyr/pull/6391) I am probably a bit biased. NVS as is can be used directly for managing persistent data. I am looking into addi
Hi, As the author of NVS (PR6391 https://github.com/zephyrproject-rtos/zephyr/pull/6391) I am probably a bit biased. NVS as is can be used directly for managing persistent data. I am looking into addi
|
By
laczenJMS
· #1953
·
|
|
[Zephyr-users] Power Configuration of nrf52840 (Vikrant More)
Hi Vikrant, NFFS file system might not be a good choice to store frequently changing data. For this case I have created a library called sfcb that you can find in my zephyr project fork: https://githu
Hi Vikrant, NFFS file system might not be a good choice to store frequently changing data. For this case I have created a library called sfcb that you can find in my zephyr project fork: https://githu
|
By
laczenJMS
· #1755
·
|
|
bluetooth mesh on nrf51822-16kb tinycrypt-ecc
Hi Johan, Thanks for the reply. It is clearly not possible to reduce the stack usage of tinycrypt. Regarding the coexisting of network state and provisioning state, would it be possible to use the con
Hi Johan, Thanks for the reply. It is clearly not possible to reduce the stack usage of tinycrypt. Regarding the coexisting of network state and provisioning state, would it be possible to use the con
|
By
laczenJMS
· #1172
·
|
|
Reaction to hard fault - how to reset instead of hang
Hi, Sometimes I run into the situation where a hard fault is triggered (e.g. a bluetooth mesh node with a BT_RX_STACK_SIZE that is set to small). The result of this is a system hang. I can correct thi
Hi, Sometimes I run into the situation where a hard fault is triggered (e.g. a bluetooth mesh node with a BT_RX_STACK_SIZE that is set to small). The result of this is a system hang. I can correct thi
|
By
laczenJMS
· #1171
·
|
|
bluetooth mesh on nrf51822-16kb tinycrypt-ecc
Hi, On a zephyr device with bluetooth mesh tinycrypt-ecc is used to generate the ecdh key. Tinycrypt uses a stack of 1kb which is quite large on small ram (16kb) devices. Is it possible to precalculat
Hi, On a zephyr device with bluetooth mesh tinycrypt-ecc is used to generate the ecdh key. Tinycrypt uses a stack of 1kb which is quite large on small ram (16kb) devices. Is it possible to precalculat
|
By
laczenJMS
· #1166
·
|
|
Bluetooth mesh - best method to implement persistent storage
Hi, I have been thinking about different ways to add persistent storage to bluetooth mesh. I would like to add this with as few changes to the library as possible. I would store the data in flash usin
Hi, I have been thinking about different ways to add persistent storage to bluetooth mesh. I would like to add this with as few changes to the library as possible. I would store the data in flash usin
|
By
laczenJMS
· #1157
·
|
|
Bluetooth mesh - node with 2 elements - Not enough tailroom for TransMIC
Hi Johan, Setting CONFIG_BT_MESH_ADV_BUF_COUNT to 7 solved the issue. Thanks, Jehudi 2017-10-17 12:26 GMT+02:00 Johan Hedberg <johan.hedberg@...>:
Hi Johan, Setting CONFIG_BT_MESH_ADV_BUF_COUNT to 7 solved the issue. Thanks, Jehudi 2017-10-17 12:26 GMT+02:00 Johan Hedberg <johan.hedberg@...>:
|
By
laczenJMS
· #1131
·
|
|
Bluetooth mesh - node with 2 elements - Not enough tailroom for TransMIC
Hi Johan, Thanks for the response. I couldn't find CONFIG_BT_MESH_TX_SEG_COUNT as configuration option, but I tried changing CONFIG_BT_MESH_TX_SEG_MSG_COUNT which defaults to 1. I changed it to 10 but
Hi Johan, Thanks for the response. I couldn't find CONFIG_BT_MESH_TX_SEG_COUNT as configuration option, but I tried changing CONFIG_BT_MESH_TX_SEG_MSG_COUNT which defaults to 1. I changed it to 10 but
|
By
laczenJMS
· #1129
·
|