Sunday, September 24th 2017, 1:33am UTC+2

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

i_kidonakis

Beginner

Date of registration: Jan 16th 2014

Posts: 2

1

Monday, January 20th 2014, 11:33am

[SOLVED]Cycle Counter and Stop Watch are always 0 during debugging

Part Number: ATSAM4LC4B
Development Environment: AtmelStudio 6.1 (GNU gcc) + J-Link (JTAG) + custom board

Hello.

"Cycle Counter" and "Stop Watch" (Processor tab) are always zero during debugging.
CycleCnt is always zero also in J-Link's Contol panel ("CPU Regs" tab), while debugging via Atmel Studio (J-Link is connected as JTAG).
But if the J-Link's console (J-Link Commander) is used (instead of the Atmel Studio), then the CycleCnt alters on go/halt, but not on single-stepping.

Please help!

Thank you in advance.

SEGGER - Alex

Super Moderator

Date of registration: Dec 18th 2007

Posts: 1,508

2

Wednesday, January 29th 2014, 2:47pm

Hi,

Fixed in V4.80d: http://www.segger.com/jlink-software.html


Best regards
Alex

i_kidonakis

Beginner

Date of registration: Jan 16th 2014

Posts: 2

3

Thursday, January 30th 2014, 12:27pm

CLOSED

I confirmed that CycleCnt increases as expected.
Best regards.