I could easily erase my CPU, load code and debug with other project. But when I try to load a particular code. It shows completing load .out file and set PC to entry point and then never stop running at the very beginning of the main function (it by default set automatically return to main after loading load .out file and erase file). When I try to suspend it or terminate it, it waits a long time and shows ''trouble halting target''
It happens frequently sometimes. Only sucessful reach the entry point occasionally (means it would stop at the main function after loading the code). How could I fix it. I spend so much time to just start debugging