SAM R30 not seen by Atmel Studio

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

I am trying to test SPI_INIT_TEST1 Example project on SAM R30 Xplained Pro in Atmel Studio and selected Current Device ATSAMR30G18A but the Atmel Studio doesn't recognize EDBG Virtual COM Port (COM8). I do not see any available tool except Custom Programming Tool and I got [WARNING] The back end process exited with code -1073741819

 

I installed SAMR30_DFP 1.1.35 (2017-02-07) and 1.0.27 (2016-09-08) in Atmel Studio for ATSAMR30E18A and ATSAMR30G18A (chip on the SAM R30 Xplained Pro)

 

EDBG LED Control on SAM R30 Xplained Pro is in Bootloader mode (idle). The power LED and the status LED blink simultaneously.

 

How to fix it?

This topic has a solution.
Last Edited: Tue. Dec 10, 2019 - 02:07 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

In Studio got to Tools -> Command Prompt.
Then type:
atfw -t edbg -a "C:\Program Files (x86)\Atmel\Studio\7.0\tools\EDBG\edbg_fw.zip"

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

Thank you. Unfortunately it does nothing.

 

tasklist | findstr /i "al"     returns AtmelStudio.exe only     atbackend.exe is not running [WARNING] The back end process exited with code -1073741819

 

Last Edited: Tue. Nov 19, 2019 - 10:12 AM
This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I managed to get it work by disabling the "Data Gateway Interface" in the windows device manager. This is the driver that permits I2C, SPI, and maybe GPIO access through the EDBG chip.  It's not actually used for programming or debugging.
 

You can check it manually too:
 

C:\Program Files (x86)\Atmel\Studio\7.0\atbackend>atfw -t edbg -l
Connected tools:
edbg            ATML2722081800000495
 

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

I'm seeing the same type of failure.

While disabling the data gateway works for programming it isn't really a solution if you actually need the data gateway.

Still looking for a real fix.

 

Bob