|
|
|
|
||
|
Joined Dec 2006
1,139 Posts
|
Quote:
you'll see a web page of the hex file contents. right click on the "Raw" button on the right and choose "save as". the saved file should be the one that the programmer can accept.. edit: i just read johnrb stated the same thing. thanks! |
|
|
||
|
|
||
|
Joined Dec 2006
1,139 Posts
|
i think the programmer can be a little flaky sometimes. just try again.
thanks for testing out the process. right now, i think it's still not ready for flight testing yet so it's best to keep to ground tests (ie. function modes, servo response, tx control, 10ms/20ms frame update, etc). i'm still working on a bunch of performance improvements and then later more feature improvements.. thanks! Quote:
|
|
|
||
|
|
|
|
Joined Dec 2006
1,139 Posts
|
ah, i've never heard of codeplex till now.
i wanted to learn git, so i chose github. i also don't use the microsoft development environment. so, sorry ![]() github with git seems to have a nice source code control system as well. all my checks have been tracked at the github site if you are interested: https://github.com/noobee/FlightStab/commits/master github's documentation system is not so good (using some kind of wiki-like markdown system). still trying to grapple with that.. thanks. |
|
|
|
|
|
|
Joined Dec 2006
1,139 Posts
|
an update:
argh.. doh! the builds process is very manual and i have to specify target boards, change #defines, copy and rename files for several combinations. so, i may have generated the hex files targeted for my development board (arduino nano atmega328p). in this case, if you flashed a bad image, it would look like a dead (or bricked) board after that. fortunately, you can simply reflash with a working image and all will be well again. so, just in case, i've rebuilt the images again and checked them in. please use the latest ones in https://github.com/noobee/FlightStab/tree/master/Builds - RX3S_V1_20130112.hex - RX3S_V2_20130112.hex thanks. |
|
|
|
|
|
|
Joined Dec 2006
1,139 Posts
|
edit: thank goodness for source code version control. i've rolled back the change to set the i2c bus speed from 100khz to 400khz. tested on my nano/mpu6050 board and an rx3s_v2 board. for some reason, 400khz is breaking on my mpu6050 board, but i'm not sure about the rx3s boards. in any case, rolling the speed back to be safe.
both boards are working now, the repository should be green. =================== argh, again. i seem to have broken something along the way (likely i2c/gyro access). so please do not use the 20130112 images at this time.. thanks and apologies! |
|
|
|
|
|
USB programmer, warning!
the 6pin ISP connector goes to the pins marked ISP with the nose pointing to rudder input connector. ithe fit is a little tight and is bending the rudder input 5V pin a little.
****programmer question/warning! **** since I bricked my V1, could that be because the programmer uses 5V on the data pins and the chip runs only on 3.3V? according to the data sheet the max voltage for miso/mosi/sck is Vcc+0.5V? any atmel guru around to confirm my suspicion? I used this HK USBasp: http://www.hobbyking.com/hobbyking/s...occessors.html |
|
|
|
|
||
|
|
eXtreme burner settings
Quote:
to use the HK programmer you should select settings->programming mode->ISP. 2) don't know why you need to update the programmer firmware? in order to do this you need a second programmer as master and connect the 2 with the 10pin cable. on the target USBasp you need to short the jumper pad next to R8. this will connect the RST pin with the reset pin on the atmega and makes it a programming target. I must admit that I have not done that myself but this is how I programmed my selfmade programmer (which is a USBasp clone). firmware is available from here: http://www.fischl.de/usbasp/ |
|
|
||
|
|
||
|
Australia, WA, Perth
Joined May 2007
3,089 Posts
|
Quote:
When you were programming, how was the AVR powered? If it was with 5v through the ASP - that's fine. It you applied power through the regulator so VCC was 3.3V - then you're in uncharted territory. I'm not sure if the ISP +5V goes direct to the VCC pin as I would expect it to, or feeds the reg. If it goes through the reg, that's just asking for problems, exactly as you described. |
|
|
||
|
|
|
|
Joined Dec 2007
315 Posts
|
It goes directly to the VCC pin of the atmega. Programmers like avrdragon use this pin to measure the atmegas VCC and then adjust the mosi/miso/sck signals accordingly.
I have flashed a 3.3V atmega (openlrs) many times with usbasp device, the 5V jumper removed from the usbasp. No problems yet. One important thing is to put that connector in the right place with the correct orientation, and NOT mess with the fuses. |
|
|
|
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sold Flight Stabilization System with Programing Card | Woody_99 | Aircraft - Electric - Helis (FS/W) | 1 | Mar 23, 2012 12:50 PM |
| Sold Flymentor Flight Stabilization with Field Programmer | Woody_99 | Aircraft - General - Radio Equipment (FS/W) | 0 | Mar 17, 2012 07:43 AM |
| Sold Totally Tricked out 400 size with flight stabilization installed, BNF | Woody_99 | Aircraft - Electric - Helis (FS/W) | 2 | Mar 12, 2012 06:56 AM |
| Wanted FY-30A Flight Stabilization System | Casey_S | FPV/RPV - Equipment and Vehicles (FS/W) | 0 | Mar 05, 2012 02:40 PM |