alexmtz125 Posted August 23, 2015 Report Share Posted August 23, 2015 I tried doing the bootloader tutorial but it did not work, i am wondering if it is a problem with atmel studio 6.2 software or with the atmega32u4, any help woul be aprecite it. attached is a screenshot of the happyjtag window, it seems that it recognizes the atmega but when i try to connect the board to atmel studio using jtag it does not appear anywhere in the tools. Quote Link to comment Share on other sites More sharing options...
Jack Gassett Posted August 24, 2015 Report Share Posted August 24, 2015 Hello Alex, I think it might well be AVR Studio version, it was developed for the older version of AVR Studio 4. I remember testing with AVR Studio 6 and it did not work... I think its something minor but please try with AVR Studio 4 first to see if you can recreate the same. I originally planned to work with the developer of HappyJTAG to better support AVR Studio 6 and etc, but unfortunately there has not been enough interest to justify the time. You are actually the first person I've heard of trying this out! It is pretty darn cool when you use it though. Jack. Quote Link to comment Share on other sites More sharing options...
alexmtz125 Posted August 24, 2015 Author Report Share Posted August 24, 2015 Ok so I am trying to connect to AVR studio 4 but the happyJTAG interface does not seem to be connecting to the AVR, I keep getting the could not communicate with comm 4 message, I am following your tutorial step by step and it still not getting anything at all.I am having a hard time developing my program in Design Lab IDE as you might have noticed in my other topic. I also want to debug my program, so in any case that i can not get this working, could i use the JTAG pins in order to program and debug the AVR or is it only a feature reserved for the FPGA? Quote Link to comment Share on other sites More sharing options...
Jack Gassett Posted August 25, 2015 Report Share Posted August 25, 2015 I remember there being some flakiness with the direct com port emulation... It looks like it is working for you though... Can you try both SPI and JTAG options? Start by trying to just read the fuses using AVR Studio's programming tool. Try both SPI and JTAG and see what happens. Jack. Quote Link to comment Share on other sites More sharing options...
alexmtz125 Posted August 26, 2015 Author Report Share Posted August 26, 2015 Still no luck with the happy JTAG, now it does not even recognize the AVR signature. I noticed that the RX led is always on, so it appears that is receiving something, but I tried both SPI and JTAG and neither of them worked, I would really want to debug my code it is going to get messy and long. Is there another way to get an external debugger working with the AVR? Quote Link to comment Share on other sites More sharing options...
Jack Gassett Posted August 26, 2015 Report Share Posted August 26, 2015 Yes, you can also use the Dragon AVR debugger as detailed here:http://gadgetfactory.net/learn/2014/08/28/papilio-duo-program-with-avr-dragon/ Jack. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.