RflyExpCode icon indicating copy to clipboard operation
RflyExpCode copied to clipboard

Pixhawk faulty condition after unsuccessfull PX4 PSP:Upload code to Px4FMU

Open amscosta opened this issue 4 years ago • 7 comments

Hi All, After a faulty upload of the code from the matlab menu (picture below) the Pixhawk is in a faulty mode (the bigger led is dead like in the attached zip video). firmware-upload-error

faulty-pixhawk.zip

Any clue how to recover the board state is very welcome.

amscosta avatar Dec 04 '20 17:12 amscosta

When did you download the toolbox? It seems like a bug half a year before. Have you try to download and use the latest installation package on our website? https://rflysim.com/download

RflySim avatar Dec 12 '20 01:12 RflySim

Hi, I just pulled the code available from the github and compiled e8.2HIL. This time I was able to upload the code to the board. However when I use CopterSim, i cannot arm the board pulling the Yaw stick to the right bottom. The channel 5 switch is being detected properly. Please see the image. Any guidance is very welcome. 8_2_HIL_ISSUE P.S. One more question : When I upload the compiled code from the Matlab menu is the board memory completely erased ? Or there are some kind of "BIOS" software in the board that is kept untouched by the upload. Sorry for this newbie question.

amscosta avatar Dec 17 '20 22:12 amscosta

The upload of the 8.2HIL code was successfull in one PX4FMU 2.4.6 board. However when I try to do the same in the other PX4FMU 2.4.6 board, the following message is displayed : upload-code-error

Any clue how to solve the issue is very welcome.

amscosta avatar Dec 18 '20 20:12 amscosta

Unfortunatelly, the board is uploading nothing at all. Captura de tela de 2020-12-18 18-30-36

amscosta avatar Dec 18 '20 21:12 amscosta

The status of the board is like in the following video.

https://user-images.githubusercontent.com/31936244/102663556-db303400-415f-11eb-8fd7-a033435d2290.mp4

amscosta avatar Dec 18 '20 21:12 amscosta

Hi, I just pulled the code available from the github and compiled e8.2HIL. This time I was able to upload the code to the board. However when I use CopterSim, i cannot arm the board pulling the Yaw stick to the right bottom. The channel 5 switch is being detected properly. Please see the image. Any guidance is very welcome. 8_2_HIL_ISSUE P.S. One more question : When I upload the compiled code from the Matlab menu is the board memory completely erased ? Or there are some kind of "BIOS" software in the board that is kept untouched by the upload. Sorry for this newbie question.

The firmware will be erased, but the parameters configured by QGC will be remained.

RflySim avatar Mar 05 '21 09:03 RflySim

The upload of the 8.2HIL code was successfull in one PX4FMU 2.4.6 board. However when I try to do the same in the other PX4FMU 2.4.6 board, the following message is displayed : upload-code-error

Any clue how to solve the issue is very welcome.

It seems like the hardware problem, you can try again or maybe update the bootloader.

RflySim avatar Mar 05 '21 09:03 RflySim