ICE Basic and SAM C21

Go To Last Post
13 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

[moderator: AVR is wrong forum so moving...]

 

Hello,

 

i try to get the SAM C21 Xplained Pro programmed with the Atmel ICE Basic. Double Checked the PIN Connection already. It leads always to the Error 4109 No Device detected. Does someone has any idea where the problem could be? Atmel Studio detects both C21 and ICE but i'm not able to program. Thank you very much for any help.

 

Best Regards

 

makoja

Last Edited: Tue. Jan 26, 2016 - 12:12 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The voltage seems high for an ARM (reads 4.1V) and the SWD frequency is at 0Hz.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi js,

 

thanks for your answer. The C21 Xplained Pro allows to run either at 5V or at 3,3V. I tried both Voltage settings same Error. The Picture i posted was just for information, in this case the SWD Frequency was at 0 Hz but i tried it before at 32 kHz and at maximum Speed with 2 MHz. I also tried with extern Power, because i thought maybe there are some issues with the EDBG and the ICE Programmer but always ERROR Code 4109. Are there any other Solutions i could try to get it working?

 

Best Regards

 

makoja

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Normal Voltage (with USB Connection) is at 4.7 V. If i connect the ICE Voltage drops down to 4.1 V (see picture). Meassures shows that there is still a Voltage of 4.7V between VCC and GND. Could this be part of the problem?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Does the C21 Xplained pro work with the built in EDBG debugger and programmer?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Yes the EDBG works fine, i tryed now to disconnet the EDBG from the MCU how its proposed in the datasheet but no change, expect the EDBG is not working anymore but this isn't a big surprise ;)