7315 views|32 replies

17

Posts

0

Resources
The OP
 

Ask SAMD21 question [Copy link]

 
I would like to ask if I need to set the fuses and burn the BOOTLOADER before uploading the program to the newly bought SAMD21 blank chip?
This post is from Microchip MCU

Latest reply

Hello, have you solved your problem? I have encountered the same problem as you recently. Can you share it with me? Which BOOTLOADER programmer do you use? Which IDE do you use for programming?   Details Published on 2019-7-10 20:41
 

1370

Posts

2

Resources
2
 
Make fuse and burn BOOTLOADER? What is the purpose?
This post is from Microchip MCU
 
 
 

1w

Posts

25

Resources
3
 
Burn only when needed, generally not necessary
This post is from Microchip MCU
 
 
 

6366

Posts

4936

Resources
4
 
Select as needed
This post is from Microchip MCU
 
 
 

17

Posts

0

Resources
5
 
cruelfox posted on 2019-2-27 10:09 Making fuses and burning BOOTLOADER? What is the purpose of this?
Master, I sent you a message~~~ When I used MEGA328 before, the blank chip had to make fuses and burn BOOTLOADER before uploading the program. So does the blank chip of SAMD21 not need it? Can I upload the program directly after soldering it to the PCB? It's not a development board
This post is from Microchip MCU

Comments

Mega328 does not need a bootloader, ISP can download directly. SAMD21 can download and debug using the SWD port. As long as you reserve the two pins SWDIO and SWCLK for the debugger and solder them to the PCB, you can debug and download.  Details Published on 2019-2-27 11:30
 
 
 

17

Posts

0

Resources
6
 
tiankai001 Posted on 2019-2-27 10:35 Choose according to your needs
In what circumstances is it necessary?
This post is from Microchip MCU

Comments

The fuse is burned only when encryption protection is needed. Bootload is a programming method, and there are other programming methods, such as ISP  Details Published on 2019-2-27 12:07
 
 
 

17

Posts

0

Resources
7
 
dcexpert posted on 2019-2-27 10:12 Burn only when needed, generally not needed
In what cases is it needed? Can you tell me more specifically?
This post is from Microchip MCU

Comments

When an online upgrade is required  Details Published on 2019-2-27 12:23
 
 
 

1370

Posts

2

Resources
8
 
djzoom posted on 2019-2-27 11:16 Great God, I sent you a message~~~ When I used MEGA328 before, the blank chip had to be set with fuses and the BOOTLOADER burned before the program could be uploaded, so...
Mega328 does not need a bootloader, ISP can download directly. SAMD21 can download and debug using the SWD port. As long as you reserve the two pins SWDIO and SWCLK to connect the debugger, you can debug and download after soldering them to the PCB.
This post is from Microchip MCU
 
 
 

6366

Posts

4936

Resources
9
 
djzoom posted on 2019-2-27 11:16 In what cases is it necessary?
The fuse is burned only when encryption protection is required. Bootload is a burning method, and there are other burning methods, such as ISP
This post is from Microchip MCU
 
 
 

17

Posts

0

Resources
10
 
cruelfox posted on 2019-2-27 11:30 Mega328 doesn't need a bootloader either, ISP can download it directly. SAMD21 can be downloaded and debugged using the SWD port. As long as you put the SW ...
Thank you, for example, if I want to make an ARDUINO ZERO, can I just draw the board according to the schematic, buy a blank SAMD21 chip and solder it directly?
This post is from Microchip MCU

Comments

Yes. If you are unsure, you can post the schematic so that everyone can have a look.  Details Published on 2019-2-27 13:13
 
 
 

17

Posts

0

Resources
11
 
tiankai001 posted on 2019-2-27 12:07 The fuse is burned when encryption protection is needed. Bootload is a burning method, and there are other burning methods, such as ISP
It is said on the Internet that for AVR microcontrollers, BOOTLOADER is like the BIOS of a computer, and the program is like the application software of a computer. So when a blank chip is bought, the manufacturer has already made this "BIOS", and unless the individual has special requirements, there is no need to care about it, right?
This post is from Microchip MCU

Comments

Some MCUs have pre-made BOOTLOADERs, while others are made by users themselves.  Details Published on 2019-2-27 13:59
 
 
 

1w

Posts

25

Resources
12
 
djzoom posted on 2019-2-27 11:17 In what cases is it necessary? Can you tell me more specifically?
When an online upgrade is required
This post is from Microchip MCU
 
 
 

1370

Posts

2

Resources
13
 
djzoom posted on 2019-2-27 12:16 Thank you, for example, if I want to make an ARDUINO ZERO, I just need to draw the board according to the schematic diagram, buy the SAMD21 blank chip and solder it directly...
Yes. If you are not sure, you can post the schematic diagram for everyone to see.
This post is from Microchip MCU

Comments

[attachimg]403509[/attachimg]  Details Published on 2019-2-27 13:33
 
 
 

17

Posts

0

Resources
14
 
cruelfox posted on 2019-2-27 13:13 Yes. If you are not sure, you can post the schematic diagram for everyone to see.
This post is from Microchip MCU

Comments

Of course there is no problem with this, as the sockets for the debugging ports are reserved.  Details Published on 2019-2-27 13:36
 
 
 

1370

Posts

2

Resources
15
 
This is of course no problem, the sockets for the debug port are reserved.
This post is from Microchip MCU

Comments

Can I use STLINK? The one sold on Taobao for 10 RMB  Details Published on 2019-2-27 13:47
 
 
 

869

Posts

0

Resources
16
 
Select as needed
This post is from Microchip MCU
 
 
 

17

Posts

0

Resources
17
 
cruelfox posted on 2019-2-27 13:36 Of course there is no problem with this, the socket for the debug port is reserved.
Master, can STLINK be used? It's the kind sold on Taobao for 10 yuan
This post is from Microchip MCU

Comments

As long as your development software supports it, it will work. I don't think ATMEL official development tools support ST-Link  Details Published on 2019-2-27 13:56
 
 
 

1370

Posts

2

Resources
18
 
djzoom posted on 2019-2-27 13:47 Master, can STLINK be used? It's the 10 yuan one sold on Taobao
As long as your development software supports it, it's fine. I don't think ATMEL official development tools support ST-Link
This post is from Microchip MCU

Comments

Master, I don't have JLINK, but only TTL serial downloader. I just used CH340G to connect SAMD21 chip according to TX-RX, RX-TX, DTR-RESET wiring method. When uploading in ARDUINO IDE, it shows "No device found on COM4". Can you tell me what's going on? The same method is used for ARDUINO  Details Published on 2019-2-27 18:05
 
 
 

6366

Posts

4936

Resources
19
 
djzoom posted on 2019-2-27 12:18 It is said on the Internet that for AVR microcontrollers, the BOOTLOADER is like the BIOS of a computer, and the program is like the application software of a computer. So when you buy a blank chip...
Some microcontrollers have a BOOTLOADER that is ready-made, while some are made by the user themselves.
This post is from Microchip MCU
 
 
 

17

Posts

0

Resources
20
 
Thank you for the answer from the teacher above. I always thought that after buying the blank AVR microcontroller and soldering the board, I had to install the fuse and burn the boot program first. Since the teachers said it was not necessary, I will use the TTL serial port downloader to upload it through TX RX and try it~~
This post is from Microchip MCU
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews

Room 1530, Zhongguancun MOOC Times Building, Block B, 18 Zhongguancun Street, Haidian District, Beijing 100190, China Tel:(010)82350740 Postcode:100190

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list