Good to know about it !!. Soon I'll be creating a playlist with videos about the topic of Mplabx-xc8-atmel-pickit4-Snapin-etc stuff. Have fun, share findings.
I got mine the next day. I use Elementry OS. I tried MPLABX Snap-In Circuit Atmel Atmega328p XC8 for 13 hours :-( Then I tried MPLABX Snap-In Circuit Atmel Atmega8 XC8 for 5 seconds BLINKING !!! :-) I RTFM, but no info for ICSP SPI (MISO SCK RESET VDD MOSI GND) ?? Mr Fernando, where did that knowledge come from ?? I got it from your fritzing Keep blinking !! Tanx
thank you for the video. which avr microcontrollers are supported by this programmer? i cannot find information. can it program and debug attiny2313a or attiny26?
Hello Purple, thanks for watching the video. The device support list is available at the Mplabx web page in the Documentation section (huge list), not in the device webpage. It seems that attiny2313 and attiny26 that you've mentioned are supported by Snap In-Circuit (page 10 of the list). So, go ahead with your avr's, good luck with it. Share findings, have fun.
please help me. This error message appeared "Erasing... Unexpected status code when executing ispEnterProgMode, expected 0 but got -64 (Command has failed to execute on the tool) Programming did not complete."
Hello there Luis Eduardo. Sorry in advance for the late of my answer, this days aren't precisely calm as i wanted to be. Mainly, this error is related with both a wiring problem and/or a bad VCC. Remember that the Snap-In Circuit is a power-less versión of Pickit4, so an aditional source must be added to the circuit. Another tip: check grounds in circuit. Hope it would be helpful, i'll be attentive if further help is nedded. Have fun, share findings.
For the making of the video, a Core I5-3rd Gen processor, Nvidia 970 video card, 8 GB RAM PC was used. OBS studio for recording (one single shot scene), and the software for the video editing stuff was KdenLive. Thanks for asking, don forget to like.
Hello Hakkim. I've been a little busy with job stuff, but soon I'll be posting brand new videos, and your topic seems great for that !. I don't like to force for new subscribers (free will matters), but, if interested, ... you know where to click.
Hello Gudimetla Kowshik, thanks in advance for your question. By the minute 1:00 in the video some image of the schematic could be seen, but the breadboard wiring is kind of difficult to show due to the amount of external wires involved. Some tips: don't forget to power up the whole circuit (Snap-In doesn't provide energy like Pickit), in the Snap-In terminals the #1 pin is on top, and try to test the jumpers used in the wiring (some odd one trashes the whole circuit). Have fun, share findings.
hi how to connect the mplab snap on your board? i'm having LVP issue which is "low voltage configuration bit on the device is off". I checked the Configuration Bits on Window and copied and pasted the code on main.c, but still the same error messages there.
Hello there Youri Suh. Is important to keep in mind that Snap-in is like a most simple versión of Pickit4, and then, Snap-in must be powered from an external VDC. Just check that 5V is properly connected to the circuit (hint: check grounds "well tied"), like in the schematics shown by the 1:01 minute of the video. Good luck with your issue, i'll be in touch if something else happens. Share findings - have fun.
please help me. This error message appeared"The VDD voltage desired is out of range. It is below the minimum voltage of 1.5V. Connection Failed." im using mplab v5.25
The news is: when using Snap-In Circuit an external power source is needed, because this programmer doesn't have an internal regulator. So, try using a power source as directed in the circuit depicted in the video (don't.... never ! ..forget to tie GND signals togheter), and according with the microcontroller specs. Try and tell, hope this message solve your problem. Thanks for your question.
Hi, is to possible program arduino pro mini from MPLAB X IDE using the arduino libraries and Snap In Circuit??? Great video, thanks. Too using C++??? What is AVR tool chain???
Thanks for your comment in advance, and get ready for my not-so-short answer. This history began when Microchip bought Atmel in early 2016. Since then, all the compile/debug tools (toolchain) included in the IDE Atmel Studio were gradually incorporated to MplabX. The result is that most of the the fromerly Atmel microcontrollers can be now programmed / debugged with the Mplabx IDE, and using the development tools as defined in the device support list (ww1.microchip.com/downloads/en/DeviceDoc/Device_Support_v5.40.pdf). For Arduino Pro Mini, Atmega 328 based, it seems that the trick can be done through 14, 15, 16, 17 (SPI port) and 29 (¿?)(Reset) pins, and paying special attention at the moment in which the Arduino must be turned off and on in order to switch between programming and debugging mode (not the same task for Mplabx - Atmel based stuff). Last, i've never used C++ for Mplabx, just plain C90 or C99 .... not sure if C++ can be used instead.
@@fernandoalvarez8431 Thank you very much, c ++ with classes is spectacular, much better than C, even creating code with matlab / simulink in c ++ is much better. I am currently using arduino with paid Visual Studio + VisSim, I don't like Visual Studio Code, that's why I use Visual Studio with VisSim.
Well....never done that before, but i've been reading about that, and it seems that programming arduino boards (UNO and MEGA2560) can be done directly thru the pin header close to the main microcontroller. Is just a matter of connecting the pins of the programmer as shown in the video. For reference in pinout of the Snap-In circuit, the next datasheet (page 63) could be useful to identify pins vs signals (ww1.microchip.com/downloads/en/DeviceDoc/MPLAB_PICkit_4_ICD_User's_Guide_DS50002751C.pdf) (same for PICKit4 as for Snap-In circuit). For the pinout of the programming header, the webpage of each arduino is plenty of related info (store.arduino.cc/usa/arduino-uno-rev3), (store.arduino.cc/usa/mega-2560-r3), just look for the documentation below the main description. Last but not least, if want to change between programming and debugging modes, don't forget to power the board off and on when directed. Hope this info could help, don't forget to like.
help me plz. on the console appears : Data transmission failed. Error code -10121 returned while trying to receive USB data. A communication error with the debug tool has occurred. The tool will be reset and should re-enumerate shortly. Connection Failed. note: I connected an external source with a USB cable, but it doesn't work.
This message to thank you for your video. thanks to you I was able to program my ATtiny85 with PICKIT4 in XC8 ;)
Thank you, Thank you !
Good to know about it !!. Soon I'll be creating a playlist with videos about the topic of Mplabx-xc8-atmel-pickit4-Snapin-etc stuff. Have fun, share findings.
@ 1:01 I ordered one. Liked and Subscribed !!
I got mine the next day.
I use Elementry OS.
I tried MPLABX Snap-In Circuit Atmel Atmega328p XC8 for 13 hours :-(
Then I tried MPLABX Snap-In Circuit Atmel Atmega8 XC8 for 5 seconds BLINKING !!! :-)
I RTFM, but no info for ICSP SPI (MISO SCK RESET VDD MOSI GND) ??
Mr Fernando, where did that knowledge come from ??
I got it from your fritzing
Keep blinking !! Tanx
thank you for the video. which avr microcontrollers are supported by this programmer? i cannot find information. can it program and debug attiny2313a or attiny26?
Hello Purple, thanks for watching the video. The device support list is available at the Mplabx web page in the Documentation section (huge list), not in the device webpage. It seems that attiny2313 and attiny26 that you've mentioned are supported by Snap In-Circuit (page 10 of the list). So, go ahead with your avr's, good luck with it. Share findings, have fun.
please help me. This error message appeared
"Erasing...
Unexpected status code when executing ispEnterProgMode, expected 0 but got -64 (Command has failed to execute on the tool)
Programming did not complete."
Hello there Luis Eduardo. Sorry in advance for the late of my answer, this days aren't precisely calm as i wanted to be. Mainly, this error is related with both a wiring problem and/or a bad VCC. Remember that the Snap-In Circuit is a power-less versión of Pickit4, so an aditional source must be added to the circuit. Another tip: check grounds in circuit. Hope it would be helpful, i'll be attentive if further help is nedded. Have fun, share findings.
Great vid! How fast is your computer?
For the making of the video, a Core I5-3rd Gen processor, Nvidia 970 video card, 8 GB RAM PC was used. OBS studio for recording (one single shot scene), and the software for the video editing stuff was KdenLive. Thanks for asking, don forget to like.
Hi, requesting a video on how to program and debug with Arduino boards using SNAP
Hello Hakkim. I've been a little busy with job stuff, but soon I'll be posting brand new videos, and your topic seems great for that !. I don't like to force for new subscribers (free will matters), but, if interested, ... you know where to click.
@@fernandoalvarez8431 thank u for imm response; sorry forgot to subscribe.. im a novice, looking forward for ur video
hi, what are the connections you made?
Hello Gudimetla Kowshik, thanks in advance for your question. By the minute 1:00 in the video some image of the schematic could be seen, but the breadboard wiring is kind of difficult to show due to the amount of external wires involved. Some tips: don't forget to power up the whole circuit (Snap-In doesn't provide energy like Pickit), in the Snap-In terminals the #1 pin is on top, and try to test the jumpers used in the wiring (some odd one trashes the whole circuit). Have fun, share findings.
hi how to connect the mplab snap on your board? i'm having LVP issue which is "low voltage configuration bit on the device is off". I checked the Configuration Bits on Window and copied and pasted the code on main.c, but still the same error messages there.
Hello there Youri Suh. Is important to keep in mind that Snap-in is like a most simple versión of Pickit4, and then, Snap-in must be powered from an external VDC. Just check that 5V is properly connected to the circuit (hint: check grounds "well tied"), like in the schematics shown by the 1:01 minute of the video. Good luck with your issue, i'll be in touch if something else happens. Share findings - have fun.
@@fernandoalvarez8431 yea. i made it thanks
please help me. This error message appeared"The VDD voltage desired is out of range. It is below the minimum voltage of 1.5V.
Connection Failed." im using mplab v5.25
The news is: when using Snap-In Circuit an external power source is needed, because this programmer doesn't have an internal regulator. So, try using a power source as directed in the circuit depicted in the video (don't.... never ! ..forget to tie GND signals togheter), and according with the microcontroller specs. Try and tell, hope this message solve your problem. Thanks for your question.
Hi, is to possible program arduino pro mini from MPLAB X IDE using the arduino libraries and Snap In Circuit??? Great video, thanks. Too using C++??? What is AVR tool chain???
Thanks for your comment in advance, and get ready for my not-so-short answer. This history began when Microchip bought Atmel in early 2016. Since then, all the compile/debug tools (toolchain) included in the IDE Atmel Studio were gradually incorporated to MplabX. The result is that most of the the fromerly Atmel microcontrollers can be now programmed / debugged with the Mplabx IDE, and using the development tools as defined in the device support list (ww1.microchip.com/downloads/en/DeviceDoc/Device_Support_v5.40.pdf). For Arduino Pro Mini, Atmega 328 based, it seems that the trick can be done through 14, 15, 16, 17 (SPI port) and 29 (¿?)(Reset) pins, and paying special attention at the moment in which the Arduino must be turned off and on in order to switch between programming and debugging mode (not the same task for Mplabx - Atmel based stuff). Last, i've never used C++ for Mplabx, just plain C90 or C99 .... not sure if C++ can be used instead.
@@fernandoalvarez8431 Thank you very much, c ++ with classes is spectacular, much better than C, even creating code with matlab / simulink in c ++ is much better. I am currently using arduino with paid Visual Studio + VisSim, I don't like Visual Studio Code, that's why I use Visual Studio with VisSim.
Can you post wiring schematic from SNAP to Arduino? Thanks
Well....never done that before, but i've been reading about that, and it seems that programming arduino boards (UNO and MEGA2560) can be done directly thru the pin header close to the main microcontroller. Is just a matter of connecting the pins of the programmer as shown in the video. For reference in pinout of the Snap-In circuit, the next datasheet (page 63) could be useful to identify pins vs signals (ww1.microchip.com/downloads/en/DeviceDoc/MPLAB_PICkit_4_ICD_User's_Guide_DS50002751C.pdf) (same for PICKit4 as for Snap-In circuit). For the pinout of the programming header, the webpage of each arduino is plenty of related info (store.arduino.cc/usa/arduino-uno-rev3), (store.arduino.cc/usa/mega-2560-r3), just look for the documentation below the main description. Last but not least, if want to change between programming and debugging modes, don't forget to power the board off and on when directed. Hope this info could help, don't forget to like.
help me plz. on the console appears :
Data transmission failed. Error code -10121 returned while trying to receive USB data.
A communication error with the debug tool has occurred. The tool will be reset and should re-enumerate shortly.
Connection Failed.
note: I connected an external source with a USB cable, but it doesn't work.
first connect to mplab x and one pic whatever