Need help with ATmega 328PB Xplained Mini Nr2

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

 

 

I also have a Atmel-ICE, can I use it instead the USB?

 

I did connect the Atmel ICE together with the USB connection, but I had also trouble with it.

 

Do I have to disconnect the USB connection to the PC when I use the Atmel-ICE and use a seperate power source?

 

Look forward to your advice.

 

regards

 

juergen

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

It would be a lot more useful if the thread title described the problems - rather than just saying "I need help with stuff".

 

Remember that the  Xplained Mini effectively has an Atmel-ICE built-in and permanently connected to the ATmega 328PB.

 

So, if you want to use an external Atmel ICE, you are obviously going to have to take some steps to disable the on-board one!

 

You need to study the boards documentation to see what it says about this: maybe there are links to cut?

 

The board is usually powered via the USB used for the on-board debugger - so, at the very least, you are going to have to find an alternative way to provide power.

There is a section in the manual on how to do that.

 

At the end of the day, I think it's probably simpler to just use the on-board debugger.

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...