Posted on

Firmware update for “Cannot calibrate IMU” problem

Some of you may have received IMU units which are unable to calibrate properly. We found the cause that some older MPU6050 chips slipped in which have different accelerometer scaling register values, we did not notice this at the time, but all the new IMUs ordered should not have this problem.

To fix this you will have to update the firmware on your module. To do this you will need.

  1. A computer
  2. USB-TTL Serial adapter

You will need to download flashing utility from NXP here: http://www.flashmagictool.com/

Connect NT Module TX -> USB-TTL RX and NT Module RX -> USB-TTL TX

then short the little solder bridge on the other side of the module (labelled BOOT on v2 modules), recommend using tweezers to do it, while the module is powered. You will need to just touch and short both pins.

Once done the LED should be very faintly lit, now the module is ready for flashing.

NXP Flash Magic

Open up Flash Magic utility. COM port will need to be set to your USB-TTL adapter. Baud rate 57600.

Load up the HEX file. Now it should program and verify the firmware.

If somehow you mess up, don’t worry. Short the solder bridge like before and then power up the module (while the solder bridge is shorted), the module will enter programming mode, and you can retry programming it.

Good luck!

Download: Contact us at info@ensys.lt for firmware files.

Leave a Reply

Your email address will not be published. Required fields are marked *