I am not able to attach the debugger to the running program in ADSP BF561.
Every time i try to do that, application in getting restarted.
Can you please confirm whether you are booting the application and trying to connect the session which results resetting the processor? Note that physically connect the emulator to the target board when running the processor is not recommended.
Please note that by default, once the IDDE connects to the target it halts the processor, and performs a Core Reset. So I would suggest you to refer below FAQ which describes how to setup an initial connection of IDDE to simply halt the target processor once VisualDSP++/CCES connects to your board
For VDSP++: FAQ: How to debug a target board which boots from Flash?
For CCES: FAQ: How to debug a target board which boots from Flash using CrossCore Embedded Studio
Please let me know if this doesn't helps you.
Retrieving data ...