2
\$\begingroup\$

I am trying to learn how to program the AVR XMEGA by using the XMEGA-A1 Xplained kit with a JTAGICE3 programmer. I am going through the Xmega Basics pdf (link).

In one of the instructions I am told to open I/O view for the LED port and look at the registers. I should see something like this:

enter image description here

Instead my I/O window looks like this. I get no PORTLED (which is defined in the board.h file). And my PORTE (where the LEDs are located) doesn't carry any information.

enter image description here

Does anyone know what I may be doing wrong?

\$\endgroup\$
  • \$\begingroup\$ Have you checked if you just don't have that column turned on? \$\endgroup\$ – Connor Wolf Dec 15 '14 at 10:16
  • \$\begingroup\$ How do I check this? \$\endgroup\$ – EasyOhm Dec 16 '14 at 0:58
  • \$\begingroup\$ Right-click on the column headers, see if there is a way to change or modify them. \$\endgroup\$ – Connor Wolf Dec 16 '14 at 1:13
2
\$\begingroup\$

After a fresh install of Atmel Studio the view registers pane is off by default, it's the second button in the IO View window and I can see in your screen shot it's turned off. This was with a different ATxmega attached so the registers are different but it looks as follows once enabled:

enter image description here

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.