Atmel Studio 6.2 (build: 1563) - problem with debugger, yellow arrow

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

Hi guys!

 

I have Windows 10 operation system and just installed Atmel Studio 6.2 build 1563.

 

The problem is, when I make a project for assembler and Attiny2313 and set simulator in tool propeties for the project.

Then I wrote, a basic code like:

 

LDI R16, 5

Loop: NOP

NOP
NOP
DEC R16

RJMP Loop

 

I build the project (F7), and go to debug section (F10) and now I don't have yellow arrow which should show the line of my current code. Where is the problem?

 

Thanks for any help :)!

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

Please note that it seems you are using a very old version, current version AS7 - Version 2389. Maybe try the latest version first, I don't have the latest version either but I'm still on Win7.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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


Just to confirm that in 2389 I see:

 

 

The thing is though that 6.2 was the first version (after a lot of early 5.x and 6.(<2) that were riddled with bugs) where most things seemed to work. So I'm kind of surprised if the 2313 Sim would not work in 6.2. You sure you are using it right?

 

You said:

Przemyslaw Kurzak wrote:
I build the project (F7), and go to debug section (F10)

but that's missing an important step? Surely you mean:

 

F7, Alt+F5, F7 

 

???

 

That is you have to "Start Debugging and Break" after building before F7 single-stepping is available. Alt+F5 is the key combination for "Start Debugging and Break" . You can also access it on the Debug menu:

 

 

Or, as I think most people do, just use the toolbar icon:

 

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

clawson

 

There is a  window, when I press (F7 - build) and then (alt+F5). As you can see, I don't have yellow arrow - but on the right bottom in Call Stack i see in which line I'm. Additionally I can't set breakpoint uring I'm in debug section (really I can, but I can't see it).

 

 

Why I use version 6.2 sp2 (build 1563)?
Because of teacher requirements (below link to site of my subject: low level programming).
https://sites.google.com/site/ag...

 

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

Well my 7.0.2389 works and your 6.2.1563 clearly does not. Seems obvious to me how to resolve this - hope your teacher agrees.

 

(it's not exactly the best education to have folks using old, outdated, buggy software anyway!)

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

Przemyslaw Kurzak wrote:
Because of teacher requirements

Then you should ask your teacher for assistance, as it is clearly not working as expected!

 

Jim

 

Click Link: Get Free Stock: Retire early! PM for strategy

share.robinhood.com/jamesc3274
get $5 free gold/silver https://www.onegold.com/join/713...

 

 

 

 

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

I found one suolution, and my colleague found another one:

1. Install Atmel Studio on Virtual Box - it works ;)
2. Add another account to windows and there run Atmel Studio - it works ;)

 

Thanks guys for any help!