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