Made boot loader and uploaded along with the firmware only for unity with the baud rate change and latest arduino and same issue.
Did you try to downgrade your gcc ?
Iāll try it I used the latest as well Iāll give it a shot today
got it working i think it was also due to the privacy issues with macos and the initial makes, i deleted the files in the build folder and remade it also using the older version of gcc. If you want the virmware I can link it later today after i test it with USB flashing. It is 5.1 VESC firmware and specific unity firmware
Here it is. I was not able to test the USB flashing method as I flashed it with STM Utility. I had to get the board together quicly for a group ride so I totally forgot about this but the firmware is here if you want to try it at your own risk. https://drive.google.com/file/d/1CWJm1vjGLt5ibuZacPBKtxW8DWP-Bwzl/view?usp=sharing
@trelensis what are you using for a connector for the header? I have header pins currently with a 3 pin jst and a solo no connector for the other wire.
Iām not sure what header you are talking about but for the maytech remote receiver Iām using, I have a standard f-f 3 pin Dupont connector for the ppm (I removed the plastic jst connector on the unity, leaving only the pins so the Dupont connector can go right on the pins).
For the telemetry I only need 2 wires from the uart so Iām using this kind of splittable f-m Dupont ribbon
Edit: Ok just checked what a header connector is, didnāt know it was called that way, so yeah, I just splt 2 wires from the ribbon.
Cool did you get it working?
Yeah, howd it go?
Im waiting on the post but I was hoping to break the ble comm port on my unity out to a usplit then to a unity model metr pro and a davegax mod.
Heard Iād run into a fixed baud rate issue then ended up here.
Keen to give it a go when everything is delivered. (Still waiting on both usplit and metrpro)
Cheers guys
Keen to know if this has been flashed by usb as I donāt have stm link yet?
Hey, sorry didnāt had time to try and update my unity yet, I wonāt be home for a few days iāll try it when iām back.
I donāt have a stm link either, so i hope itāll go ok
Finally had the time to update the unity, and it works great
Metr CAN + Davega X + Maytech V2, just need to work on cable management here, itās a bit messy
Works just as intended using usb flashing, you have to rename the bin file tho, vesc tool refuses to read it with its current name (i renamed it to VESC_custom.bin)
The only issue remaining it that we would need to rebuild a version every update of the vesc firmware if we want to keep it up to dateā¦
@b264 I see that you forked the bldc github, do you intend to work on a real open source/community managed fork of the firmware as you did for the vesc tool? Having this setting configurable would be nice, but i donāt think itās really on the feature list benjamin is working on
Yes, please send a pull request
Ok, iāll try to work on the firmware to make the baudrate configurable, having to rebuild the firmware everytime someone needs to change the value isnāt really nice.
Would that be better to keep this setting independent from the other uart (meaning we would need to update the vesc tool to manage the new setting) or to have it using the same value as the main uart (meaning we would lose compatibility with the unity ble module, except for someone not using the main uart and setting the value at 250000)?
- Independent setting
- Same setting as the main uart
0 voters
I want to run DavegaX and Robogotchi on both UART ports, but that fixed baud rate on the internal uart port is preventing me.
Bloody legend. Thanks mate, just waiting on the usplit now and Iāll try it!
Do you just use CAN forwarding to connect to slave vesc and configure the baudrate in the UART tab?
Cheers
Never built a 4wd board, not sure about the can settings for it to works.
For the uart, the vesc tool uart baudrate setting only changes the main uart port, not the one used by the unity ble module. With this custom build itās still canāt be changed, but at least itās fixed at a usable value (115200, works with the davega X, the maytech v2 and probably lots of other things)
@Redeye Not sure what baudrate is needed by the robotgochi, is it like the metr (which works with any baudrate) ?
If so it should work using this firmware i guess. If it doesnāt, the davega X should work.
Thanks bro!
I feel like losing compatibility with the factory ble module is not desireable.
Adding both settings would require more tool changes and not just firmware changes.
What about just adding a new custom firmware that has the internal port set to 115200?
So you can choose default
, default_no_hw_limits
, parallel_super_single
, and default_115200_internal_uart
builds?
The downside is you wouldnāt be able to use the super single and dual UART together without yet another build ā but the upside is no tool & GUI changes, only firmware changes. I feel like itās a worthwhile tradeoff unless thousands of folks are going to be using that.