Getting started with SAMD21J18A? Compiler choice

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

Hi All

 

I am thinking about using the  SAMD21J18A  for a new project with the ATWINC3400.

 

Can I use the JTAG IC3, with SAM devices?

 

I am to use ASF to get the project up and running quickly.

 

I have noticed there is a choice of compilers, you have the standard GCC and XC8, what is the difference does it affect the ASF library?

 

Thanks

Thanks

Regards

DJ

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


ASF came from Atmel - it assumes GCC, AKAIK.

 

djoshi wrote:
Can I use the JTAG ICE

What does the documentation tell you: http://ww1.microchip.com/downloa... ?

 

As the name suggests, looks like it's JTAG only - so that's a no.

 

To start with SAMD21 I would strongly suggest that you gat a SAMD21 XPlained Pro:

 

https://www.microchip.com/Develo...

 

That gives you a built-in debugger and will be recognised by Atmel Microchip Studio - which will give you a load of ready-to-go examples

 

https://www.microchipdirect.com/... - there seems to be a 15% coupon code at the moment

 

 

 

 

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...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks

 

Yes, I have seen that offer, I will place an order tomorrow. 

 

I am using the JTAG ICE 3(small typo), will that not work? 

 

 

 

 

Thanks

Regards

DJ

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

djoshi wrote:
I am using the JTAG ICE 3(small typo), will that not work? 

Again, what does its documentation tell you ?

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...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

djoshi wrote:
XC8

Doesn't the 8 indicate that it's for 8-bit targets ... ? 

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...