nRF52833 #nrf52832
Mohamed Belaroussi
Hello,
I need help with Access Port Protection on nRF52833. I have added the line CONFIG_DEBUG_PORT_ACCESS=y in prj.conf file and now the project does not open in Segger Embedded Studio (SES). I am getting this error, warning: attempt to assign the value 'y' to the undefined symbol DEBUG_PORT_ACCESS Note, I am using this version of Zephyr It looks like I am missing a file where DEBUG_PORT_ACCESS is defined. Kind regards |
|
Carles Cufi
Hi Mohamed,
This look like a question related to Nordic’s nRF Connect SDK. Please ask this question in Nordic’s Devzone instead:
https://devzone.nordicsemi.com/
Thanks!
Carles
From: users@... <users@...>
On Behalf Of mohamed.belaroussi via lists.zephyrproject.org
Sent: 02 February 2022 15:58 To: users@... Subject: [Zephyr-users] nRF52833 #nrf52832
Hello,
warning: attempt to assign the value 'y' to the undefined symbol DEBUG_PORT_ACCESS
Note, I am using this version of Zephyr
It looks like I am missing a file where DEBUG_PORT_ACCESS is defined.
Kind regards |
|
Jason Bens <jason.bens@...>
Hi,
I’m not an expert in this by any means, but I’d like to point you to https://docs.zephyrproject.org/latest/reference/kconfig/index-all.html , which is a list of all of the config symbols as defined by Zephyr. Unfortunately, I don’t see your config option there, or any similar-sounding options.
Additional Kconfig options can be defined elsewhere in your project. For example, I have a kconfig.proj file in the base of my project with additional lines like
config AUDIO_BIT_DEPTH_16 bool "16 bit audio"
This file may need to be explicitly added in CMakeLists file, but adds additional user-defined options. Nordic boards also have additional Kconfig files in their board directory, potentially adding more configuration options. If CONFIG_DEBUG_PORT_ACCESS came from a sample and you only copied the prj.conf setting, you may have missed the definition in one of these files.
Hope that helps,
From: users@... <users@...>
On Behalf Of Carles Cufi via lists.zephyrproject.org
Sent: February 2, 2022 4:05 PM To: mohamed.belaroussi@...; users@... Subject: Re: [Zephyr-users] nRF52833 #nrf52832
External Email: Hi Mohamed,
This look like a question related to Nordic’s nRF Connect SDK. Please ask this question in Nordic’s Devzone instead:
https://devzone.nordicsemi.com/
Thanks!
Carles
Hello,
warning: attempt to assign the value 'y' to the undefined symbol DEBUG_PORT_ACCESS
Note, I am using this version of Zephyr
It looks like I am missing a file where DEBUG_PORT_ACCESS is defined.
Kind regards |
|
Mohamed Belaroussi
Hi Jason, Thank you for your reply. It was helpful. I created a new local Kconfig file in my project folder and added the following lines, menu "MyDevice Settings" config DEBUG_PORT_ACCESS bool "Allow access to debug port across reboots" default false endmenu menu "Zephyr Kernel" source "$ZEPHYR_BASE/Kconfig.zephyr" endmenu and now I am not getting the warning/error I reported in my original post and the project loads fine in SES. Happy days! Kind regards Mohamed On Thu, Feb 3, 2022 at 8:40 AM Jason Bens <Jason.Bens@...> wrote:
****************************** This communication may contain information which is confidential, personal and/or privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s), please note that any distribution, forwarding, copying or use of this communication or the information in it is strictly prohibited. If you have received it in error please contact the sender immediately by return e-mail. Please then delete the e-mail and any copies of it and do not use or disclose its contents to any person. Any personal views expressed in this e-mail are those of the individual sender and the company does not endorse or accept responsibility for them. Prior to taking any action based upon this e-mail message, you should seek appropriate confirmation of its authenticity. This message has been checked for viruses on behalf of the company. ****************************** G4S Regional Management (UK&I) Limited, Registered in England No. 3189802. G4S Care and Justice Services (UK) Limited, trading as G4S Central Government Services, Registered in England No. 390328. G4S Health Services (UK) Limited, Registered in England No. 5121608. G4S Government and Outsourcing Services (UK) Limited, trading as G4S Outsourcing Services, Registered in England No.3175173. G4S Facilities Management (UK) Limited, Registered in England No. 3333860. G4S Investigation Solutions (UK) Limited, Registered in England No. 3749819. G4S Monitoring Technologies Limited, Registered in England No. 2626613. G4S Ordnance Management Limited, Registered in England No. 7068855. G4S Risk Management Limited, Registered in England No. 1540857. G4S Secure Solutions (Iraq) Limited, Registered in England No.5128617. G4S Risk Consulting Limited, Registered in England No. 4047630. The Registered office of all the above companies is 46 Gillingham Street, London ,England, SW1V 1HU G4S Aviation Services (UK) Limited, Registered in England No. 2837136. G4S Secure Solutions (UK) Limited, Registered in England No. 1046019. G4S Security Services (UK) Limited, Registered in England No.2380900. G4S Cash Solutions (UK) Limited, Registered in England No.354883. G4S Cash Centres (UK) Limited, Registered in England No.1485104. G4S Bullion Solutions (UK) Limited, Registered in England No.7860383. The Registered office of all the above companies is 2nd Floor, Chancery House, St Nicholas Way, Sutton, Surrey, SM1 1JB. |
|