I have a multi-rotor flight controller called Nano Wii,
It has Atmega 32U4 mpu and gyro sensor.
And this programmer,
I loaded Multiwii ver 2.1 on it a few times (changing some parameters each time), and used Multiwii config program to verify everything was working with USB cable.
Then I found out about flight mode called horizon mode in multiwii ver2.2, this version is larger then ver2.1 (I am guessing it over wrote my bootloader). After loading it, that was the last time I could talk to the board (I think it over wrote the boot loader, I am super new to all this firmware, but not electronics). I tried reloading the boot loader though USBasp (and another USBasp version) and using ardriuno. I chose my programmer in arduino and my nano wii (leonardo) and there is no com number to set with this programmer.
Double checked my wiring, tried several times. I just get the can't set sclk error (see picture). I am pretty sure its not the programmer, I also bought one that specifically can control the sclk freq (my second programmer) and it flashes my KK2 flight control boards, electronic speed controls and my turnigy 9x transmitter, so I know my programmer is fine.
I have tried with Win7 and WinXP,
I have wired up Miso, Mosi, SCLK, RST, +5V and GND, triple checked my connections.
Hooking a scope up revealed Atmega 32u4 is not talking back to programmer (Miso), The other three signals were toggling.
Any luck with this? I'm in the same boat. I've been able to figure out all the pins but the MISO. It looks like D12 is missing from the NanoWii V01 board.
I have not de-bricked it, many attempts though. I will get it out of the box and look for the MISO connection, maybe if you fix yours you can let me know the steps.
The only one that's unclear is the MISO connection since it's supposed to be on pin D12. Unfortunately, the NanoWii is missing that specific pin. I tried every open pin, but was unsuccessful.
Here is my connections, let me know if you see something wrong, thanks and good luck. I am using the HK USBasp programmer, I have flashed ~50 ESC's. ~15 9x Tx's and ~12 KK2.x flight controllers, so I know my programmer is working. I even tried a USBasp that can set the SCK speed (the HK version can not). Depending on your PC setup, slide to the right to see the whole picture.
I had no luck with the Burn to Bootloader option. Luckily, loading MultiWii 2.2 through the Upload Using Programmer worked.
It's possible that it loaded the bootloader with it, but I can't be sure. I thought it just loaded the Sketch, but I'm now having an issue loading sketches using USB. The last upload was done through the USBasp. I remember skimming a thread that mentioned that something may have changed after flashing with a programmer that makes it programmer-only going forward. Then again it could just be my computer.
I am new to MW and ardruino. What config tool you talking about?
I was in ardruino and in the config.H tab, commenting/un-commenting to config for a tri-copter, cppm, etc. I was succesful with MW 2.1, but 2.2 = brick
I wonder if this would work with my NanoWii PocketQuad. HK shipped it with a bad bootloader and I haven't had the time to go through all the hoops to return it. I also have a standard NanoWii IMU that seems to work fine with MW 2.3 so I know my programming set up should be fine.
I have a generic USBasp but I gave up on it after I couldn't find any updated firmware to go with it. Can anybody recommend any other tools like ProgISP that work with Linux or OSX?
I never got the nano wii working, but good news, Armattan.com is selling the acro mullet (clone of the Acro Naze) for $21.50 + $5 shipping, the blows away the 8 bit flight controller ten fold. The Mullet FC will be up on the sight in a day or two.
Check out AVRdude for OS X. The link below is a decent guide to a number of other alternatives. OS X comes with drivers for the USBasp out of the box. If it isn't supported, it's prob a defective unit or something you wouldn't want to deal with anyway.