Viewing External SRAM in AS7 Debugger

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

 

This link https://www.avrfreaks.net/forum/setting-external-sram-project discusses a solution for viewing external SRAM via the EBI in AS6.x.  Essentially, one edits the <device>.xml file and adds a new memory section.  Unfortunately, the <device>.xml files in AS7 are squirreled away in some dB file somewhere.  Does anyone know how to do this in AS7?

 

I'm using an XMEGA-A1U Xplained Pro.

 

 

EDIT: added board

This topic has a solution.

Greg Muth

Portland, OR, US

Xplained/Pro/Mini Boards mostly

 

Make Xmega Great Again!

 

Last Edited: Mon. Feb 29, 2016 - 02:36 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

Opened a new case with Tech Support re this issue.  Will post results when I get them.

Greg Muth

Portland, OR, US

Xplained/Pro/Mini Boards mostly

 

Make Xmega Great Again!

 

This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi

In general editing device.xml file is not a recommended approach.Still if you wants to edit the content in 7.0, it has to be done in two places, .pdsc file and .atdf file under pack folder.This can be found in directory C:\Program Files (x86)\Atmel\Studio\7.0\packs\atmel .

Regards

 

 

 

I edited "C:\Program Files (x86)\Atmel\Studio\7.0\packs\atmel\XMEGAA_DFP\1.0.36\Atmel.XMEGAA_DFP.pdsc" and added the following:

                  <at:memory start="0x4000"
                             size="0x03C000"
                             type="ram"
                             rw="RW"
                             exec="0"
                             name="EXTERNAL_SRAM"
                             address-space="data"/>

under   <devices><family...><device Dname="ATxmega128A1U"><at:extension ...>.

 

And I edited "C:\Program Files (x86)\Atmel\Studio\7.0\packs\atmel\XMEGAA_DFP\1.0.36\atdf\ATxmega128A1U.atdf" and added:

<memory-segment start="0x4000" size="0x03C000" type="ram" rw="RW" exec="0" name="EXTERNAL_SRAM"/>

under <device><address-spaces><address-space name="data"...>

 

I can now see the external SRAM in the debugger memory window.

Greg Muth

Portland, OR, US

Xplained/Pro/Mini Boards mostly

 

Make Xmega Great Again!