Issues When Upgrading to Telega v0.3

I’m having difficulty updating my Myxas to Telega v0.3.

The update process appears to run smoothly using UAVCAN GUI Tool - the log messages reported by the bootloader indicate the firmware is being downloaded onto the device.

After that process is finished, the Myxa switches to initialization mode, but never seems to progress any further than the bootloader. It appears to be stuck in a perpetual reboot cycle every 10 seconds.

Some feedback would be appreciated from anyone who has successfully updated to v0.3! If any further info from me is required please let me know.

If you have a USB-UART adapter, can you please connect to the debug port (at 115200-8N1) and see what does it have to say about this failure? It is most likely caused by the lack of CoA; if yes, we have a mitigation for that.

Unfortunately I do not have such an adapter on hand - will add to my shopping list though. Is there a means for me to try the mitigation strategy in the interim?

Yes. Can you please run the update sequentially: first, upload v0.1, then v0.2, then v0.3? The reason is that there are certain permanent modifications to your hardware being made by v0.2 which are required for v0.3 to work.

I have the same issue upgrading to v0.3. Pavel, I cannot try your suggestion, since I get an error when uploading v0.1. I don’t recall the exact error, but it was something about a ‘bad firmware image’.

By the way, is there a change log for v0.3? I cannot find any information on it.

Hi,

If you are upgrading the device which was bought earlier than the 2Q2019, you have to patch it.
Just download and flash this binary patch (265.5 KB). Then download and flash v0.3 firmware from the server. It should work.

Telega v0.3 changelog

  • The maximum no-load motor speed is increased by 18-25% (depending on the motor KV value).
  • The motor d-axis and q-axis currents and voltages are published in uavcan.protocol.debug.KeyValue UAVCAN messages. Keys are “idf”, “iqf”, “udf” and “uqf”.
  • Fixed the switching issue between voltage and speed control modes during field weakening activation and deactivation.
  • Fixed the motor speed saturation issue at 80-90% setpoint value in the ratiometric voltage control mode.
  • Introduced new parameters to improve motor characterization:
    • mid.phi.curr_bw - the current loop bandwidth for the motor flux linkage detection procedure.
    • mid.l.curr_bw - the current loop bandwidth for the motor inductance detection procedure.
  • Parameter renamings:
    • ctl.fw_v_boostm.fw_volt_boost

Hi,

Can you help me unbricking Myxa controller?
I had trouble upgrading it from v0.2 to v0.3 through uavcan and was getting bootloader errors (-3001 ?).
It was stuck in bootloader and I couldn’t revert it or flash anything.
Then i tried using the st-link hoping that i can leave the bootloader and flash application to following sector but I bricked it completely. :disappointed_relieved:

This is fixable. You can unbrick the device by flashing this binary at 0x08000000 (the flash base address):

https://files.zubax.com/products/com.zubax.telega/com.zubax.telega-1-0.3.68620b82.compound.bin

After the binary is flashed, the device may refuse to start with a missing signature error. To fix that, we will need you to tell us the unique-ID of the board which is stored as 12 bytes at 0x1FFF7A10. When we know the unique-ID, we will tell you the digital signature of the board that you will need to write at 0x800bf00.

Thank you, I’ve managed to flash the compound and read UUID:
0x1FFF7A10 : 4A 00 59 00 0B 51 36 31 30 36 38 38
edit. should probably be read in 32-bit mode: 0x1FFF7A10 : 0059004A 3136510B 38383630

Great. The first form is actually correct.

Your signature is:

bf97b006be890817a855a55a04375c23cfd96d758ef6393910705bb622b04f43254c090bfc77cf40fdeae6ee9a3f5a2ef8c69dd47799e2d7bcdf1b70d142d6c0809a4a91b41a71c858ea52e6732ee7d32011c58097b66fa6592290ff8c98faea616fed03a81a8f4afb0e8adbbe0cb20fd57f0c2fe9777c93504a21b3271aa0871bc77f99b4274648b87edb03b5f2691fce1d577c5ddf08ea0340c6dae542dd9505c90b8f8c2f9c30afd4144d8dd4fc3fce874b32cf8b4d77850da013e87a50961c2acb52db284332572b1e6befa5b31d0a6a6ca87de23c6aa6403312bab2

Just in case, here is the same thing as a binary file for your convenience: signature.bin (222 Bytes)

1 Like

Thanks a lot! ESC alive again! :slight_smile:

Hi Pavel
I think we have a bricked Myxa here as well. We bricked it when trying flash v0.4 firmware we got from Dmitry.
The LED is yellow, and when we connect to it via a F7 Pixhawk Flight controller, the UAVCAN screen sees the Myxa but shows an error


As expected, the firmware update doesn’t work anymore.

I see your instructions to Mice5 on flashing a binary to the base address. How do you do that? Is there a tool or certain commands we can use to flash it? Is this only do-able on a linux computer? We have windows computers here running linux only in VMs.

You should be able to do that using any SWD tool, like our Zubax Dronecode Probe, the standard ST-Link, or whatever. The appropriate software for Zubax Dronecode Probe would be the standard GDB client (you can generate an uploadable ELF using Converting flat binary into ARM ELF format, useful for firmware uploading via GDB · GitHub). For ST-Link you can use STSW-LINK004 - STM32 ST-LINK utility - STMicroelectronics.