ATXMEGA64A3U PBPORT4 - 7 JTAG pin

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

Hi everybody,

 

I program it in ATXMEGA64A3U.

I made LED brinking program PBPORT0 - 7 turned onoff.

 

The LED which I connected to PBPORT0 - 3 turned on.

but,PBPORT4 - 7 LED I can't blinking.

 

 

According to the data sheet, PBPORT4~7 was written as JTAG pin.

 

I found MCU Control register's JTAGD bit.

When I tried to set JTAGD bit in JTAGICE3 debugging mode , but I can't. 

 

JTAG function seems to become invalid if I set JTAGD bit, would you tell me how to change this bit?

 

 

Thank you.

 

 

 

This topic has a solution.

kenji maehara

Last Edited: Wed. Nov 12, 2014 - 06:10 AM
This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi.

 

Use Device Programming under Tools and turn it off there.

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

No,   you should turn JTAG off in software.     Otherwise you won't be able to program with JTAG interface.

 

Obviously you can not do any JTAG debugging if you disable JTAG.

 

I have not checked the A3 docs.    You may have PDI as an alternative interface.

 

AS a general rule,   you try to do your development without using the JTAG pins for GPIO.

Once the project is complete,    you can re-compile to use the pins for GPIO.

 

David.

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

There was JTAGEN function. Thank you so muchwink.

kenji maehara

Last Edited: Wed. Nov 12, 2014 - 08:47 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

There was JTAGEN function. Thank you so much.smiley  And I debugged it in the case of me in PDI, it was all right. thank you for your help.

kenji maehara

Last Edited: Wed. Nov 12, 2014 - 08:47 AM