#1 How computers count?

Поділитися
Вставка
  • Опубліковано 18 січ 2025

КОМЕНТАРІ • 367

  • @tarinisharma3687
    @tarinisharma3687 2 роки тому +6

    Hi, I got the tiva C ek-tm4ac123gxl board but cannot see the device listed in the project-general options . What should I select as "device" from the listed options. This is my first embedded programming course. :-). I wish to run/debug the code on the board.

    • @StateMachineCOM
      @StateMachineCOM  2 роки тому +3

      You should select the TM4C123GH6PM device. But please, visit the companion web page included in the video description www.state-machine.com/quickstart , where you can find all the information and additional resources. Also, you should download the ready-to-use *projects* for the lesson (from GitHub or from the ZIP files listed for each lesson on the companion page). That way, if you have any trouble with your own creations, you can compare them to the working projects. --MMS

    • @satish8299
      @satish8299 2 роки тому

      Is there a virtual box or vmware that emulates the ARM Cortex-M board ?

    • @rvlad13
      @rvlad13 Рік тому

      @@satish8299 you can use qemu

    • @srivamsimalladi5577
      @srivamsimalladi5577 Рік тому +1

      ​@@satish8299 The IAR Embedded Workbench IDE itself comes with a Simulator that does the job of what you are asking for, by emulating an ARM Cortex-M board

    • @shaikpeeran1566
      @shaikpeeran1566 Рік тому

  • @sandpaper-egg-2020
    @sandpaper-egg-2020 Рік тому +28

    I recently got hired by a company for a mixed programming position. I had NO experience in embedded systems programming whatsoever and was struggling to catch up. This course single-handedly brought me up to speed with quality and clarity unrivaled by any other UA-cam training course (and I have watched quite a few). If you have just found this course, keep going. You have come to the right place. The fact that Miro Samek has posted this course for free is the height of scholastic generosity. I have learned more from this course than any computer-science college class.

    • @StateMachineCOM
      @StateMachineCOM  Рік тому +11

      Wow! Thank you so much for such a nice comment. I'm happy to hear that my videos helped someone. For each video I make, I try to remember the beginning of my embedded career and what I wished someone had not only told but shown me at that time. I'm really glad to hear that this approach works for you. --MMS

  • @TheAsphaq
    @TheAsphaq 9 років тому +37

    Your statement "This is how my hands look after programming for 20 years." brought a smile on my face. :)

  • @stovegamesgames6917
    @stovegamesgames6917 3 роки тому +24

    8 years later and this is still very helpful!

    • @StateMachineCOM
      @StateMachineCOM  3 роки тому +10

      The fundamentals of computing, like counting and binary representation of numbers, are not likely to change any time soon. Therefore these videos are going to remain relevant still for quite some time... --MMS

  • @debajyotichatterjee5863
    @debajyotichatterjee5863 6 років тому +5

    The use of a circle to explain the 2's complement representation of a negative number is awesome!

  • @ZoneXXL
    @ZoneXXL 12 років тому +1

    These tutorials are the best of their kind on the net. Eventhough, my skill level is beyond them, I found myself watching them all.

  • @ShawnGerber
    @ShawnGerber 11 років тому +1

    One of the better training series I've seen on UA-cam. The board is still only $7.99!!! What a deal. Thanks!

  • @sumedhburbure4173
    @sumedhburbure4173 5 років тому +2

    Hello, Thank you ! I want you to know that your lessons are still guiding us newbies in the world of embedded systems. THanks For being a torch in the dark!!

  • @FahadShah822
    @FahadShah822 11 років тому +4

    Wow, this is exactly what I've been looking for when I was taking an embedded systems course. I still can't get over the quality of the editing. Unbelievable work, my friend.

  • @jamescullins2709
    @jamescullins2709 11 років тому +54

    I have listened to 2 of your lessons and they are the best I have seen. Love your 8 fingered hands.Glad you plan to continue the lessons. I am learning a great deal an beginning to feel comfortable in embedded systems. Thanks again

    • @StateMachineCOM
      @StateMachineCOM  6 років тому

      Yes, there are of course 4 BITS in a nibble. This slip of the tongue has been already brought up in the older comments (e.g., by Zbygnoew Pbrzybyshobizewski 2 years ago). --MMS

    • @alanmoreno6330
      @alanmoreno6330 2 роки тому

      @@StateMachineCOM well thats a made up name

    • @satish8299
      @satish8299 2 роки тому

      Is there a virtual box or vmware that emulates the ARM Cortex-M board ?

  • @Truth_seeker_24
    @Truth_seeker_24 4 роки тому +2

    This is a very awesome course wherein you teach basics very elegantly by showing the information available on IDE. Very very good for engineers like me who kind of are aware of basic stuff but don't know their way around IDE's and have last done embedded C during academic years. Many thanks an God Bless :)

  • @StateMachineCOM
    @StateMachineCOM  11 років тому +10

    Thanks a lot! I appreciate the encouragement to keep doing this video course.
    --Miro

  • @murrij
    @murrij 10 років тому

    One comment - I had to stop and start IAR Workbench after installation before I got the option to pick C under project types when creating a project. Before stopping and starting all I got was ARM for an option. When clicking on ARM I got nothing underneath it.
    What a wonderful set of lessons. Thank you for these. You really rock!

  • @jimjam623
    @jimjam623 12 років тому +1

    Oh to have had access to tutorials of such quality when I was starting out with the C language and Cortex-M3 processor. Very nice - thank you Miro!

  • @stpnyes
    @stpnyes 11 років тому +1

    Thank you very much! This is the best course on ARM I have seen by far. You should write a short book or smth.

  • @thisaintmyrealname1
    @thisaintmyrealname1 4 роки тому +1

    Well done, I really like how it progresses naturally; all these new concepts you introduced, they just flowed because of genuine necessity. I'm definitely going to follow through with this series. Thank you sir.

  • @prashantpatil203
    @prashantpatil203 8 років тому +2

    Really helped me to enter in the Embedded systems world. Thanks a lot.!

  • @StateMachineCOM
    @StateMachineCOM  11 років тому +1

    For now, you can watch the already posted lessons 2-9 to find out whether or not you like embedded programming of microcontrollers. I intend to continue the course, so in time it will cover more and more advanced concepts.
    From what I hear from recent CS graduates, they no longer learn about the inner workings of computers, so I think that this course fills a growing gap of knowledge.
    To me embedded is fun, because exactly you _know_ what is going on at the low-level.
    --MMS

  • @mayursj3175
    @mayursj3175 Рік тому +1

    Very informative video really helped me to understand ARM cortex processor thank you very much

  • @quaternion-pi
    @quaternion-pi 10 років тому +3

    You are a fantastic teacher. Thanks for taking the time to do this series. Since I am using the Tiva C series Launchpad TM4C123GXL board I configured the microprocessor to TM4C123FH6PM in the IAR workbench - works perfectly with your tutorials.

    • @manjinderkaur119
      @manjinderkaur119 7 років тому

      Mine is not working although i have used the same settings.

  • @StateMachineCOM
    @StateMachineCOM  11 років тому +11

    The ARM Cortex-M uses the THUMB2 instruction set and does not use the ARM instruction set at all. Many THUMB2 instructions are 2-byte wide. However, some instructions, such as some branch instructions are 32-bit wide. All instructions must be aligned at 2-byte boundary (even address).

    • @WRAND2208
      @WRAND2208 9 років тому

      hello.nice tutorial and I hope to follow the rest.thank you for uploading. i need some advices from you.hope you have some time. i am very new to embedded system development but i have some xp in software development. how should i get into embedded systems.what are the ideal steps to get to industrial embedded system development. arduino is mostly hobbyist but will it be a good first step.which way i should evolve.please share your xp and thoughts.thank you.

  • @pointy224
    @pointy224 9 місяців тому +1

    Awesome resource for beginners like me, thank you!
    I notice a difference in the assembly instructions generated in IAR and those generated in ARM uVision. Is there some way to configure the disassembly window to show the same instructions so I can step through the code with the video?

    • @StateMachineCOM
      @StateMachineCOM  9 місяців тому +2

      To my knowledge there is no way to make two different compilers produce the same exact code. Please note that this is NOT a matter of configuring the disassembly window in the debugger. The disassembly view merely shows the code stored in ROM and that code had been produced by the compiler. The compilers have a large degree of freedom in allocating the CPU registers to temporary variables, and many other things. In fact, this is how compilers compete with each other, by making claims like: "compiler ABC produces smaller or faster code than compiler XYZ". However, the most important aspects of the generated machine code will be the same for all compilers. For example, most functions will return with the BX LR instruction. --MMS

  • @888Antoine
    @888Antoine 6 років тому

    Too think out of all the stuff i have been learning online this topic has been the hardest in which to find a good teacher..alas the search has ended! Thank you!

  • @ahsanbaig74
    @ahsanbaig74 5 років тому +1

    I think just because of you I feel I am able to say that today i learn something, I am speechless so i thought to TYPE, :)
    i think you are more lovely than the word "lovely"

  • @yashesvi-raina
    @yashesvi-raina 4 роки тому +2

    It's 2021 and I am taking this course ! this is so cool! :p

  • @rishabhkasliwal2476
    @rishabhkasliwal2476 10 років тому +1

    thank you miro, this tutorial series helped me get started with stellaris.

  • @Yusuf-dx4hw
    @Yusuf-dx4hw 4 роки тому

    Thank you very much Sir. You made my day.I can understand how the machines work and my passion for engineering increased with your contribution.

  • @CheerfulGalah
    @CheerfulGalah 11 років тому

    I.LOVE.YOU!!!!! Fantastic explanation on both conceptual materials and demonstrations! I.LOVE.YOU!!!!! Produce more videos please, please, please.

  • @santiagoflores7726
    @santiagoflores7726 6 років тому

    Best tutorial I've ever seen in my life!!!!!!! Thanks!

    • @patricializarazo4081
      @patricializarazo4081 5 років тому

      Hola amigo,tu sabes Qué tal es la demanda laboral en esta área en ARM ? A comparación de web developer

  • @juniorlucival
    @juniorlucival 11 років тому

    my name is Lucival from Brazil, and I'd like to congratulation for your job, great job, very very nice, good quality video and method.

  • @Michaeltech
    @Michaeltech 12 років тому +2

    These tutorials are really awesome. Thanks for the help!

  • @StateMachineCOM
    @StateMachineCOM  11 років тому +2

    Yes, that's actually what I was trying to say. All projects created in this course run ont the Tiva C Series LaunchPad as well as on the slightly older Stellaris LaunchPad.
    --MMS

  • @YSJCA
    @YSJCA 9 років тому

    god bless you. I am a mechatronics student and this is one of our hardest courses that uses the same board.

  • @VIPINKUMAR-wr7mn
    @VIPINKUMAR-wr7mn 5 років тому +1

    Great work man, this is concise and accurate to start work,

  • @kmmaran
    @kmmaran 9 років тому +1

    Thank you so much for this Lesson 0 and 1, learned so much!!, going Lesson 2.

  • @hoerbschmidt618
    @hoerbschmidt618 5 років тому

    Your lessons are AWESOME! Exactly what I was looking for.
    Thank you very much!! :-)

  • @gargaste
    @gargaste 11 років тому

    Wowo this is outstanding..miro congrats..love ur job..u r so straight forward n clear..thanks.so much n keep posting videos..Ruben from Mexico.!

  • @masterhidsert1043
    @masterhidsert1043 3 роки тому

    Thank you so much for your videos :) I just got promoted to associate embedded software engineer due to my background in high level programming, but they want me to learn embedded software from scratch >.< this is helping so much!

  • @pseudorealityisreal
    @pseudorealityisreal 7 років тому

    Wow thanks! This video was really well done for beginners to embedded programming.

  • @doctarhyf
    @doctarhyf 11 років тому +4

    You are the best ... Thank you!!!

  • @djamaltaleb4796
    @djamaltaleb4796 7 років тому

    very clear and very helpful. your videos are great. Thank you so much.

  • @Deepak9aagri
    @Deepak9aagri 10 років тому

    Nice Explanation of ARM Cortex-M...

  • @sayedabdelaziz4529
    @sayedabdelaziz4529 Рік тому +1

    when i try to compile the project in this lesson using keil uvision 5 i get this error "Error: *** Project 'lesson', Target 'Debug', Device 'Texas Instruments::TM4C123GH6PM' is not supported by Toolchain ! ***."

    • @StateMachineCOM
      @StateMachineCOM  Рік тому +1

      This is normal. The KEIL-MDK IDE does not support most devices right after installation. Instead, KEIL-MDK has an extension mechanism called the "Pack Installer". When you open a project for the first time, the "Pack Installer" should open automatically and try to install any missing "CMSIS Software Packs." Please allow the process to run its course and do NOT close the "Pack Installer" prematurely. After this first time, the missing "Packs" are permanently stored locally on your computer and the projects should open quickly. --MMS

    • @sayedabdelaziz4529
      @sayedabdelaziz4529 Рік тому

      i did install MDK_Stellaris_ICDI_AddOn and when i first openned the project the program asked me to install the missing device and i did, and double checked inside the pack installer and found Texas instruments in the devices list, but still it doesn't work for me
      @@StateMachineCOM

  • @itsdeepu08
    @itsdeepu08 8 років тому +1

    Thanks. This is a very good video for embedded i have ever seen

  • @blackhawkLprince
    @blackhawkLprince 9 років тому +1

    great video, well explained.

  • @EmbSysDev
    @EmbSysDev 9 років тому +1

    Fantastic tutorial !!

  • @keshavaggarwal6488
    @keshavaggarwal6488 7 років тому +1

    Hello Sir, Thanks for your this Embedded system series I enjoyed a lot with my applications and all its because of your help. But today i was again revising your lectures and in "Embedded Systems Programming Lesson 1: Counting" at 11:35 by mistaken you said:- a single hexa decimal represents a 4 "byte" (nibble) instead of "bits". Again thanks for your valuable help.

  • @longluongtuanmb62s
    @longluongtuanmb62s 8 років тому

    Perfect lecture.
    Thank you very much.

  • @VIPINKUMAR-wr7mn
    @VIPINKUMAR-wr7mn 5 років тому

    keep going with valuable videos

  • @lamarts1000
    @lamarts1000 10 років тому +1

    Nice tutorial. I've looked at a few of your tutorials quite some time ago, thinking I had to use the same development board. I got a little smarter, decided to use what I had...Atmel SAM4L-EK. I followed your tutorial with my board and it works. Way cool. Great job with the tutorials. On to the next lesson...

  • @Revan7233
    @Revan7233 11 років тому

    Great lessons, You are a very good teacher

  • @lamarts100
    @lamarts100 11 років тому

    Great tutorial. Question...the memory view location does not have the same data as in the Disassembly view

  • @cyberlightbeing
    @cyberlightbeing 10 років тому +1

    Brilliant! Many thanks!

  • @snapesrds5766
    @snapesrds5766 Рік тому

    Hi, I want to know that can i use raspberry pi 3 model b for this course? Thanks For Sharing the Knowledge.

    • @StateMachineCOM
      @StateMachineCOM  Рік тому +1

      The question: "Can I use a board XYZ for this course" is by now the most frequently asked. The answer is NO. This course goes beyond generalities and frequently steps down to the low-level. This is the most effective way to learn truly embedded programming. To do this, you need specific software tools and a specific board. The boards and software tools used in this course are explained in lesson-0 ( ua-cam.com/video/hnj-7XwTYRI/v-deo.htmlsi=LXIj9_w36c6hSCVI ).

  • @vidhyadhar64
    @vidhyadhar64 10 років тому

    Nice tutorial. The flow and style is great.. Did you write the narration script ahead of time?
    Thanks..

    • @StateMachineCOM
      @StateMachineCOM  10 років тому

      Yes, absolutely. I prepare a script and carefully optimize it for maximum content with minimal waste of time.

  • @VishalTalwar
    @VishalTalwar 11 років тому

    Great video, Miro! Are the instructions 2-bytes wide because of the Thumb encoding?

  • @nikhilchitroda6409
    @nikhilchitroda6409 4 роки тому +1

    You are awesome ..😎💯

  • @diptopal
    @diptopal 10 років тому +1

    Awesome tutorial. Which graphics editor did you use for your presentation?

    • @StateMachineCOM
      @StateMachineCOM  10 років тому

      The tutorial was recorded and edited in Screencast-O-matic professional edition.

    • @diptopal
      @diptopal 10 років тому

      Thank you very much.

  • @gryn1s
    @gryn1s 10 років тому

    Very nice tutorial! thank you

  • @saikirangattu2924
    @saikirangattu2924 7 років тому

    Thank you for the great videos, For me at (7:35) the highlighted instructions shows (0x40: 0x2000) instead of (0x40: 0x2001), why is there a difference?

  • @guzzar100
    @guzzar100 5 років тому

    Thanks a lot for the great work !

  • @DustinGriffith33
    @DustinGriffith33 11 років тому +1

    Where do I go to donate? This has been extremely helpful so I would like top give back to those that made my job so much easier.

    • @StateMachineCOM
      @StateMachineCOM  11 років тому +4

      I'm really glad that you liked the video. I'm not collecting any donations, but if you'd like to help, please spread the word about the course, so that others can benefit as well. For example, I think that a comment about this course on Embedded.com in one of their discussion forums could be very helpful.
      --MMS

  • @rommelvillon6811
    @rommelvillon6811 7 місяців тому

    Hello sir, I must be missing some setting because whenever I press DEBUG, it goes to startup code and all STEP buttons become inactive. By the way I am following this video using KEIL. The thing is it works whenever I am using your code . Do you have any video that shows the complete set up for KEIL uvision?
    Thanks for updating this series of lesson!

  • @juanguillermo4713
    @juanguillermo4713 5 років тому +1

    how a great course, thank you so much for your effort. God bless you, he is coming soon, be ready.

  • @johnnyreidy4758
    @johnnyreidy4758 10 місяців тому

    Great start to the course and looking forward to the rest. I do have one question about lesson 1. When I download and debug and step into, my program is counting (in hexadecimal) from R0 and not R1 like in your program. I have downloaded your program to my laptop and it counts from R1 (just like from your lesson) but for some reason my program counts from R0. Do you know why this might be or am I missing something. Thanks a lot.

    • @StateMachineCOM
      @StateMachineCOM  10 місяців тому

      The most likely difference between "your program" and "my program" is a different optimization level of the C compiler. The upcoming lessons of the course explain the embedded build process, but the compiler has a lot of freedom in allocating the CPU registers. In particular, the use of R0 instead of R1 is perfectly legal. Also, one more comment about counting: The program is not "counting in hexadecimal." The CPU is always counting in binary. Only the debugger shows the values in hex, but you can change it to show decimals. --MMS

  • @dmitry.shpakov
    @dmitry.shpakov Рік тому +1

    Some programmers have 16 fingers, but some have 2 fingers, there are also programmers who have 8 fingers, but they are rare.

  • @codeXmith2010
    @codeXmith2010 11 років тому

    hi i am in the second semester of BS computer science, know some data structures but nothing beyond that, what are the minimum prerequisites for someone who would like to test if they like embedded system programming, how far will this course make me go, if i have not accumulated much programming experience already

  • @myonlynick
    @myonlynick 10 років тому +8

    11:17 omg those 16 fingers, programmers' :P

  • @shipper66
    @shipper66 11 років тому +1

    you are god, thanks for this! I will have to figure out how to transfer my programs from linux

  • @tom950
    @tom950 10 років тому +1

    Hi, Thank you for this video, I am having problems with create new project.there are no project templates. all it has is "Empty Projects"

  • @kylegoble1047
    @kylegoble1047 6 років тому

    Thank you so much for taking the time to make these videos. I already have a TI-C3200 Launchpad. How can I use it with the IAR workbench? The debugger driver is missing

    • @StateMachineCOM
      @StateMachineCOM  6 років тому

      By now, the desire to use a different embedded board or a different development toolchain it is perhaps the most frequently asked question. Unfortunately, it won't allow you to follow along and use the specific project files that accompany this course (at state-machine.com/quickstart ). To really benefit from this video course, you need the exact same hardware and software. The TivaC LauchPad has been selected specifically for its low cost ($12.99). Also, the course uses only free development toolchains (initially IAR EWARM KickStart, later TI CCS free edition, and later ARM-KEIL MDK evaluation version). --MMS

  • @bareminimum-mrtz
    @bareminimum-mrtz 5 років тому

    Thank you so much for the effort 😀

  • @Chataou
    @Chataou 11 років тому

    Hello Julio, do your laptop see the device?

  • @mimo2202
    @mimo2202 5 років тому

    Great Work! can I use the cortex M4 from STelectronics for this tutorial?

    • @StateMachineCOM
      @StateMachineCOM  5 років тому

      This is perhaps the most frequently asked question. The short answer is NO. To follow along this video course you need the exact board that is being used (TavaC LaunchPad). This is because the *peripherals* of this board are different than STM32, even though the CPU is the same Cortex-M4. I hope this makes sense. --MMS

  • @basterma
    @basterma 6 років тому +1

    at 11:36 you say 4 bytes is a nibble. that is incorrect. a nibble represents 4 bits

  • @Johennessy
    @Johennessy 6 років тому

    very good tut!!! thank you

  • @StateMachineCOM
    @StateMachineCOM  11 років тому +1

    OK, in the upcoming lessons I will explain how to generate the map file and I will show how to read it.
    --Miro

  • @birnodin
    @birnodin 7 років тому +1

    Haha - I am also many years in Programming, but I have only 10 fingers. :-(
    But Programming for a long time modifies the body. I have 4 eyes: One to look at the actual line of code, one for the CPU Registers, one for the Disassembly and the last one on the keyboard, because I never have been able to type without looking on the keyboard. ;-)

  • @manasaganguri3557
    @manasaganguri3557 5 років тому

    can we also use Raspberry pi for learning this programming

  • @TheNapolyon
    @TheNapolyon 10 років тому

    Are cortex m0+ and cortex m4f too different from each other? I'm planning to follow your videos, which I'm very thankful that you uploaded them in youtube, but my mcu is cortex m0+.

  • @FM1908Y
    @FM1908Y 11 місяців тому

    Hello, I think the structure of this free is excellent. Thank you for the course. I just have 1 question. I am using keil microU, since it is free.
    I see the course is done with iar, but also keil is supported/mentioned. I can understand and follow along with most of the video. I was wondering if you had videos/resources dealing with keil microU?
    I have everything setup, drivers, devices detected no problems there. Staring at lesson 1 main.c, counter example right now.
    It's just that there are some differences and I'd like to make sure I can follow along to best of my ability, given the differences between iar and keil, I'd like to avoid selecting an option that sounds like it is correct but for keil it is actually another option. For example I can open the pre-made lesson 1, but in making a new project I am unsure about some things and so I haven't done it. I will keep trying and maybe I figure it out.
    I am new to much of this but am eager to learn. Thanks again for the playlist.

    • @StateMachineCOM
      @StateMachineCOM  11 місяців тому +2

      Hi FM1908Y! The KEIL-MDK toolset with the uVision IDE is introduced in lesson #21 ua-cam.com/video/AoLLKbvEY8Q/v-deo.htmlsi=U-K3HAi46PSLujWc&t=94 . Please watch. --MMS

    • @FM1908Y
      @FM1908Y 11 місяців тому

      @@StateMachineCOM Thank you for your response. I have just 1 other quick question. I noticed next to debug option, f7, there is a flash option.
      I know the tivac board comes with a pre-installed program that displays light which the user can change by pressing the button near it. I was given several tivac boards by friends for this course.
      I clicked on flash, and now the default light program won't appear. Is there a way to factory reset or something like that?
      I'm not sure if I've done something that could cause trouble for me later. Curious to know if there is something I could do. Thanks again for your response and this course.

    • @StateMachineCOM
      @StateMachineCOM  11 місяців тому +2

      @@FM1908Y You should know that every program that you upload to the board (TivaC, STM32 NUCLEO, and most others) overwrites the previous program and stays in the board *permanently* . This is because the program is placed in the Flash memory inside the microcontroller, which works similarly as a USB drive. So, even if you power down the board, your most recent program starts right up when you turn it on again. If you wish to go back to the original factory demo program, you need to get that program (could be just the binary) from somewhere and you need to upload that to the board.
      Now, is it potentially dangerous? You bet it is! If you program some garbage, you might lock up your board. In fact, TivaC can be locked up quite easily. If this happens to you, please go to the companion web-page to this video course ( www.state-machine.com/video-course ) and look for the document "Troubleshooting TivaC LaunchPad". You'll find there how to unlock a "bricked" TivaC board. --MMS

    • @FM1908Y
      @FM1908Y 11 місяців тому

      @@StateMachineCOM Thank you very much again for your response. As you can see I am still very much new to this. Sometimes my excitement gets the better of me. Thank you for your time and comments.
      I do programming as a hobby (C mostly), but I'd like to learn more about embedded C/microcontrollers to take care of basic functionality at my place of business. I own a restaurant so I've written things in C to take care of basic managerial tasks, so embedded C seems like something fun to implement for basic tasks, like lights or sensors for various things. Thanks again!

  • @abgsajjan4192
    @abgsajjan4192 8 років тому +1

    Thank You Sir

  • @farooqmalik6856
    @farooqmalik6856 8 років тому

    Great lectures. I'm looking forward to complete it. In college we are using TI MSP430g2553 launchpad I'm wandering is it compatible with the lectures. Thanks again for the lectures especially introducing the IAR workbench simulator. In earlier course we used Edsim for 8051 which helped a lot to understand how the instructions work.

    • @StateMachineCOM
      @StateMachineCOM  8 років тому +1

      This course focuses on ARM Cortex-M, so most lessons use that specific CPU. However, lesson 11 and lesson 17 also used the MSP430g2553 LaunchPad to demonstrate differences between Cortex-M and a simpler CPU.

  • @bradmorgan60
    @bradmorgan60 Рік тому

    Are we able to use Visual Studio Code IDE to follow along?

    • @StateMachineCOM
      @StateMachineCOM  Рік тому +1

      In principle, you should be able to use any IDE for the presented code, and VS Code is one of those "sexy" ones currently gaining popularity. However, such a change involves a different compiler for ARM, different startup code, and different linker script (later lessons in this course explain all these things). So to make it practical, support for VSCode would require creating a ready-to-use projects for this IDE. Adding such projects is possible in the new, updated, and extensible project structure introduced in the updated lesson-0 ( ua-cam.com/video/hnj-7XwTYRI/v-deo.htmlsi=RX8ElGhH_slY1UgV ). Adding such projects to all 40 lessons at this point would be a huge undertaking, but perhaps some of the projects could be added depending on popular demand. --MMS

  • @lorenrus
    @lorenrus 6 років тому

    Hi , The registers you are viewing, minute 7:08, are of the board that you have selected and you will have definitely connected to your PC? Thanks

    • @lorenrus
      @lorenrus 6 років тому

      Another question. Minute 8:58. Line underlined in green. 0x42:0x1c49. 0x42 is the addres of the memory but i don't understand what is this 0x1c49. Thanks

    • @nashs.4206
      @nashs.4206 3 роки тому

      @@lorenrus The 0x1C49 is the machine instruction which means "ADDS R1, R1, #1"

  • @nashs.4206
    @nashs.4206 3 роки тому

    8:18
    Aren't ARM instructions 32 bits (so 4 bytes)? Since each memory address holds one byte, shouldn't the addresses be incrementing by 4 each time? Eg 0x40, then 0x44, then 0x48, etc.

    • @StateMachineCOM
      @StateMachineCOM  3 роки тому +1

      The ARM Cortex-M CPU does NOT execute the classic "ARM" instructions. Instead, this CPU executes the THUMB2 instruction set, where most instructions are 16- bit, but some are 32-bit. This means that all instructions are aligned at even addresses, but not necessarily divisible by 4.

    • @nashs.4206
      @nashs.4206 3 роки тому +1

      @@StateMachineCOM Thank you for your quick response! I'm so glad to see that you actively respond to your viewer's questions! I have been frustrated many a times by content creators who just post tutorial videos but don't participate in comment discussions.

  • @takyon24
    @takyon24 8 місяців тому

    Sorry if this has been covered somewhere already but can I follow this course on mac or linux? I have the hardware already. If not it's no worries, I will still benefit from studying these videos

    • @StateMachineCOM
      @StateMachineCOM  8 місяців тому +2

      Yes, the question about using Linux or macOS host computers has been asked a lot. Here is my standard answer: You might try to install VSCode and then some extensions for embedded programming (e.g., please google for "Keil Studio extensions"). I've not tried it yet, so I can't comment on how it works in practice. The approach of this course is to provide the simplest and easiest path for getting started. And this means using the Windows environment because, for better or worse, historically the embedded community chose Windows as the primary development platform. That's why most embedded tools work on Windows first, and then maybe on other platforms. Today, you have other options, but if you are truly serious about embedded development, I would still recommend getting yourself a Windows machine. --MMS

    • @takyon24
      @takyon24 8 місяців тому +1

      @@StateMachineCOM Thanks, I assumed Linux would be the standard OS. I'm going to try and follow along with Keil Studio for VS Code on my Linux machine. Cheers again for this fantastic resource.

    • @StateMachineCOM
      @StateMachineCOM  8 місяців тому +1

      @@takyon24 Some embedded projects have indeed moved to Linux. For example, the Zephyr RTOS clearly prefers Linux (but again, what would you expect from a Linux foundation project?) Also, Linux is preferred for CI/CD work because it better supports containers like Docker. However, most of these things are also available on Windows (with WSL). Actually, Windows is making a come back. After all, the most popular and "sexy" VSCode is developed by... Microsoft. --MMS

  • @visnu3
    @visnu3 11 років тому

    can i use Tiva™ C Series LaunchPad instead??

  • @aritomelito6125
    @aritomelito6125 11 років тому

    Hi... there are any version for linux mint (IAR emmbedded workbench)

  • @bisweshswain2666
    @bisweshswain2666 6 років тому +2

    can i use keil instead of iar

    • @bisweshswain2666
      @bisweshswain2666 6 років тому

      pls reply i need urgently

    • @StateMachineCOM
      @StateMachineCOM  6 років тому

      Yes, you can use Keil/ARM MDK with the TivaC LauchPad board. But you will need to create the Keil projects yourself, because the projects available from the companion web-page at state-machine.com/quickstart are for IAR EWARM. This course switches to Keil/ARM MDK at lesson 21. This lesson 21 explains also how to download and install the free (size limited) version of Keil MDK. --MMS

  • @ramasarmapakala5586
    @ramasarmapakala5586 4 роки тому

    wat is the difference between this emedded system programming and embedded c programming?

  • @blessedwarrior1
    @blessedwarrior1 7 років тому

    Hi i am trying to follow your tutorials, love the way you explain. I am having one problem that my c dialect in compiler options shows only c89 and c11. how can i have similar dialect? is it ok to use the same dialect?

    • @StateMachineCOM
      @StateMachineCOM  7 років тому +1

      The newer IAR EWARM (v8.11) seems no longer to support the C99 standard. Instead, they still support the C89 and C11. For this course, please select the newer C11 (ISO/IEC 9899:2011) language standard.
      --MMS

  • @parthbhimani00
    @parthbhimani00 7 років тому

    Is it possible to use code compiler studio without connecting launchpad to the computer? I mean CCS as simulator.

  • @ericlopez4909
    @ericlopez4909 11 років тому

    Hi my launch pad came with the LXM4F120H5Q instead of the LM4F120H5Q, when I tryed to enter into debug mode I get a fatal error pup up, How can I fix this?

  • @worldhome3936
    @worldhome3936 8 років тому

    what is benefit of ARM over PIC

  • @tweety01402
    @tweety01402 10 років тому

    i like your videos...i am more interested and i need some information...is this possible in IAR that we can watch the GPIO port in Analyzer or something like that...or if we design a graphic interface for the ports....if this is possible then how i can do that...

  • @BABAKIZIMAL
    @BABAKIZIMAL 5 років тому

    Can i develop the Infineon 275 boards with this tool

    • @StateMachineCOM
      @StateMachineCOM  5 років тому

      It doesn't work that way. To follow along this course and directly use the projects from the accompanying web-page (www.state-machine.com/quickstart/ ), you would need to use the exact same development board (TivaC LaunchPad). Having said that, the general concepts you will learn will apply to Infineon, ST, NXP, Renesas, Silicon Labs, and many other ARM Cortex-M-based MCUs. --MMS

  • @AungThiha
    @AungThiha 11 років тому

    Thank you so much.

  • @josephcorleto1853
    @josephcorleto1853 6 років тому

    Really like the video series so far. But ran into a snag. My counter does not increment at all. I even tried directly assign it values on each line and it still does not change. Am I in the wrong view or something?

    • @josephcorleto1853
      @josephcorleto1853 6 років тому

      Nevermind, it just started working. Further digging says that the variable maybe was no longer available to optimize stuff. Weird.

  • @bashirabdi7840
    @bashirabdi7840 9 років тому

    Thanks this is a great tutorial. My question is I have OmapL138 development board and would like to use it with these examples could you please help me the settings. thanks

    • @StateMachineCOM
      @StateMachineCOM  9 років тому

      +Bashir Abdi The OmapL138 is a dual-core SoC with ARM926EJ-S and C674x DSP. The ARM9 core is the "classic" ARM, which is *different* than the ARM Cortex-M used in this course. (Of course there are some similarities, but ARM9 and Cortex-M have different instruction sets--ARM/THUMB vs THUMB-2, respectively). For these reasons this course is not applicable to your OmapL138.