Тёмный

Programming with Atmel Studio 7 

Unboxing Tomorrow
Подписаться 1,6 тыс.
Просмотров 29 тыс.
50% 1

How do we go from an idea on paper to code inside a microcontroller? To answer that, we're kicking off a summer project thanks to a versatile, 8-bit microcontroller and development environment: Atmel Studio 7.0.
Today's video included the ATTINY2313-20SU and AVRISP mkII. There is a good chance you can substitute any Atmel (Microchip) device that supports Atmel's In-System Programming (ISP) protocol.
0:00 - Overview
0:40 - The Objective
1:27 - Material Requirements
1:49 - Back up your data
2:41 - Software Requirements
3:04 - Downloading Atmel Studio
3:31 - Installing Atmel Studio
4:46 - Creating New a Project
5:51 - Coding in C
10:20 - Connecting the ISP Programmer
11:05 - Uploading the Code
12:09 - Troubleshooting
13:05 - Closing Remarks
FULL TEXT with REFERENCES:
unboxing-tomorrow.com/program...
SUPPORT US on PATREON:
/ unboxingtomorrow
__________
Notice of Non-Affiliation and Disclaimer: As of the publication date, we are not affiliated, associated, authorized, endorsed by, compensated by, or in any way officially connected with Atmel, Microchip Technology, Microsoft, Arduino, Arduino.cc, Arduino LLC, Genuino, Arduino AG, ARM Limited, ARM Holdings, or their owners, subsidiaries or affiliates.
Back up any data you consider important!
__________
Facebook: / unboxing-tomorrow-1010...
Twitter: / unboxingtomorro
Instagram: / unboxing_tomorrow
Stock Media provided by:
Music: Karma Music (Drumless) - P5 (By: AnthonyAlleeson)
Music: Subatomic Particles - Scientific, Medical, Tasking; Percolating, Rhythmic (By: Groove_Committee)
Music: Coffee Jazz Lounge (Full Length Loop, No Vocals) (By: Scoreweaver)
__________
Important Notice: This video (the “Information”) belongs to Unboxing-tomorrow.com and Voxidyne Media LLC. No license is granted for the use of it other than for information purposes. No license of any intellectual property rights is granted. The Information is subject to change without notice. The Information supplied is believed to be accurate, but Voxidyne Media LLC assumes no responsibility for its accuracy or completeness, any error in or omission from it or for any use made of it. Liability for loss or damage resulting from any reliance on the Information or use of it (including liability resulting from negligence or where Voxidyne Media LLC was aware of the possibility of such loss or damage arising) is excluded.

Наука

Опубликовано:

 

17 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 25   
@unboxing_tomorrow
@unboxing_tomorrow 4 года назад
0:00 - Overview 0:40 - The Objective 1:27 - Material Requirements 1:49 - Back up your data 2:41 - Software Requirements 3:04 - Downloading Atmel Studio 3:31 - Installing Atmel Studio 4:46 - Creating New a Project 5:51 - Coding in C 10:20 - Connecting the ISP Programmer 11:05 - Uploading the Code 12:09 - Troubleshooting 13:05 - Closing Remarks
@ahmetfatihsalim7616
@ahmetfatihsalim7616 2 года назад
pin this
@poornakaushalya4176
@poornakaushalya4176 2 года назад
Thank you for the well described video ❤
@brendanbenedict31
@brendanbenedict31 2 года назад
Good video, thanks
@gabuttv2778
@gabuttv2778 3 года назад
Thanks
@GSProjects12
@GSProjects12 2 года назад
Great video. I have a problem though. I have made my own ISP serial programmer. Long ago I used it, and recently I revived it. I can't remember what software I used with it. Using Arduino as ISP fails for me. I know my programmer worked. How do I use it on the Atmel/Microchip Studio software? Studio does not recognize it. Since computers have no serial port anymore, I now use a usb-serial converter.
@syedalthamish1304
@syedalthamish1304 9 месяцев назад
i tried this. followed all the way through. However, I used a usbasp as a programmer. Despite intalling a driver for the programmer, it wasn't present on the list here @ 11:30
@diyinstinct4502
@diyinstinct4502 Год назад
Thank you for sharing. I have a question. Symtom is programmer power ON --> AS7 start --> programming is OK, but power on/off programmer with AS7 started then programming failed. I need to close AS7 and power on/off ISPMK2 programmer and then AS7 start Ok after. Is it normal for AS7 and programmer? (difficult to explain english is not my first language.) ie. programming failed when programmer power on/off with AS7 already started.
@unboxing_tomorrow
@unboxing_tomorrow Год назад
This is unusual. The old Atmel Studio 7 used to have this problem, which was later fixed. The latest Microchip Studio should work even if the programmer is off at startup. It could also be an out-of-date driver for the programmer. I will see if I can reproduce this problem with ISPMK2, but I don't know the answer.
@diyinstinct4502
@diyinstinct4502 Год назад
​@@unboxing_tomorrow I already use latest Microchip studio. It's very wierd for me. MK2 power on(USB) -> Studio start OK, But Studio started -> MK2 USB connect then timeout occur. I found 'Device programming -> Apply' ok for either case, Only timeout occur when writing to the AVR. More wierd thing is when this happen I power on/off MK2 with Studio opened and wait for about 1min. then writing Ok.
@unboxing_tomorrow
@unboxing_tomorrow Год назад
Any luck? I will retry this on another machine.
@zzzzbisonxzzzz
@zzzzbisonxzzzz 2 года назад
I got lost at DDRB part, where did you get that from, also 1
@blvckbytes7329
@blvckbytes7329 2 года назад
DDRB is a data direction register for port B. Since you didn't provide a timestamp, I have to assume what he did. If you did: DDRB = DDRB | 1
@blvckbytes7329
@blvckbytes7329 2 года назад
BTW, that is defined in avr/io.h the studio automatically includes after you chose the device.
@zzzzbisonxzzzz
@zzzzbisonxzzzz 2 года назад
@@blvckbytes7329 thank you very much for the description. Ive been wondering about this myself and you explained it well. is it safe to say that these boards dont have macro librarys like the stm32 boards?
@blvckbytes7329
@blvckbytes7329 2 года назад
@@zzzzbisonxzzzz I saw that he didn't OR, just override. You can do this when you whip something up real quick, but as soon as your routine isn't the only one manipulating ports, I'd always use masks. I have no experience with STM, sry :(. What would you miss? You can theoretically use all libs you want to, as long as it fits on the chip's flash. I mostly write all stuff myself and don't use STD or Arduino libs.
@unboxing_tomorrow
@unboxing_tomorrow 2 года назад
Quick update on the project: there are 4 more videos coming up to demonstrate bitwise operations, boolean (true/false) operations, and fixed-point arithmetic. The final one should be handy for anyone wishing to save flash space by avoiding floating point math.
@irinagageanu1560
@irinagageanu1560 Год назад
Hi, can you make a video for ATA6264 Atmel Ic please ?
@unboxing_tomorrow
@unboxing_tomorrow Год назад
Today, it looks like there are no major vendors with any in stock. It's older device, but maybe this is also due to the parts shortage. If I can find one on the secondary market, I'll give it a try.
@masmawimdjuah3030
@masmawimdjuah3030 2 года назад
Can you help me how to copy atmega8535 to new mcu ic
@unboxing_tomorrow
@unboxing_tomorrow 2 года назад
Hi. Sorry for the late reply, but I did recently get a ATMega8335. I'll try it outl
@igorstark291
@igorstark291 3 года назад
Professor desejo criar minha própria placa de circuito bem simples
@tomluerssen1666
@tomluerssen1666 2 года назад
yeah good video so far. Im confused. Coding - no problem, connecting - fails sometimes but ok, i basically went through all tutorials about programming with Atmel studio, everbody is like: ok ISP, build solution (F7), then start without debugging. ok cool, got it, only that in my case atmel says "no fck u, uNaBlE to sTaRt dEbUg sEsSiOn". Im surprised how one program can make me dead inside every fckn evening for a week now. Any solution-leading hints will be rewarded with 25 bucks via paypal.
@tomluerssen1666
@tomluerssen1666 2 года назад
Oh and currently my rsp seems to have 3 different device signatures, which all cause errors, interesting...
@BinderTronics
@BinderTronics 2 года назад
If you are using a pickit 4 or mpsnap as your programmer don't bother with trying in circuit debugging otherwise check the DWEN fuse on your MCU. it must be enabled. Note some programmers do not support in circuit debugging as well.
Далее
Getting Started with RISC-V CPUs
10:25
Просмотров 10 тыс.
10 steps to start AVR microcontrollers
28:53
Просмотров 11 тыс.
Bare-Metal MCU #1 - Intro to registers
13:10
Просмотров 69 тыс.
REAL Debugging Arduino + ESP32 | JTAG Programmer
9:05
UPDI - The Next Best Thing Since Bread Came Sliced
18:44
How to get source code onto a PIC microcontroller
11:21
Choose a phone for your mom
0:20
Просмотров 7 млн
Я УКРАЛ ТЕЛЕФОН В МИЛАНЕ
9:18
Просмотров 119 тыс.