pixhawk / Hardware

PX4 Hardware designs
1.03k stars 869 forks source link

PX4IO not detected #4

Closed dnovichman closed 11 years ago

dnovichman commented 11 years ago

I've stacked my PX4IO board unto a PX4FMU board. On startup, I get "PX4IO not detected", "PX4IOAR not detected" etc. Is there a step I'm missing? When I run the command "px4io start", I get the message "PX4IO ready" or "PX4IO: already loaded". However, when I choose to update the firmware using "px4io update", I get "error updating PX4IO - check that bootloader mode is enabled".

px4dev commented 11 years ago

Your PX4IO probably hasn't had the ID ROM programmed. There are instructions for this on the wiki.

You need to boot the stack with the safety switch held down to get the PX4IO into bootloader mode; see

http://answers.px4.ethz.ch/question/3/how-do-i-force-update-the-firmware-on-px4io/

On Oct 23, 2012, at 6:52 AM, novicki wrote:

I've stacked my PX4IO board unto a PX4FMU board. On startup, I get "PX4IO not detected", "PX4IOAR not detected" etc. Is there a step I'm missing? When I run the command "px4io start", I get the message "PX4IO ready" or "PX4IO: already loaded". However, when I choose to update the firmware using "px4io update", I get "error updating PX4IO - check that bootloader mode is enabled".

— Reply to this email directly or view it on GitHub.

px4@purgatory.org

dnovichman commented 11 years ago

Looking at this page https://pixhawk.ethz.ch/px4/users/flash_px4io, my board is new and the red LED light is flashing while the blue is off. Yet I get the "bootloader not found" error. After connecting a custom made arming switch, I get the same bootloader error. I have checked for connectivity using pin 1 of FMU USART2 and pin 1 of the safety switch (VCC_3V3) on two of our new boards, there seems to be no connectivity and pin 1 of the safety switch has no voltage.

px4dev commented 11 years ago

Of curiosity, why were you checking for connectivity between the USART2 and safety switch pins? There should be no connection between the two.

Can you verify that your PX4IO board has the resistors marked below installed?

On Oct 25, 2012, at 6:06 PM, novicki wrote:

Looking at this page https://pixhawk.ethz.ch/px4/users/flash_px4io, my board is new and the red LED light is flashing while the blue is off. Yet I get the "bootloader not found" error. After connecting a custom made arming switch, I get the same bootloader error. I have checked for connectivity using pin 1 of FMU USART2 and pin 1 of the safety switch (VCC_3V3) on two of our new boards, there seems to be no connectivity and pin 1 of the safety switch has no voltage.

— Reply to this email directly or view it on GitHub.

px4@purgatory.org

dnovichman commented 11 years ago

I wasn't getting any voltage out of pin 1 on the safety switch. There was however, connectivity between pin 2 and ground of USART2. I do have the resistors as shown here https://pixhawk.ethz.ch/px4/_detail/modules/io-bottom.jpg?id=modules%3Apx4io. If also I should need an arming switch for a new board (with red LED flashing), then the page above needs to be modified.

px4dev commented 11 years ago

The arming switch isn't required for new boards, but you'll want it for updates to PX4IO at this point, as there is no other reliable way to get the board into the bootloader.