Closed NilsLab closed 5 months ago
After I loaded the hex file (inav_7.0.0_STM32F411CE.rar) into the circuit and tested it, it failed to connect and displayed 3 lines like this "
-- MSP connection successfully opened with ID: 1 -- No configuration received within 10 seconds, communication failed -- MSP connection successfully closed"
@NilsLab No, nothing changes.
@NTH106 Have you uploaded the hex file and connected the sensors if it doesn't work? Which sensors did you connect? There is no explanation. You'll appreciate that I can't understand what the problem is just by saying it doesn't work. State the problem more clearly and clearly. Write what you used.
@rizacelik INAV 6.1.1 and INAV 7.0.0 Firmware from your repo works fine, There is no issue.
I was building my firmware with MPU6050 changes that are not working, I have backported MPU6050 changes to INAV 6.1.1 and INAV 7.0.0, But the board is not getting connected to the configurator.
The issue may be with the backporting of MPU6050 or some changes needed in the MPU6050 driver or somewhere else to work on INAV7.0.0, Since you have done the same work for your firmware build you can help me.
If you're ok with sharing a patch of MPU6050 to support INAV7.0.0 that will be a great help.
I want to have some pin changes, I am trying to make one PCB board blackpill but before I need to see if the firmware works with pin changes, or not.
MPU6050 with INAV 5.1.0 not booting I am facing an issue with the MPU6050 build with Inav 5.1.0 only the following changes are done for 5.1.0
target_stm32f411xe(STM32F411CE HSE_MHZ 25)
- #if HSE_VALUE == 24000000
+ #if HSE_VALUE == 25000000
+ #define PLL_M 25
+ #elif HSE_VALUE == 24000000
If I removed the MPU6050 definition from the target.h board is booting fine
Can you suggest what might be missing on inav5.1.0 to get MPU6050 working?
I follow the steps here. I didn't make any other changes.
https://github.com/iNavFlight/inav/commit/1c536ccb837e5e06e2936a69d99de8636afff758
Removed support information is in red. Place them in the relevant files.
I have retried the above changes but still facing the same issue , Board is not booting with MP6050
Can you please provide diff with your local repo this will help me to go ahead
$ git diff HEAD > mpu6050.patch
I have attached my $ git diff HEAD > mpu6050.patch
to this comment if possible have a look at this one
https://github.com/NilsLab/INAV_7.0.0_BlackPill/blob/main/INAV_7.0.0_STM32F411_MPU6050.patch
No, there is nothing different. Just insert the removed codes for INAV support. There are no other changes.
Why is MPU6050 so important? This sensor is not suitable for flight. It increases the CPU load by 80%. Additionally, INAV announced that it will no longer support the STM32F411 board. MPU6050 sensor Betaflight does not work at all. The card does not do ARM. I think you should not waste your time.
I had a bunch of MPU6050 with me and it was very cheap It would be great if you could help me get going. But there is a chance of some change in the source code that you have, because inav5.1.0 is not working with MPU6050 when built with provided target files, your repo all FW works fine with MPU6050.
Yeah for just for few bucks you should not risk into instability.
I have moved my DIY build with MPU6500 and it working fine We should not use local changes on the latest release, Now I have a clean INAV 7.0.0 build which only has a new Board definition as my connection, no source code change
Closing this issue since is's not supported officially on INAV 7.0.0
What's your parts specifications?
On Wed, Jan 17, 2024, 10:10 AM NilsLab @.***> wrote:
I have moved my DIY build with MPU6500 and it working fine We should not use local changes on the latest release, Now I have a clean INAV 7.0.0 build which only has a new Board definition as my connection, no source code change
— Reply to this email directly, view it on GitHub https://github.com/rizacelik/STM32F411CEU6_INAV_Firmware/issues/33#issuecomment-1894927743, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6LQAIGWXJLZP2PDKL4NLGTYO5I2PAVCNFSM6AAAAABBH7FLAOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJUHEZDONZUGM . You are receiving this because you commented.Message ID: @.***>
The addition of MPU6050 support in INAV 6.1.1 and INAV 7.0.0 is excellent work , I have added MPU6050 to INAV 6.1.1 but the board is not booting after changes in common_hardware.c oather all files changes added from INAV 5.1.0 by referring Drop the MPU-6050 Support , I might be missing some changes since you added MPU6050 in INAV6.1.0 and INAV 7.0.0, can you help hear?