emuflight / EmuFlight

EmuFlight is flight controller software (firmware) used to fly multi-rotor craft.
GNU General Public License v3.0
446 stars 113 forks source link

[Bug Report] RUSHBLADEF7/RUSHBLADEF7HD not detecting BMP280 Barometer. #672

Open BeauBrewski opened 2 years ago

BeauBrewski commented 2 years ago

Describe the bug Flight controller supports BMP280 in Betaflight, but will not turn on in Emuflight. See bug report #415

To Reproduce Attempt to turn on BMP280 in Emuflight.

Setup / Versions

Additional context See #415 See below image where barometer does not show connected. image

JulioCesarMatias commented 2 years ago

I made a correction, can you test it again?

JulioCesarMatias commented 2 years ago

https://github.com/emuflight/EmuFlight/pull/671

nerdCopter commented 2 years ago

@JulioCesarMatias , this issue ticket for RUSHBLADEF7, i think you meant to post in https://github.com/emuflight/EmuFlight/issues/415

JulioCesarMatias commented 2 years ago

@JulioCesarMatias , this issue ticket for RUSHBLADEF7, i think you meant to post in #415

sorry

BeauBrewski commented 2 years ago

@JulioCesarMatias any chance of getting a RUSHBLADEF7 fix for BMP280 too? 🙏

JulioCesarMatias commented 2 years ago

@JulioCesarMatias alguma chance de conseguir uma RUSHBLADEF7correção para BMP280 também?🙏

EmuFlight_0.3.7_RUSHBLADEF7_Build_2019_2088e6f5a.zip

nerdCopter commented 2 years ago
nerdCopter commented 2 years ago

@BeauBrewski , here is 0.3.4 version for public-testers TESTING_BMP280_EmuFlight_0.3.4_RUSHBLADEF7_Build_52dfc2642.hex.zip

JulioCesarMatias commented 2 years ago

@BeauBrewski can you tell if it worked for a RUSHBLADEF7?

BeauBrewski commented 2 years ago

@JulioCesarMatias I still haven't heard back from the guy who asked for it.

BeauBrewski commented 2 years ago

Got reply that test file 0.3.4 and new release 0 4.0 did not show the baro for RushBladeF7 and BMP280.

JulioCesarMatias commented 2 years ago

Got reply that test file 0.3.4 and new release 0 4.0 did not show the baro for RushBladeF7 and BMP280.

this is weird.

1 - Is FC looking for the BMP280 automatically on the I2C bus?

2 - Is the SDA and SCL connection correct?

BeauBrewski commented 2 years ago

1 - I'm not sure but can try to ask. 2 - I am assuming so as it works fine with BF. Here is screen cap of it not working on Emu w/ the 0.3.4 test build: 234296305_299578001960792_6316470820827957796_n

JulioCesarMatias commented 2 years ago

1 - I'm not sure but can try to ask. 2 - I am assuming so as it works fine with BF. Here is screen cap of it not working on Emu w/ the 0.3.4 test build: 234296305_299578001960792_6316470820827957796_n

I've also seen some boards only work the barometer with the battery connected, I don't know if this is the case

BeauBrewski commented 2 years ago

Not showing up with battery connected also.

JulioCesarMatias commented 2 years ago

Not showing up with battery connected also.

How sad, I don't know why it didn't work, I did everything correctly in PR #671

JulioCesarMatias commented 2 years ago

which .hex file did you send the guy to test? Mine or NerdCopter?

JulioCesarMatias commented 2 years ago

I was downloaded and looked at NerdCopter .hex file, and the one he uploaded is smaller than mine. Are you sure you sent mine? Captura de tela 2021-08-23 225947

BeauBrewski commented 2 years ago

I had sent nerdcopters .hex. Did the code make it into 0.4.0 for this fw? The tester also had tried 0.4.0 without baro showing.

nerdCopter commented 2 years ago

@JulioCesarMatias , i cherry-picked your mods into older branch, because i did not want the pilot to flash something that the 0.3.6 GUI was not ready to set all features. now that 0.4.0 is out, you can merge master into your branch and send out new .hex.

however, the cherry-pick used your target-definition, so it's still an unsolved problem irregardless.

JulioCesarMatias commented 2 years ago

ok @BeauBrewski and @nerdCopter , so i don't know anymore why it doesn't work.

BeauBrewski commented 2 years ago

Crap. I had an idea/realization. This has been RushBladeF7 HD flight controller that it is being tested on. I don't know if there is any real difference between the RUSHBLADEF7 and RUSHBLADEF7HD, but that might be part of the issue.

xpertcrush commented 2 years ago

I have rush blade f7 hd, if you need me to test something let me know