Everytime I try to callibrate accel, mission planner freezes, then loses connection with my FC

I have speedybee f405v4.
Everytime I try to calibrate the FC, missionplanner just freezes. Then I lose connection to my FC. Any help will be greatly appreciated.

Usually these sort of problems on F4 are due to lack of RAM. If you are configuring a bare board this shouldn’t happen but if you have already enabled a bunch of features it might. First thing to do is try reducing the log buffer size to see if that gets you enough to complete.

Thank you for your reply. I didn’t really enable many things in Mission planner . The only things I modified before calibrating my Accel is setting the serial2 port for mavlink 2 and setting that baud rate of the port to 921600. Should I try to re-flash the firmware for the FC?

Thank you.