RoboGeeks

Mastering the BEAR Actuator 06: Firmware flash & Calibration

Westwood Robotics · Uploaded · 5:29 · Watch on YouTube

Westwood Robotics walks viewers through flashing firmware onto a BEAR actuator with an ST-Link programmer and STM32 ST-Link utility. It then shows how to run the step-by-step calibration with the BEAR debugger and the BEAR Calibration Tool, and when recalibration is needed.

Transcript

Captions as a .vtt fileEmbed with the transcript

  1. 0:02Hello everyone! In this video, we'll introduce the accessories Westwood Robotics designed specifically for flashing and calibrating BEAR actuators and walk you through the complete process.
  2. 0:14First, prepare the following hardware. A power supply, data cables, the BEAR debugger, an ST-Link programmer, and the actuator to be flashed.
  3. 0:25You'll also need a Windows computer with STM32 ST-Link utility and BEAR calibration tool installed.
  4. 0:33Download links for the software and firmware files, along with the full documentation, are in the video description.
  5. 0:40Before flashing, check the assembly orientation and wiring order of the ST-Link.
  6. 0:47The connector isn't symmetrical, and inserting it the wrong way round will misalign the pins and prevent flashing.
  7. 0:54Use the small triangle mark on the ST-Link to orient it, and follow the wiring order shown on screen.
  8. 1:01Now let's start flashing the firmware.
  9. 1:05First, connect the ST-Link to your computer and to the 6-pin flash port on the back of the actuator.
  10. 1:11The port location varies by model, so check the documentation for yours.
  11. 1:16Then connect the actuator to the power supply and set the voltage within its operating voltage range.
  12. 1:22You can check the connection status from the light on the ST-Link in the actuator.
  13. 1:27Next, open STM32 ST-Link utility.
  14. 1:30Make sure the actuator is powered on, then click Connect to the target in the top left corner.
  15. 1:35Once it's connected, the connection details appear in the output window, and the light on the ST-Link starts flashing.
  16. 1:42Go to Target in the menu bar and select Program and Verify.
  17. 1:46In the pop-up window, click Browse and select the hex firmware file that matches your actuator model.
  18. 1:53Then click Start.
  19. 1:54Flashing runs automatically and usually takes just a few seconds.
  20. 1:58Note that sometimes a readout protection warning will pop up.
  21. 2:03If it does, click OK, then go to Target in the menu bar, select Option Bytes, change Readout Protection to Level 0, and click Apply.
  22. 2:14Then click Connect to the target again, Run Program and Verify once more, and click Start to finish flashing.
  23. 2:21Now for calibration, you'll need the Bear Debugger, an accessory designed specifically for calibrating bear actuators.
  24. 2:30Connect the debugger to the 4-pin port on the back of the actuator and power the actuator on.
  25. 2:37Open the Bear Calibration tool.
  26. 2:40In the connection target area, click Refresh to update the port list, then select the COM port for the debugger.
  27. 2:47In this video, it's COM5, but the port number varies from computer to computer.
  28. 2:52Then select the correct actuator model from the product list.
  29. 2:56Next, select a calibration step from the Start Step list.
  30. 3:01For a full calibration, uncheck Use Previous Flash Data.
  31. 3:05To run a specific step or skip certain steps, keep this option checked and select the desired starting step.
  32. 3:12Click Start to begin calibration.
  33. 3:15By default, calibration starts with the ADC Offset step and proceeds through the remaining steps in the order shown in the list.
  34. 3:22Note that Tor Compensation is optional. You can skip it as needed.
  35. 3:27Before calibration begins, a safety confirmation window will appear.
  36. 3:31Please strictly follow the safety instructions provided in the window, then click Yes to proceed.
  37. 3:37You can monitor the calibration progress using the Step Progress bar.
  38. 3:42Once a step is complete, the state panel on the left will display Waiting for Next.
  39. 3:47Click Next Step to continue.
  40. 3:50Each calibration step may consist of several sub-steps.
  41. 3:53Once all sub-steps are complete, a dialog box will appear.
  42. 3:57Click Yes to save the calibration values.
  43. 4:00Repeat this process for the remaining steps.
  44. 4:03After the final step is complete, a confirmation window will appear.
  45. 4:07The Bear Calibration tool also offers an Auto mode.
  46. 4:12Enable it and click Start to run all calibration steps automatically in sequence.
  47. 4:17You can disable Auto mode at any time.
  48. 4:20The current step will continue until it is complete.
  49. 4:23And the results of all completed steps will be retained.
  50. 4:26If a connection error occurs, check that the supply voltage is within the required range
  51. 4:32and that the communication cable is securely connected.
  52. 4:35Make sure to disconnect the ST-Link from the actuator before calibration.
  53. 4:39If the ST-Link remains attached to the actuator but is not connected to a computer, it will hold the actuator in reset, preventing the calibration software from connecting.
  54. 4:49The actuators may rotate or vibrate during certain calibration steps, so always follow the safety instructions in the safety confirmation window.
  55. 4:58Last but not least, when should you calibrate your Bear?
  56. 5:02We recommend running a calibration after flashing new firmware or whenever your Bear generates excessive heat or can't hold its position.
  57. 5:10Please keep in mind that calibration can't fix hardware damage.
  58. 5:13If you suspect a hardware problem, contact Westwood Robotics Support for help.
  59. 5:18Now, you've successfully flashed and calibrated your Bear actuator.
  60. 5:22Give it a try and enjoy building with Bear.
Embed this video with its transcript

Paste this into your page. The frame holds the player and the transcript; the link below it says where the transcript comes from.

Debate

Elige un nombre en el siguiente paso. ¿Ya eres miembro? Inicia sesión.

Un correo cuando alguien comente. No hace falta cuenta.

El boletín

Recibe nuestro boletín gratuito con nuevos robots, precios y noticias de robótica.