Title: Burning hex file to ATMega328P Post by: Darshan for multirotors on April 26, 2015, 09:04:24 PM Hello,
I had a question Q.. has anybody used khazama programmer to burn their hex file?? I am stuck with this I have a multiwii and have to burn my hex file to it.. The khazama is not reading the chip signature .. Please help :help: :headscratch: Title: Re: khazama programmer Post by: TeamRecon on April 26, 2015, 11:52:39 PM Check the cable and check whether you have connected the MOSI,MISO,SCK,RST pins correctly and if you are using USBasp try using extreme Burner or avrdude GUI. if you are using the chip for the first time short the Slow SCK jumper.
I advise you to download the arduino IDE open the multiwii files in that and selecting upload using programmer. Cheers. Title: Re: khazama programmer Post by: Darshan for multirotors on April 27, 2015, 07:07:23 AM Yes sir all of them have been connected properly .. I will try extreme burner.. By the way I have downloaded multiwii IDE but it is not letting me chose anything I mean port..
Title: Re: khazama programmer Post by: TeamRecon on April 27, 2015, 08:19:26 AM have you selected the programmer? in arduino ide go to tools->Programmer->usbasp
and you have to select the board which you are using. Title: Re: khazama programmer Post by: miginstruments on April 27, 2015, 11:02:01 AM check out with your com port. make sure the programmer is connected to a com port whose no. is below 10. ie com1 to com 10. if its above 10 then you can change it by going into com ports settings.
Title: Re: khazama programmer Post by: Darshan for multirotors on April 27, 2015, 12:59:43 PM @miginstruments.. in windows 8 the device manager doesnt show the com ports...
the problem with extreme burner is that it has no ATMega 328P.. so cant burn it with extreme.. please help me out with avrdude.. i have downloaded winavr please guide me through Title: Re: Burning hex file to ATMega328P Post by: Darshan for multirotors on April 27, 2015, 01:08:20 PM team recon... i have done it but it is showing error while uploading[ always].. so i am directly burning my file to the fc
Title: Re: Burning hex file to ATMega328P Post by: TeamRecon on April 27, 2015, 01:12:34 PM Hi can you send me the screen shot of the error? thanks.
you can use avrdude in command line to flash mega328p Title: Re: Burning hex file to ATMega328P Post by: Darshan for multirotors on April 27, 2015, 01:46:01 PM I have read about that but it is not practically letting me flash it in the avrdude
Title: Re: Burning hex file to ATMega328P Post by: Darshan for multirotors on April 27, 2015, 01:55:45 PM Arduino is saying error compiling
IMU. cpp: In function 'void getEstimatedAttitude ()': IMU. cpp:212:37: error : 'GYRO _ SCALE ' was not declared in this scope Scale = (currentT - previousT) * (GYRO _ SCALE * 65536) Error while compiling This is what he is showing me Title: Re: Burning hex file to ATMega328P Post by: TeamRecon on April 27, 2015, 08:43:16 PM there is something wrong with your multiwii code
download it again and extract the files in Documents->arduino what chip are you using? ATmega328 Smd or PDIP ? Title: Re: Burning hex file to ATMega328P Post by: Darshan for multirotors on April 27, 2015, 08:54:15 PM The chip I am using is ATMEGA328P
Title: Re: Burning hex file to ATMega328P Post by: TeamRecon on April 27, 2015, 08:59:09 PM okay so you should select arduino pro mini
please download the code again and edit the config.h file and compile and let me know what happens . Title: Re: Burning hex file to ATMega328P Post by: Darshan for multirotors on April 27, 2015, 09:01:27 PM I have selected pro mini , usbasp but it is giving the same error
Title: Re: Burning hex file to ATMega328P Post by: Darshan for multirotors on April 27, 2015, 09:02:46 PM Btw sir extreme burner doesn't support Atmega328P
Title: Re: Burning hex file to ATMega328P Post by: TeamRecon on April 27, 2015, 09:06:46 PM select atmega32 and when it says incorrect chip you can override it
Title: Re: Burning hex file to ATMega328P Post by: Darshan for multirotors on April 27, 2015, 09:09:03 PM How to override??
Title: Re: Burning hex file to ATMega328P Post by: TeamRecon on April 27, 2015, 09:11:37 PM if your chip and connections are good and when you press read on the extreme burner
it will ask you incorrect chip found do you want to continue ? press yes Title: Re: Burning hex file to ATMega328P Post by: Darshan for multirotors on April 27, 2015, 09:46:15 PM Sir the point is that there is no light on the board whereas there is light on the usbasp.. I have connected everything right..is this okay? Cause he is not asking anything
Title: Re: Burning hex file to ATMega328P Post by: TeamRecon on April 27, 2015, 09:51:16 PM can you post a screenshot and the picture of the board you are using?
Title: Re: Burning hex file to ATMega328P Post by: Darshan for multirotors on April 27, 2015, 09:52:02 PM There is an orange light blinking on the board. .and after it is done it says....
Task failed! Please try again Title: Re: Burning hex file to ATMega328P Post by: Darshan for multirotors on April 27, 2015, 09:53:11 PM Oh wait now there is one blue ked and one orange blinking
Title: Re: Burning hex file to ATMega328P Post by: Darshan for multirotors on April 27, 2015, 09:54:57 PM You can find the board on Google it's called zmr multi wii lite . . I currently am not able to upload any files.. give me your watsapp number if you have
Title: Re: Burning hex file to ATMega328P Post by: TeamRecon on April 27, 2015, 10:00:50 PM check if you have connected the cable in correct polarity that might be an issue
|