On the front there is a power status LED (green is proposed)andyb said:Hi Woojak.
What are the ratings of the two resistors that you have on your boards.
Thanks.
Probably you need to fully erase and /or unlock, all commands of OpenOCDandyb said:Hello, I'm getting this error
nRF52 device has a CTRL-AP dedicated to recover the device from AP lock.
A high level adapter (like a ST-Link) you are currently using cannot access
the CTRL-AP so 'nrf52_recover' command will not work.
I'm using an updated STLink V2
Info : clock speed 1000 kHz
Info : STLINK V2J39S7 (API v2) VIDID 0483:3748
Info : Target voltage: 3.156505
Warn : target nrf52.cpu examination failed
Info : starting gdb server for nrf52.cpu on 3333
Info : Listening on port 3333 for gdb connections
I have read around on the subject and it looks like I need a different interface device to get past this, can anyone offer any guidance on what I should be buying, would either of these work? I'm happy to find out more and learn how to do this.
CMSIS DAP DAPLink ARM STM32 programmer debugger JTAG SWD Debug Probe Serial
s-l1600 (2).png
DAPLink Emulator Burner Support For HID Device SWD Download Keil MDK IAR Based On CMSIS-DAPLink Replace ST-Link V2
cmsis daplink.jpg
I updated the guide here: https://opensourceebike.github.io/development/development-flash_and_debug_firmware.htmlandyb said:Hello can someone please help me, I can't get it to work.. To put some context to this problem, I'm on my second st-link v2 and i have 2 dongles (bought from Mouser) and I have tried all combinations of them and I have tried as previously mentioned in a post, using the 5v pin instead of the 3v pin. I fired up Ubuntu and tried that but the commands past the installation of openocd failed. (I have followed all the instructions that Cas has put in place for when things are not working)
I so want to get this working and have spent hours and hours looking for an answer online.
Please see 2 posts ago for the error that I get.
I'm really trying to sort this out without bothering people but it's been a week and I just don't know what to do.
Any help would be greatly appreciated.
Thanks.
Probably yes. You just need to find information to to flash the NRF52 with that tools.andyb said:Hello, would i be able to flash it with a SEGGER J-Link and using J-Flash Lite? Would this be a case of connecting, erasing and then flashing?
Thanks.
Hi avandalen.avandalen said:For my solarbike, I have developed a wireless round gauge called the Bluetooth Wattmeter. It would be nice if it could also be used together with the TSDZ2. If there is interest I will hand over the design files to the TSDZ2 Wireless project. Then everyone can use the Wattmeter.
[youtube]OOTvbc08wqY[/youtube]
See the article here: https://www.avdweb.nl/solar-bike/electronics/bluetooth-wattmeter-extension-board-for-ebike-motor-controller
I don't know if there is a motor that provides this sensor data wirelessly, but there is one, that provides it via UART:I try to find a hub-motor which includes PAS, torque and maybe speed-sensor
@abfahrer, My VESC experience is going very well!! Here a picture of my last ride - you can see the 3D printed motor cover where I placed VESC + EBike board inside the motor:Hello, i found your project and didnt read all pages ( i'm still reading), but i have some questions regarding the ant+ lev-thing: When looking at your github-page, i have seen that you have mostly put pictures and i dont fully understand the whole thing...
But first i shoud tell my plans: I want to build with a rear hub motor and a vesc as controller. Only display i want to use is my bike-computer (karoo 2), which now supports the ant+ lev ebike. I want to use "standard" ant+ Handlebar buttons (shimano or others). I try to find a hub-motor which includes PAS, torque and maybe speed-sensor.
EBike_EScooter_modular_DIY: i dont see any ant+ - references. It only controls the vesc?
EV_Display_Bluetooth_Ant: Put as "archivated", so this one is incomplete/not working?
Bafang_M500_M600: Seems to me as this one is regarding the original Mid-drive-controller?
OpenSourceEBike.github.io: Only pictures and schematics/freecad.
So did you quit the ant+ lev completely? Or am i missing something important? Lots of the links from this thred which go to your github end on a 404-page, which makes the whole thing somewhat difficult to me.
So finally i think (maybe completely wrong) that i could build a controller with the vesc, including a torque-sensor (here with can-bus, other i have to program myself), cable-wired buttons and a cable-wired display?
You mention that you use the AS5047 with your motor. How did you connect it physically? The only picture which "shows" that doesnt show the hardware connected to the motor. (I think the bafang maybe has the option to put it on somewhere?)
Thanks much for any help!
interesting solution, so is this motor working with any Phoebe Liu supplied controller out of the box? Or you had to connect and program yourself the second UART?I don't know if there is a motor that provides this sensor data wirelessly, but there is one, that provides it via UART:
I've got it running with a Lishui controller.
regards
stancecoke