Bartman said:Is walk mode working in v.16 or planed for v.17 ? Over Xmas I’m planning on buying a frame and building a Surly Big Fat Dummy cargo bike for bikepacking and it will probably need walk mode.
jbalat said:I just installed version 16 on my friends bike and he wanted a high cadence version like mine.
His motor is 48v, so this version below will work on both motor types
He tested it for a minute or so and was quite happy. All I did was changed increased the motor speed cutoff limit and multiplied the normal FOC by about 1.4 to bring it in line with the 36v settings.
I am in Linux using OpenOCD to flash and debug, can't help with other tools.andyme said:casainho: i would love to check if i did everything right with my 850C. so i thought i could just read out the content with st-link VP .
what configuration settings do i need in VP?
casainho said:I am in Linux using OpenOCD to flash and debug, can't help with other tools.andyme said:casainho: i would love to check if i did everything right with my 850C. so i thought i could just read out the content with st-link VP .
what configuration settings do i need in VP?
You can't read nothing because it is protected. You will need to erase and unlock first, as the microcontroller is read protected -- that is the only way to write new firmware.
The microcontroller is based on STM32F103, search on Google on how to do it.andyme said:casainho said:I am in Linux using OpenOCD to flash and debug, can't help with other tools.andyme said:casainho: i would love to check if i did everything right with my 850C. so i thought i could just read out the content with st-link VP .
what configuration settings do i need in VP?
You can't read nothing because it is protected. You will need to erase and unlock first, as the microcontroller is read protected -- that is the only way to write new firmware.
i understand. in st-link vp there are 2 values that can be changed: programming mode: 3options: jtag, swd, swim and device: long list... what to select?
casainho said:The microcontroller is based on STM32F103, search on Google on how to do it.andyme said:casainho said:I am in Linux using OpenOCD to flash and debug, can't help with other tools.andyme said:casainho: i would love to check if i did everything right with my 850C. so i thought i could just read out the content with st-link VP .
what configuration settings do i need in VP?
You can't read nothing because it is protected. You will need to erase and unlock first, as the microcontroller is read protected -- that is the only way to write new firmware.
i understand. in st-link vp there are 2 values that can be changed: programming mode: 3options: jtag, swd, swim and device: long list... what to select?
Takes notes and write an wiki page for the next other users that will do it.
That should be a similar process at for LCD3. Double check your connections.andyme said:oh-oh...so far out of luck...i am getting connection errors....i will need to restart all over with the second 850C that i have in order to be able to doublecheck but i will have to order a new st-link cable. so i will most probably have to postpone until 2019...
casainho said:Double check your connections.andyme said:oh-oh...so far out of luck...i am getting connection errors....i will need to restart all over with the second 850C that i have in order to be able to doublecheck but i will have to order a new st-link cable. so i will most probably have to postpone until 2019...
andyme said:casainho said:Double check your connections.andyme said:oh-oh...so far out of luck...i am getting connection errors....i will need to restart all over with the second 850C that i have in order to be able to doublecheck but i will have to order a new st-link cable. so i will most probably have to postpone until 2019...
that is exactly my problem right now...it is beautifully sealed with silicone in the DCP-18 case.... :lol: i probably was too optimistic/naive..but i will be able to secure the jumper cables tomorrow and so i will be able to test everything with the "unmodded" 850C and then i will take it from there, before i start disassembling this one....
20181216_151514.jpg
This next step will be hard, because I simple do not have tome to provid hex files (I wish I could finish LCD3 new firmware version).andyme said:so all i need now is a hex-file, or two.. :wink:
casainho said:This next step will be hard, because I simple do not have tome to provid hex files (I wish I could finish LCD3 new firmware version).andyme said:so all i need now is a hex-file, or two.. :wink:
You will need to build the code by yourself. 1. And to build on Linux Ubuntu but I guess should be hard for you to instal Ubuntu on a virtual machine and being able to use it (because it is a new thing).
2. Other option would be to install on Windows, install binutils, etc and adapt the Makefile that builds the firmware to work on Windows (EndlessCadence did that for LCD3 and TSDZ2).
After all, I think 2. will be harder the 1., because once you have Linux running, installing GCC compiler and the binutils is straight forward and the Makefile just works.
andyme said:casainho said:This next step will be hard, because I simple do not have tome to provid hex files (I wish I could finish LCD3 new firmware version).andyme said:so all i need now is a hex-file, or two.. :wink:
You will need to build the code by yourself. 1. And to build on Linux Ubuntu but I guess should be hard for you to instal Ubuntu on a virtual machine and being able to use it (because it is a new thing).
2. Other option would be to install on Windows, install binutils, etc and adapt the Makefile that builds the firmware to work on Windows (EndlessCadence did that for LCD3 and TSDZ2).
After all, I think 2. will be harder the 1., because once you have Linux running, installing GCC compiler and the binutils is straight forward and the Makefile just works.
omg....you are challenging me.....let's see....i have no clue of all that so far...never done anything of the kind before...well...but thanks for the general directions... :thumb:
You need to build only the 850C firmware hex, as the firmware for TSDZ2 is just the same V0.16.andyme said:where are your last files? and i will need to build 2 hex files obviously. are your files divided in 2 groups? rest i will try to figure out...ubuntu is running and binutils is installing...
spiked said:Five miles into a ride today, my motor quit. The LCD3 screen went blank except for a flashing '25' (in the motor watts field, IIRC). I powered the LCD3 down and up again, and the display appears normal. Battery is fine at 75%, 53.4 volts (Ping 48v LiFePO4 20AH). All wiring/connections appear fine. It was an easy going ride, motor was under minimal stress. Outdoor temp was 50f degrees. But Motor watts are at zero, and there is no assist. I've got 16.0 installed.
Any suggestions as to where to start to diagnose this? I think I'll check the torque sensor output in the setup menu first.
Anybody know what the flashing 25 meant?
Thanks,
Neil
PS The bike got pretty wet in light rain the last time I rode it, the first time it's really gotten wet at all. I also rinsed it off lightly after the ride, trying to keep the wetting of the motor to a minimum. Don't know if this had anything to do with the problem.
Rafe said:jbalat said:I just installed version 16 on my friends bike and he wanted a high cadence version like mine.
His motor is 48v, so this version below will work on both motor types
He tested it for a minute or so and was quite happy. All I did was changed increased the motor speed cutoff limit and multiplied the normal FOC by about 1.4 to bring it in line with the 36v settings.
Can you not just use section 8(various) in the setup menu, Submenu 0 , Option 2 experimental high cadence mode ?
jbalat said:I just installed version 16 on my friends bike and he wanted a high cadence version like mine.
His motor is 48v, so this version below will work on both motor types
He tested it for a minute or so and was quite happy. All I did was changed increased the motor speed cutoff limit and multiplied the normal FOC by about 1.4 to bring it in line with the 36v settings.
linklemming said:Im assuming these changes would work well for a 48V motor with a 52V battery?
linklemming said:It turns out the hailong 48V 10AH battery I bought to save a few $$(and grams) is a POS. After 10 or so rides the BMS shuts off at 43V and closer inspection shows that one of the parallel banks is bad.
Rafe said:I did that once on a ride spiked and it caught me out too and now it is winter and I'm wearing thick gloves I do it quite often and it's a flipping nuisance.. all that you have done is inadvertently limited the max power to 25watts which is too low for pedal assist to work.