- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All, DheerajP_41
I enabled the debug option on project application setting and received following error. The board not detected , what could be the issue?
KIT : CYBT-213043-MESH EX_BT
my board detected as,
I installed jlink drivers ! but not compatible seems.
Thanks
Ashok r
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ashok Ra,
You can use the below three debug traces which provide insights while debugging any Mesh-related issues. These flags enable traces in prebuilt Mesh libraries provided by Cypress. However, enabling these debug traces increases the application size and will limit the flash memory size available for user application code.
MESH_MODELS_DEBUG_TRACES: This box, when checked, turns ON debug traces from the Mesh Models Library.
MESH_CORE_DEBUG_TRACES: This box, when checked, turns ON debug traces from the Mesh Core Library.
MESH_PROVISIONER_DEBUG_TRACES: This box, when checked, turns ON debug traces from the Mesh Provisioner Library.
MiniProg3 will be use only with PSoC devices (https://www.cypress.com/file/44091/download ).
Thanks,
-Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi AsRa_264661,
Could you please go through https://www.cypress.com/file/462726/download to know about hardware debugging. All the Hardware and software requirements and procedures for hardware debugging is documented here. To do hardware debugging you need a separate piece of HW. Current hardware debug support for CYW207xx and CYW208xx devices requires either a Segger J-Link probe or OpenOCD supported probe.
please check whether you have missed any obvious steps.
Thanks,
-Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi DheerajP_41
I had gone through the document , my doubt was with the kit CYBT-213043-MESH EZ-BT because , we are able to flash the firmware without external debuggers but for debugging why its looking for Jlink?
Is there way to debug without external debugger?
I did not find proper slot to connect my MiniProg3 also. i have to use separate wire connection with J4.
So suggest me the best way to do.
Thanks
Ashok R
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ashok Ra,
You can use the below three debug traces which provide insights while debugging any Mesh-related issues. These flags enable traces in prebuilt Mesh libraries provided by Cypress. However, enabling these debug traces increases the application size and will limit the flash memory size available for user application code.
MESH_MODELS_DEBUG_TRACES: This box, when checked, turns ON debug traces from the Mesh Models Library.
MESH_CORE_DEBUG_TRACES: This box, when checked, turns ON debug traces from the Mesh Core Library.
MESH_PROVISIONER_DEBUG_TRACES: This box, when checked, turns ON debug traces from the Mesh Provisioner Library.
MiniProg3 will be use only with PSoC devices (https://www.cypress.com/file/44091/download ).
Thanks,
-Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks DheerajP_41
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI DheerajP_41
I tried to debug with Jlink plus, and struck in Section 2.2 , step5 https://www.cypress.com/file/462726/download
Target Device is not selected, any idea?
GDB is avilable in path = C:\msys64\mingw32\bin
Thanks
Ashok r
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ashok Ra,
Are you using CYBT-213043-MESH kit for hardware debugging?
Then please check the wiring connection which you have made between your J-link segger and MeshKit? What all pins you have used for connecting your J-Link segger to the MeshKit?
The configuration done on the DGB server seems to be correct. Can you please follow the updated document WICED-Hardware-Debugging.pdf which you can get from \ModusToolbox_1.1\libraries\bt_sdk-1.1\docs\BT-SDK.
Thanks,
-Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI DheerajP_41
My setup looks like below,
can you tell me what we need to choose? in target selection scroll view. And if i don't find the relevant chip what should do?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you please follow the updated document WICED-Hardware-Debugging.pdf which you can get from \ModusToolbox_1.1\libraries\bt_sdk-1.1\docs\BT-SDK.
I have checked the scenario and it is working for me. You can follow below steps. For detailed steps please go through the above document.
1.Plug in the J-Link Segger in to the PC and connect the Evaluation kit to the J-Link Segger using probe socket (10 pin)
2.Import required application to the modus and enable Debug from 'cahnge application settings'
3.Program the application to the kit with debug.
4.See the modus console for the debugging logs.
Thanks,
-Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ok DheerajP_41
I tried and works now! but why this BUSY_WAIT is required? i just commented it out.
Thanks
Ashok r