ICE CUBE DEBUGS LST FILE BUT NOT THE MAIN.C

Discussion of the PSoC Designer integrated development environment for PSoC1 devices.

Moderators: ericb, dcooper, jonp, dpfunston

ICE CUBE DEBUGS LST FILE BUT NOT THE MAIN.C

Postby ersisltd » Wed Apr 17, 2013 5:35 am

I am using PsoC Designer 5.3 and ICE CUBE. Operating system Win 7.
I Can only debug in boot.asm and LST file and only by stoping at the break points. Step Into function does not work.
I removed and re installed the designer software but didnt help.
Is there a setup point or whats wrong?

I attached a picture describing the situation.

Thanks in advance
Attachments
ICE_CUBE_PROBLEM.png
ersisltd
Newbie
Newbie
 
Posts: 7
Joined: Sat Nov 21, 2009 10:32 am

Re: ICE CUBE DEBUGS LST FILE BUT NOT THE MAIN.C

Postby bobmarlowe » Wed Apr 17, 2013 8:12 am

The M8C_ClearWDT is not a C-statement, but an assembly macro and so is only reflected within the .lst-file. The same applies to the M8C_EnableGInt macro. When you put your breakpoint ie. at the while, you will be directed to the C-source.

Bob
User avatar
bobmarlowe
The Big Cheese
The Big Cheese
 
Posts: 1490
Joined: Thu Oct 06, 2011 2:03 am
Location: Germany

Re: ICE CUBE DEBUGS LST FILE BUT NOT THE MAIN.C

Postby ersisltd » Wed Apr 17, 2013 10:00 am

Thank you very much for the answer.

But I moved the breakpoint to the line where"while(1)" statement is. And result was the same.

I also tried this one:
I removed all the breakpoints. I click the yellow "RUN" (or play) button. Emulation started, and 1 second later emulation stopped at "no-where". It was impossible to find where the step was. I clicked run several times but the response was the same.

I tried my ICE CUBE at a computer with XP operating system with PSoC Developer 4.4. Everything was perfect!
ersisltd
Newbie
Newbie
 
Posts: 7
Joined: Sat Nov 21, 2009 10:32 am

Re: ICE CUBE DEBUGS LST FILE BUT NOT THE MAIN.C

Postby bobmarlowe » Wed Apr 17, 2013 10:57 am

I have got the same environment as you have: Win (vista, not 7) Ice Cube Designer 5.3 and everything runs fine. If in doubt, try to re-install (after a complete de-installation) your programming environment after download from Cypress's website. Might be there are new drivers available.


Bob
User avatar
bobmarlowe
The Big Cheese
The Big Cheese
 
Posts: 1490
Joined: Thu Oct 06, 2011 2:03 am
Location: Germany

Re: ICE CUBE DEBUGS LST FILE BUT NOT THE MAIN.C

Postby ersisltd » Wed Apr 17, 2013 11:39 pm

I found it Bob.

I removed all PSoC programs from the system, incuding the drivers. Restarted the computer. And downloaded again from Cypress web site and installed again (and restarted the comp again).
Result was the same. Debugging session did not know where to go. Stopped somewhere nobody knows.

After looking at the LST file, I noticed that the path to the main was:
FILE: C:\Users\FERDIA~1\DOCUME~1\PDPROJ~1\PDPROJ~1\PDPROJ~1\main.c

And I said to myself that the incomplete names in the path should be the reason.

I created a project with a short name and it worked as it can be seen at the attached picture.

So the problem is do I have to use short names? Is there a solution for that?

Thanks again.

Ferdi.
Attachments
ICECUBE_SOLUTION.png
ersisltd
Newbie
Newbie
 
Posts: 7
Joined: Sat Nov 21, 2009 10:32 am

Re: ICE CUBE DEBUGS LST FILE BUT NOT THE MAIN.C

Postby bobmarlowe » Thu Apr 18, 2013 1:05 am

I had a related problem some times ago with creator 2.1. My name contains a special character that is accepted by windows, but was rejected by Creator leading to a couiple of issues difficult to explain. Some of the files were residing in the user's path which contained that character. This is working now with 2.2 correctly. I created a ew Path for all my PSoC projects, even with spaces within the name, but avoiding ANY language-specific characters. I never use 8.3-short names for my projects.

Bob
User avatar
bobmarlowe
The Big Cheese
The Big Cheese
 
Posts: 1490
Joined: Thu Oct 06, 2011 2:03 am
Location: Germany

Re: ICE CUBE DEBUGS LST FILE BUT NOT THE MAIN.C

Postby danadak » Thu Apr 18, 2013 3:53 am

Regards, Dana.
Field Application Engineer
KB1RHB Mostly listen :)
Semi Retired
User avatar
danadak
The Big Cheese
The Big Cheese
 
Posts: 2008
Joined: Thu Dec 27, 2007 8:42 am
Location: New Hampshire

Re: ICE CUBE DEBUGS LST FILE BUT NOT THE MAIN.C

Postby bobmarlowe » Thu Apr 18, 2013 6:00 am

Yes, regards :mrgreen:
User avatar
bobmarlowe
The Big Cheese
The Big Cheese
 
Posts: 1490
Joined: Thu Oct 06, 2011 2:03 am
Location: Germany


Return to “%s” PSoC Designer (PSoC1 IDE)

Who is online

Users browsing this forum: No registered users and 1 guest