inav icon indicating copy to clipboard operation
inav copied to clipboard

Bug in FW or wrong flight controller?

Open romko1 opened this issue 7 years ago • 11 comments

Hello, Right after uploading FW 2.1.0 for MATEKF722mini and when I plug in an inav configurator I2C error 45 reports. In CLI console - resource: I see flawed rows: C08: G÷?ÊRúáL¾ ø|ïhÌ®¡Ø¿?¯?¿»óS¸eãHïÒÜm¼´Üæbz0àå?n¥ö¥n¢1?Ç?i4?»Ö%þ?Ãñ?_?÷uÖ?õ?'H ¶oÞng?Q?üTßCìä?MºrÝqöú6òôOjSiriO^,·o©+??UKLg/.+ªÿ¾Ó?òs¡mDjyónͲֽk C1Ù;ãÿì«"V0ýÅW5ÆEÇmS?ݱ}cØæËÆ Zx ÏÞé×1 OUT C09: G÷?ÊRúáL¾ ø|ïhÌ®¡Ø¿?¯?¿»óS¸eãHïÒÜm¼´Üæbz0àå?n¥ö¥n¢1?Ç?i4?»Ö%þ?Ãñ?_?÷uÖ?õ?'H ¶oÞng?Q?üTßCìä?MºrÝqöú6òôOjSiriO^,·o©+??UKLg/.+ªÿ¾Ó?òs¡mDjyónͲֽk C1Ù;ãÿì«"V0ýÅW5ÆEÇmS?ݱ}cØæËÆ Zx ÏÞé×2 OUT

Is this a FW error or is the board - flight controller itself wrong? Thank you. Roman

romko1 avatar Feb 28 '19 09:02 romko1

I can't reproduce the issue. It is working fine for me configurator version 2.1.4 and FW 2.1.0 final. Make sure you flashed with "full chip erase" selected and you're using the right baud rate. The default is 115200.

shellixyz avatar Feb 28 '19 14:02 shellixyz

Thank you, I'll take the recommended steps.

romko1 avatar Feb 28 '19 18:02 romko1

Unfortunately, FW inav also keeps telling me that the F7 MATEKF22mini board has I2C 45 errors.... I also noticed that the memory is only 512kB....

romko1 avatar Feb 28 '19 19:02 romko1

2019-02-28 @ 20:33:13 -- Detected device with total flash size 512 kiB 2019-02-28 @ 20:33:13 -- Read protection not active 2019-02-28 @ 20:33:21 -- Erased 512 kB of flash successfully 2019-02-28 @ 20:33:41 -- USB device successfully closed

romko1 avatar Feb 28 '19 19:02 romko1

Unfortunately, FW inav also keeps telling me that the F7 MATEKF22mini board has I2C 45 errors.... I also noticed that the memory is only 512kB....

That's correct. That is the firmware flash size. Not the Blackbox flash.

The output errors come from a wrong baud rate setting. Get the same issue when connecting with the wrong baud rate, if i forget to switch in configurator after using Bluetooth on 57600

b14ckyy avatar Feb 28 '19 19:02 b14ckyy

I've made the recommended modifications, but I'm unsuccessful. I attach a few print-screens. baud_rate ports_inav_210 status_matekf722

romko1 avatar Feb 28 '19 22:02 romko1

Sorry I didn't get that you were talking about the resource command. Confirmed there is a software issue there.

shellixyz avatar Feb 28 '19 23:02 shellixyz

Will be fixed in the next release. Thank you for reporting. C8 and C9 are the pinIO pins.

shellixyz avatar Feb 28 '19 23:02 shellixyz

OK. But my question is: C08 and C09 have been corroborated, but related to the I2C errors 45? In the CLI console: status: status_matekf722

I did a little test. I uploaded my FC MATEKF722 mini -> FW Betaflight 3.5.6 and in the CLI console (betaflight it allows) eliminated the resource for the I2C1 B08 et B09 and the I2C error disappeared ... maybe it looks to the board error, or? Thank you.

romko1 avatar Mar 01 '19 07:03 romko1

I don't know, it seems unrelated to me.

shellixyz avatar Mar 01 '19 13:03 shellixyz

If it doesn't increase after the FC is powered up it is nothing to worry about

shellixyz avatar Mar 01 '19 21:03 shellixyz