Atmel Studio 7.0 ITM debug & SAM E5x with Atmel ICE?

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

Hi!

 

Is anyone successfully worked with ITM debug send data to Atmel ICE or at least to an J-Link. Atmel ICE is adverticed that supports SWV debug but no any documentation how to use it.

 

I tried with J-link LITE cortex m from https://community.atmel.com/foru...

 

but no success. ITM_SendChar checks if ITM is enabled

 

if (((ITM->TCR & ITM_TCR_ITMENA_Msk) != 0UL) &&      /* ITM enabled */
      ((ITM->TER & 1UL               ) != 0UL)   )     /* ITM Port #0 enabled */

 

and I don't know how to enable it.

 

tried to open the standalone SWO segger application but then Atmel studio stalls and I have to disconnect J-Link and kill atmel studio from task manager...

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

The Atmel-ICE SWV implementation was provided by a plugin to Studio from Percepio AB. The plugin is not available currently (but feel free to send them a mail and ask smiley ).

 

Since Atmel-ICE implements CMSIS-DAP, the SWO data is streamed in a custom vendor command (the implementation was made before CMSIS-DAP introduced SWO support). J-Link can of course be used using it's own SWV viewer (and I wouldn't expect it to hang at all...)

:: Morten

 

(yes, I work for Atmel, yes, I do this in my spare time, now stop sending PMs)

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

Hi meolsen,

 

Thank you for your message on my thread concerining ITM SWV support on Atmel ICE.

 

Although the j-link swo hanging was because atmel studio utilizes the j-link usb and i don't know where to see the swo output, j-link control panel doesnt have any swv/swo viewer button so i tried to open the swo standalone segger app but it needs full usb access and I can't use it in conjuction with atmel studio.

 

meolsen wrote:

The Atmel-ICE SWV implementation was provided by a plugin to Studio from Percepio AB. The plugin is not available currently (but feel free to send them a mail and ask smiley ).

 

Since Atmel-ICE implements CMSIS-DAP, the SWO data is streamed in a custom vendor command (the implementation was made before CMSIS-DAP introduced SWO support). J-Link can of course be used using it's own SWV viewer (and I wouldn't expect it to hang at all...)