- Posts: 972
- Thank you received: 0
Building and configuring a stmbl v5
1 year 9 months ago #318361
by blazini36
Replied by blazini36 on topic Building and configuring a stmbl v5
Email isn't in your profile, didn't see it in your github bio either
Please Log in to join the conversation.
1 year 9 months ago #318369
by jst
Replied by jst on topic Building and configuring a stmbl v5
There you go:
github.com/jstjst
But after looking at the prices for the DMM servo drives, I think they are in the same price range (if not cheaper) then a stmbl
But after looking at the prices for the DMM servo drives, I think they are in the same price range (if not cheaper) then a stmbl
Please Log in to join the conversation.
1 year 9 months ago #318370
by blazini36
Replied by blazini36 on topic Building and configuring a stmbl v5
Sure, I have many of them.......but that's not the point.
There are very few "open-source" things that actually wind up being cheaper than the cheaper thing it's replacing.....but I can't run a DMM off of Smart Serial. The 2 options on a standard drive are (not really) RS232, step+direction, and analog.....but the analog input has issues on these. Modbus/rs485 is a custom drive.
There are very few "open-source" things that actually wind up being cheaper than the cheaper thing it's replacing.....but I can't run a DMM off of Smart Serial. The 2 options on a standard drive are (not really) RS232, step+direction, and analog.....but the analog input has issues on these. Modbus/rs485 is a custom drive.
Please Log in to join the conversation.
1 year 9 months ago #318405
by jst
Replied by jst on topic Building and configuring a stmbl v5
Building and flashing the firmware
You don't have to solder in the H-Bridge or any other connectors (expect the Power connectors P3 and P6) to flash the firmware.
Install prerequisites (I used a minimal debain install, so you might have some of them already installed):
Clone the github repository (I used the repo from freak, since it has the latest updates, even though they link to rene's repo in their documentation):
Build the firmware:
Flash the HV controller: Connect a USB cable to the USB port on the HV side (this is the only time you should connect a USB cable to the HV side). Short the Boot jumper near the STM32F3 with a small screwdriver and provide 24V DC to P6. The controller should show up in lsusb:
If the controller does not show up, make sure you have contact with the boot jumper. Also try to flip the USB cable.
Flash the firmware with
Flash the LV controller: Repeat the steps above on the LV side (connect USB cable, short boot pins on LV side near the STM32F4, provide 24V DC to P3, check for the controller using lsusb)
Flash the firmware with
The LV controller should reconnect and show up as
You don't have to solder in the H-Bridge or any other connectors (expect the Power connectors P3 and P6) to flash the firmware.
Install prerequisites (I used a minimal debain install, so you might have some of them already installed):
Code:
sudo apt install git python3 python3-serial make gcc-arm-none-eabi usbutils dfu-util
Clone the github repository (I used the repo from freak, since it has the latest updates, even though they link to rene's repo in their documentation):
Code:
git clone https://github.com/freakontrol/stmbl.git
cd stmbl/
Build the firmware:
Code:
make clean
make
make binall
Flash the HV controller: Connect a USB cable to the USB port on the HV side (this is the only time you should connect a USB cable to the HV side). Short the Boot jumper near the STM32F3 with a small screwdriver and provide 24V DC to P6. The controller should show up in lsusb:
Code:
Bus 001 Device 003: ID 0483:df11 STMicroelectronics STM Device in DFU Mode
Flash the firmware with
Code:
sudo make f3_all_btburn
Flash the LV controller: Repeat the steps above on the LV side (connect USB cable, short boot pins on LV side near the STM32F4, provide 24V DC to P3, check for the controller using lsusb)
Flash the firmware with
Code:
sudo make all_btburn
The LV controller should reconnect and show up as
Code:
Bus 001 Device 005: ID 0483:5740 STMicroelectronics Virtual COM Port
Please Log in to join the conversation.
Time to create page: 0.091 seconds
