Installing latest firmware with KMotion.dll

Moderators: TomKerekes, dynomotion

Post Reply
hufster
Posts: 3
Joined: Wed Oct 02, 2019 4:12 am

Installing latest firmware with KMotion.dll

Post by hufster » Mon Feb 01, 2021 6:06 pm

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.

hufster
Posts: 3
Joined: Wed Oct 02, 2019 4:12 am

Re: Installing latest firmware with KMotion.dll

Post by hufster » Mon Feb 01, 2021 7:59 pm

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!

User avatar
TomKerekes
Posts: 2527
Joined: Mon Dec 04, 2017 1:49 am

Re: Installing latest firmware with KMotion.dll

Post by TomKerekes » Mon Feb 01, 2021 9:18 pm

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.
Regards,

Tom Kerekes
Dynomotion, Inc.

Post Reply