it will be more easy for some one to help you if you post clear details first.
Which ICD2 are you using? link to product
which version of OS in your computer,
Which ver of matrix pilot are you trying to build/flash?
did you try to un-install and reinstall the whole set of software involved etc etc.while trying to rectify this problem your self first?
Most the programing related wiki is here, read it couple of times and see if you can figure it out your self. If the steps mentioned in this wiki are followed , there is good chance it will work unless some is different in your case or missing some thing.good luck
the full wiki is also here .
Did you try MPLAB IDE 8.5 here ?
what code are you trying to compile/build/flash?
Do you mean Pickit2 when you say ICD2 from microchip ?Here is ICD2 trouble shooting guide.
Hi Igal, Glad to know that your are now compiling OK. A lot of people have found this video helpful at your stage.
You are right. If there is not radio connected with PWM signals going to channel 3 (Throttle) UDB input and channel 4 (Mode Channel) UDB Input, then you will just get a red light. As soon as you connect the radio receiver to the UDB correctly you should get a Green Light. Then you will need to get a GPS attached. Once it can acquire GPS (often best done first time outside), then after about 20 seconds the rudder / ailerons will waggle to confirm GPS acquisition (this is after they waggle to show Gyros calibrated). Only then, will you be able to change between the four modes (Manual, Stabilized, Waypoint and when the transmitter is off ... Return to Landing).
The last mode, RTL may take a little bit of work to setup depending on your transmitter / receiver failsafe functionality.
glad to know it compiles ok now, some times it is difficult to imagine such issues and possible causes :) with out getting into details.
Thanks for the feedback which will help some one else with similar issue. Pete's video is highly recommended to get you going further and get your bird up in the air soon. Good Luck and cheers
I have manage to compile and upload the latest version But i think there is a problem with the GPS reciever.
When i connect everithing on the gps recivers the red led lights very faint.
At first i thought it is because no gps signal indoors but tryed it outdoors waited more then 5 minutes same problem.
I have compailed a version with #define TestGains uncommented to check that everything works and it looks ok
The ruuder/ailrons/eilevator are working and correcting in the correct direction.
The fact that the red led on the gps receiver has gone out is a good sign.
The UDB connects to the EM406 in binary mode, and for some reason, the firmware that is inside the EM406 turns off the red led when it is in binary mode. So, the fact that the red led has gone out is a good indication that the UDB is communicating with the EM406.
One of the hurdles for new pilots to jump over is getting the mode control working correctly. The red and green LEDs on the UDB are good indicators for whether the mode thresholds are set up correctly:
The green LED indicates whether or not the UDB thinks your radio is on, based on pulses that come in on the failsafe channel. The green LED is on when the UDB is receiving valid pulses on the failsafe channel.
The red LED indicates mode, after everything powers up and goes through the initialization and wagging:
red LED off : manual mode
red LED on : stabilized mode
red LED blinking : waypoint mode
I had similar problems, it very nearly drove me insane but, with the help of some of the group I am now programming the UDB like there was never a problem. Stick at it, dont give in, you will win in the end