Debugging error

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
AlVa_264671
Level 5
Level 5
25 sign-ins First like given First like received

Hi every one!, may be someone can help me with a debugging error I get when I trying to debugg the simple assembly code  I have atacched in the pdf file.

   

I get the follow message:

   

 

   

    

   

          

   

" Debugger exited unexpectedly during run. Encountered error (Remote communication error: No error.)

   

 

   

There was an unhandled error during the debug session. This has forced the debugger to shutdown. Try again."

   

 

   

I did not changfe  any clock  and I am not using watchdog.

   

Thank you very much for any help

9 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

PDF file is missing. Use internet explorer when attaching, chrome does not work.

   

 

   

Bob

0 Likes

Hello Bob

   

 

   

can you help me with similar problem?

   

 

   

I have CY8C5468 and miniprog3 and own board, which I can tune.

   

If I start Debug and program go to row with init analog pheripherals as waveDAC_Start() or Opamp1_Start() after that PsoC Creator call error:

   

" Debugger exited unexpectedly during run. Encountered error (Remote communication error: No error.)

   

 

   

There was an unhandled error during the debug session. This has forced the debugger to shutdown. Try again."

   

 

   

 

   

Supply is external 3,3V and comunication speed is 1,6MHz.

   

 

   

Do you have some idea?

   

 

   

Michal

0 Likes
MiRe_1607246
Level 2
Level 2

Hello I have similar problem,

   

 

   

I have CY8C5468 and miniprog3 and own board, which I can tune.

   

If I start Debug and program go to row with init analog pheripherals as waveDAC_Start() or Opamp1_Start() after that PsoC Creator call error:

   

" Debugger exited unexpectedly during run. Encountered error (Remote communication error: No error.)

   

 

   

There was an unhandled error during the debug session. This has forced the debugger to shutdown. Try again."

   

 

   

 

   

Supply is external 3,3V and comunication speed is 1,6MHz.

   

 

   

Do you have some idea?

   

 

   

Michal

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

When possible, remove external supply and power your board with miniprog3.

   

Is the debugging enabled?

   

Can you please post your complete project, so that we all can have a look at all of your settings. To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.

   

 

   

Bob

0 Likes
lock attach
Attachments are accessible only for community members.

Hello Bob,

   

 

   

 

   

thanks for your willingness.

   

 

   

program is on rou where is Opamp1_Start and sineDAC_Start();

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

I just compiled your project for a CY8CKIT-059 Prototyping Kit and stepped through every single line of your code.

   

I suppose that might be a hardware bug.

   

 

   

Bob

0 Likes

OK Bob, thank you a lot.

0 Likes

Hello Bob,

   

 

   

I was find HW bug. Problem was in analog power supply for analog pheripherals. I taked to analog supply pin small capacitor. Problem is solved. Thank for your helpfulness

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Congratulations!

   

 

   

Bob

0 Likes