Programming with Atmel Studio 7

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ธ.ค. 2024

ความคิดเห็น • 25

  • @unboxing_tomorrow
    @unboxing_tomorrow  4 ปีที่แล้ว +5

    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

  • @syedalthamish1304
    @syedalthamish1304 ปีที่แล้ว +1

    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

  • @poornakaushalya4176
    @poornakaushalya4176 3 ปีที่แล้ว +1

    Thank you for the well described video ❤

  • @GSProjects12
    @GSProjects12 3 ปีที่แล้ว

    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.

  • @diyinstinct4502
    @diyinstinct4502 2 ปีที่แล้ว +1

    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  2 ปีที่แล้ว

      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 2 ปีที่แล้ว

      ​@@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  2 ปีที่แล้ว

      Any luck? I will retry this on another machine.

  • @irinagageanu1560
    @irinagageanu1560 2 ปีที่แล้ว +1

    Hi, can you make a video for ATA6264 Atmel Ic please ?

    • @unboxing_tomorrow
      @unboxing_tomorrow  2 ปีที่แล้ว

      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.

  • @brendanbenedict31
    @brendanbenedict31 3 ปีที่แล้ว +1

    Good video, thanks

  • @zzzzbisonxzzzz
    @zzzzbisonxzzzz 3 ปีที่แล้ว

    I got lost at DDRB part, where did you get that from, also 1

    • @blvckbytes7329
      @blvckbytes7329 3 ปีที่แล้ว

      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 3 ปีที่แล้ว +1

      BTW, that is defined in avr/io.h the studio automatically includes after you chose the device.

    • @zzzzbisonxzzzz
      @zzzzbisonxzzzz 3 ปีที่แล้ว

      @@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 3 ปีที่แล้ว

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

  • @masmawimdjuah3030
    @masmawimdjuah3030 3 ปีที่แล้ว

    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

  • @Bmw0699
    @Bmw0699 3 ปีที่แล้ว

    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.

    • @Bmw0699
      @Bmw0699 3 ปีที่แล้ว

      Oh and currently my rsp seems to have 3 different device signatures, which all cause errors, interesting...

    • @BinderTronics
      @BinderTronics 3 ปีที่แล้ว

      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.