Page 1 of 1

Installing latest firmware with KMotion.dll

Posted: Mon Feb 01, 2021 6:06 pm
by hufster
We would like to update KFLOP firmware without using the KMotion UI.

We are using the KMotion.dll to communicate over serial usb.

We tried invoking CKMotionDLL::LoadCoff(Thread = 6, Name = <Path to DSPKFLOP.out>, PackToFlash=1). This didn't fail but also didn't update our firmware version on KFLOP.

Re: Installing latest firmware with KMotion.dll

Posted: Mon Feb 01, 2021 7:59 pm
by hufster
Update :

We got it working with the following -
  • Invoke - CKMotionDLL::LoadCoff(Thread = 6, Name = <Path to DSPKFLOP.out>, PackToFlash=1)
  • Send - ProgFlashImage
  • Send - Reboot!
There is still a small kink in that after rebooting, we try sending the Version command to verify that it is the version we flashed, but it responds with "Program Flash Image Complete", but I think we can work around that.

If there is an alternative preferred method for accomplishing this, please let me know.

Thanks!

Re: Installing latest firmware with KMotion.dll

Posted: Mon Feb 01, 2021 9:18 pm
by TomKerekes
Hi hufster,

Glad you got it working. The Visual Basic example Jogger has a command line option "UpdateFirmware" to update the KFLOP Firmware that uses a similar method.