Тёмный
No video :(

Getting started with AVR and Linux command line tools 

Uwe Zimmermann
Подписаться 1,4 тыс.
Просмотров 9 тыс.
50% 1

In this video I describe how to compile and upload a small piece of code onto an ATmega32U4 using the avr-gcc toolchain and only command line tools under Linux.
I use an Ubuntu installation in the Linux subsystem on a Windows 10 computer.
Tools needed:
$ sudo apt-get install binutils gcc-avr avr-libc uisp avrdude flex byacc bison

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

 

29 авг 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 13   
@johnnybravo2342
@johnnybravo2342 3 года назад
thank you for that video! i needed this for a long time. it's so hard to find the simplest examples sometimes
@ivanm.3522
@ivanm.3522 3 года назад
Very nice video Uwe! Straightforward and well explained. Many thanks thumbs up and subscribed.
@meoDomicio
@meoDomicio 2 года назад
thank you for that video, is good for my
@silenthunter0019
@silenthunter0019 3 года назад
thank you
@user-fe5np7xq7l
@user-fe5np7xq7l 2 года назад
Thank You!
@tester428
@tester428 2 месяца назад
Hii could you please provide a tutorial on how to change the cursor pointer to the one you use in this video ?
@uwezimmermann5427
@uwezimmermann5427 2 месяца назад
luckily I don't have to: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-kwSqtNvT7to.htmlsi=pu2uKx6T8CqcjTRU&t=487
@samferrer
@samferrer 3 года назад
I wonder if this program would do the same (kind of task schedule oriented): #include #include int main() { DDRE = 0b01000000; int i = 0; while(1) // an iteration per millisecond { switch (i) { case 0: PORTE = 0b01000000; break; // task at time slot 0 case 100: PORTE = 0; break; // task at time slot 100 } i = (1 + 1) % 1000; }
@uwezimmermann5427
@uwezimmermann5427 3 года назад
Your program is built around a state-machine and in principle it will blink the LED in a similar way. But there is nothing in your code which takes care of the exact timing. At a clock frequency of 8 MHz as in our case, one iteration inside your while-loop will be much faster than 1 ms. Including the overhead of the 16-bit compare/add/modulo operations, I would estimate something like 20-25 instruction cycles per turn, this would mean 8 MHz/25=320000 loops per second or 3 µs per cycle, 300 times faster than your assumption. We could test this in one of our lab sessions. Also my goal with this short video - possibly not only for the audience in our course - was to keep the code as simple as possible. The switch-case-statements are something I personally like but consider an somewhat advanced knowledge. A purist programmer would perhaps point out that a switch-case-statement never should miss, every possibility should be covered - if nothing else by a default-clause...
@gapguy9564
@gapguy9564 2 года назад
@@uwezimmermann5427 amazing grip on subject. SIR
@waldolemmer
@waldolemmer 2 года назад
"All three operating systems"
@XR5PL
@XR5PL 3 года назад
danke!
Далее
Getting started with AVR and platformio
18:09
Просмотров 12 тыс.
The Unreasonable Effectiveness of Linux Workstations
12:47
Woman = best friend🤣
00:31
Просмотров 3,7 млн
what will you choose? #tiktok
00:14
Просмотров 7 млн
Bare-Metal MCU #7: Libraries (Preprocessor & Linker)
19:58
The mind behind Linux | Linus Torvalds | TED
21:31
I forced EVERYONE to use Linux
22:59
Просмотров 477 тыс.
Linux New User Guide: 10 Things I Wish I Knew
23:31
Просмотров 452 тыс.
The world's oldest Linux peripheral?
21:44
Просмотров 57 тыс.
Getting started with AVR and PlatformIO under Linux
13:35
10 steps to start AVR microcontrollers
28:53
Просмотров 12 тыс.
Unix vs Linux
13:59
Просмотров 1,6 млн
Woman = best friend🤣
00:31
Просмотров 3,7 млн