- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
I am having trouble with this project in debugging mode, it shows "Debugging - Running", but the Pause Button (Halt Execusion, Ctrl+Alt+Break) is grayed out. The Break points I set in the main loop will not break either. Is there a project setting I missed?
Another question, this project seems to be ported from an older PSoC 1 project, see AN2283. What's the reason to use UDB for PWM in this project, instead of using the TCPWM component of PSoC42xx.
Thanks,
Chantal
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Change the Debug select to SWD in the *.cydwr->system. It is set to GPIO.When it is set to GPIO you cannot run in debugging mode.
Regards,
Vikas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here are a couple of projects for freq/period counters -
www.dropbox.com/s/gxw2ui8yuvijqnf/Pulse%20Width%20and%20Period%20Measurement%20Method%201.zip
www.dropbox.com/s/yfpotq2rsmcmtuy/Pulse%20Width%20and%20Period%20Measurement%20Method%202.zip
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you, Dana.
This project # 42 can run on my PSoC 4 BLE poineer kit. I just wish someone else has tried it and could share some insights so I could make it work in debug mode.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Post your project and forum can take a look at it -
“File” Creator
“Create Workspace Bundle”
Keep in mind when debugging with PSOC HW continues to run, so
that affects how breakpoints and variables return values.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Dana,
Here attached is the bundle. Can you get it to work in debug mode?
Here is the link to the original BLE project #42
http://www.cypress.com/?rID=111341&cache=0
Thanks,
Chantal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I noticed your heap size set to 0x00 ?
Try 0x400 or 0x0FF for starters. *.cydwr file, system tab.
What version of Creator are you using, I am getting a dependancy error on PWM.....
I just opened it up under 3.1 SP3, now OK.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
PSoC Creator 3.1 SP3 (3.1.0.2288)
I changed Heap to 0x0400, still can't break in debug mode.
Thanks,
Chantal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am not getting a "normal" debug startup, and debug controls are
active. But when started did not halt inside main() like is normal for
start of a debug session.
Post a CASE on this ?
To create a technical case at Cypress -
“Support”
“Technical Support”
“Create a Case”
You have to be registered on Cypress web site first.
When you do also call out the fact the heap was set to 0x00.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Change the Debug select to SWD in the *.cydwr->system. It is set to GPIO.When it is set to GPIO you cannot run in debugging mode.
Regards,
Vikas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, Dana.
I tried to create a new case, for some reason I can't type inthe Select Product/Family field, can you give it a try?
Thanks a lot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Click on the magnifying glass icon and then you
can search/enter.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, Vikas. Set Debug select to SWD got it working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, Dana.
Took Firefox forever to popup the select window.