I could program and debug this project for the first time. But the problem is that I can’t reprogram or debug it again. There is no bootloader on the chip. The only way to communicate with this chip is SWD. As a debugger, I am using Atmel ice. The microchip is SAMD21E16B-U. The project is created by Atmel Start. Visual Studio is used as an IDE to import the project.
After debugging again, the error is:
No connection could be made because the target machine actively refused it.
– The problem may be because of setup. I am not sure what I missed. I followed the visualGDB website for importing this project.
– I checked the power connection.
– There is no option for “connect under reset” on visualgdb debug setting. However, this option was available on STM chips.
I really appreciate it if you can guide me on what I can do for reprogramming this chip? Or which information I should look for. Thanks for any helpful recommendations, in advance.
Attachments:
You must be
logged in to view attached files.