TSDZ2 EBike wireless standard (like Specialized Turbo Levo) - OpenSource

Filippods said:
Filippods said:
rananna said:
Filippods said:
Hi, i've come back! :D

I've just finished to build the TSDZ2 wireless board, but i cannot enter in DFU mode to update the firmware (first time update), i've just flashed the bootloader (**Verified OK**) and connected the controller to TSDZ2.

I've followed the guide on opensourceebike.github.com: press RESET button for several seconds while POWER ON, is it right? No led blinks, nothing happens.

Thanks for any help!
nothing visible with the leds happen.
Please run nordic connect and see if TSDZ2_DFU shows up in bluetooth.
That would indicate it is ready for a firmware update.

On nordic connect i cannot see TSDZ_DFU

I was holding the wrong button, now i've flashed the firmware, but i can't find the controller through bluetooth.

[youtube]https://youtu.be/Ozaa8GxgxYg[/youtube]
Yes, based on your YouTube video you have successfully flashed the firmware for the wireless controller.
You can now use the android app to control the board assuming you have wired it to the motor
 
rananna said:
Filippods said:
Filippods said:
rananna said:
nothing visible with the leds happen.
Please run nordic connect and see if TSDZ2_DFU shows up in bluetooth.
That would indicate it is ready for a firmware update.

On nordic connect i cannot see TSDZ_DFU

I was holding the wrong button, now i've flashed the firmware, but i can't find the controller through bluetooth.

[youtube]https://youtu.be/Ozaa8GxgxYg[/youtube]
Yes, based on your YouTube video you have successfully flashed the firmware for the wireless controller.
You can now use the android app to control the board assuming you have wired it to the motor
I've wired it to the motor, but i cannot find the controller neither in the bluetooth tab of my smartphone or in the ebike app.
[youtube]https://youtu.be/2WOhDArEwY8[/youtube]
 
Filippods said:
I've wired it to the motor, but i cannot find the controller neither in the bluetooth tab of my smartphone or in the ebike app.
[youtube]https://youtu.be/2WOhDArEwY8[/youtube]
@rananna, maybe we should blink "breathing" the red LED when power up the board, that ways users will understand it is on.

In the case of this user, maybe the issue is that board is not power on. And if we use the same logic as on the remotes (that we should), the user can try increase assist level and see if the motor is on or off - the only different is that there is only one button instead of 2 buttons for change the assist level and power on/off.
 
casainho said:
Filippods said:
I've wired it to the motor, but i cannot find the controller neither in the bluetooth tab of my smartphone or in the ebike app.
[youtube]https://youtu.be/2WOhDArEwY8[/youtube]
@rananna, maybe we should blink "breathing" the red LED when power up the board, that ways users will understand it is on.

In the case of this user, maybe the issue is that board is not power on. And if we use the same logic as on the remotes (that we should), the user can try increase assist level and see if the motor is on or off - the only different is that there is only one button instead of 2 buttons for change the assist level and power on/off.
The Leds do light up once on power on for both the remote and the main board, then go out to save power.
You can press a button to cause an led flash on the remote to confirm power on.
Since power is not an issue for the wireless controller board, maybe a 'breathing' blue led flash should be constantly on until a connection is made to the android app? This would certainly indicate that the board is active, and help to indicate connection.
@beemac: what do you think?
 
Filippods said:
rananna said:
Filippods said:
Filippods said:
On nordic connect i cannot see TSDZ_DFU

I was holding the wrong button, now i've flashed the firmware, but i can't find the controller through bluetooth.

[youtube]https://youtu.be/Ozaa8GxgxYg[/youtube]
Yes, based on your YouTube video you have successfully flashed the firmware for the wireless controller.
You can now use the android app to control the board assuming you have wired it to the motor
I've wired it to the motor, but i cannot find the controller neither in the bluetooth tab of my smartphone or in the ebike app.
[youtube]https://youtu.be/2WOhDArEwY8[/youtube]
Did you see the red, green and blue leds flash once when you powered up the board?
If no, please check your power connection.
 
rananna said:
Since power is not an issue for the wireless controller board, maybe a 'breathing' blue led flash should be constantly on until a connection is made to the android app? This would certainly indicate that the board is active, and help to indicate connection.
@beemac: what do you think?
Since the TSDZ2 wireless board can work without the mobile connection, it should not have the blue LED on.

So, for users to test, maybe we should complement the following information on the "How to build the TSDZ2 wireless board" page:
 
rananna said:
Did you see the red, green and blue leds flash once when you powered up the board?
If no, please check your power connection.

I see no leds and i've double checked all the connections, how you can see in the video when i press reset button (small button) a green led blinks.

I have the same problem with another nrf52840 with the firmware 0.6.2 flashed, but no wired... No led blinks when connected to usb port.
[youtube]https://youtu.be/je3Ng6BYcvA[/youtube]
 
Filippods said:
rananna said:
Did you see the red, green and blue leds flash once when you powered up the board?
If no, please check your power connection.

I see no leds, but double checked all connections and how you can see in the video when i press reset button (small button) a green led blinks.

I have the same problem with another nrf52840 with the firmware 0.6.2 flashed, but no wired... No led blinks when connected to usb port.
[youtube]https://youtu.be/je3Ng6BYcvA[/youtube]
Sorry, I misled you on the leds. We recently did a major led signalling update on the firmware which is planned for the next release. I forgot that this is not part of 0.6 2.
If you see an led light up when you press reset it would seem you have power connected.
No leds will light when you connect the USB.
I have run out of ideas. Can anyone else help with this issue?
 
rananna said:
Filippods said:
rananna said:
Did you see the red, green and blue leds flash once when you powered up the board?
If no, please check your power connection.

I see no leds, but double checked all connections and how you can see in the video when i press reset button (small button) a green led blinks.

I have the same problem with another nrf52840 with the firmware 0.6.2 flashed, but no wired... No led blinks when connected to usb port.
[youtube]https://youtu.be/je3Ng6BYcvA[/youtube]
Sorry, I misled you on the leds. We recently did a major led signalling update on the firmware which is planned for the next release. I forgot that this is not part of 0.6 2.
If you see an led light up when you press reset it would seem you have power connected.
No leds will light when you connect the USB.
I have run out of ideas. Can anyone else help with this issue?

I've tried to connect also with 0.6.0 firmware version, same problem... :(
To check if the wired board is working, could i try to wire vbus and gnd of the other board to a 5v psu and check the connection?
 
rananna said:
Sorry, I misled you on the leds. We recently did a major led signalling update on the firmware which is planned for the next release. I forgot that this is not part of 0.6 2.
If you see an led light up when you press reset it would seem you have power connected.
No leds will light when you connect the USB.
I have run out of ideas. Can anyone else help with this issue?
I would ask for waiting to the next stable release and then we can help to test again, as there are many changes on the LEDs and will be easy if we are all using the same firmware.

If the TSDZ2 wireless board has the correct firmware flashed and is correctly powered up, then it must work always show the TSDZ2 device on the Bluetooth, if not, I would try a new board as that one can be damaged.
 
casainho said:
I would ask for waiting to the next stable release and then we can help to test again, as there are many changes on the LEDs and will be easy if we are all using the same firmware.
If the TSDZ2 wireless board has the correct firmware flashed and is correctly powered up, then it must work always show the TSDZ2 device on the Bluetooth, if not, I would try a new board as that one can be damaged.

I've powered on also the not wired nrf52840, same issue, i can't see anything in the bluetooth device list.
When you are planning to release the next stable version?
Thank you.
 
Filippods said:
casainho said:
I would ask for waiting to the next stable release and then we can help to test again, as there are many changes on the LEDs and will be easy if we are all using the same firmware.
If the TSDZ2 wireless board has the correct firmware flashed and is correctly powered up, then it must work always show the TSDZ2 device on the Bluetooth, if not, I would try a new board as that one can be damaged.

I've powered on also the not wired nrf52840, same issue, i can't see anything in the bluetooth device list.
When you are planning to release the next stable version?
Thank you.
Next release maybe at end of next Sunday.

@rananna and @beemac, are you guys planning more changes to the code?
 
I have same also I believe. Only I put my dongle in USB, hold the white button while inserting. Otherwise ebike phone app will not find.
Screenshot_20210225-070234_EBike wireless.jpg
After selecting pairing fails.
Screenshot_20210225-070312_EBike wireless.jpg
 
Tiger_one said:
I have same also I believe. Only I put my dongle in USB, hold the white button while inserting. Otherwise ebike phone app will not find.
Screenshot_20210225-070234_EBike wireless.jpg
After selecting pairing fails.
Screenshot_20210225-070312_EBike wireless.jpg
Same issue, could we try flashing an older firmware, pairing so reflash the new firmware...
Edit: doesnt work
 
casainho said:
Filippods said:
casainho said:
I would ask for waiting to the next stable release and then we can help to test again, as there are many changes on the LEDs and will be easy if we are all using the same firmware.
If the TSDZ2 wireless board has the correct firmware flashed and is correctly powered up, then it must work always show the TSDZ2 device on the Bluetooth, if not, I would try a new board as that one can be damaged.

I've powered on also the not wired nrf52840, same issue, i can't see anything in the bluetooth device list.
When you are planning to release the next stable version?
Thank you.
Next release maybe at end of next Sunday.

@rananna and @beemac, are you guys planning more changes to the code?
On my end, I would like to do a few more checks and then it it will just be a minor cleanup of the wireless remote code.
I will give you a final release ready PR this Friday
 
casainho said:
rananna said:
Since power is not an issue for the wireless controller board, maybe a 'breathing' blue led flash should be constantly on until a connection is made to the android app? This would certainly indicate that the board is active, and help to indicate connection.
@beemac: what do you think?
Since the TSDZ2 wireless board can work without the mobile connection, it should not have the blue LED on.

So, for users to test, maybe we should complement the following information on the "How to build the TSDZ2 wireless board" page:
I created detailed instructions for the wireless remote on opensource.io:
https://opensourceebike.github.io/operation.html

but the operating instructions page for the wirelesss ccontroller is currently empty:
https://opensourceebike.github.io/wireless_motor_operation.html
Clearly, this needs to be fixed.
I was hoping that @beemac might take a stab at it once he completes the led and wired remote code for thee next release.
We also need an operating guide for the Android app
 
rananna said:
Filippods said:
Filippods said:
rananna said:
nothing visible with the leds happen.
Please run nordic connect and see if TSDZ2_DFU shows up in bluetooth.
That would indicate it is ready for a firmware update.

On nordic connect i cannot see TSDZ_DFU

I was holding the wrong button, now i've flashed the firmware, but i can't find the controller through bluetooth.

[youtube]https://youtu.be/Ozaa8GxgxYg[/youtube]
Yes, based on your YouTube video you have successfully flashed the firmware for the wireless controller.
You can now use the android app to control the board assuming you have wired it to the motor

@casainho,
Some time ago, you requested that I removed the flashing leds in the bootloader for dfu mode.
Given the issues that a number of users have raised, maybe we need to re-instate the leds display during dfu to provide some visual assistance to the user.
 
rananna said:
rananna said:
Filippods said:
Filippods said:
On nordic connect i cannot see TSDZ_DFU

I was holding the wrong button, now i've flashed the firmware, but i can't find the controller through bluetooth.

[youtube]https://youtu.be/Ozaa8GxgxYg[/youtube]
Yes, based on your YouTube video you have successfully flashed the firmware for the wireless controller.
You can now use the android app to control the board assuming you have wired it to the motor

@casainho,
Some time ago, you requested that I removed the flashing leds in the bootloader for dfu mode.
Given the issues that a number of users have raised, maybe we need to re-instate the leds display during dfu to provide some visual assistance to the user.

At least one led to know if I had broken the board or not would have been very helpful, my impression was to work with a dead board.
 
rananna said:
@casainho,
Some time ago, you requested that I removed the flashing leds in the bootloader for dfu mode.
Given the issues that a number of users have raised, maybe we need to re-instate the leds display during dfu to provide some visual assistance to the user.
If we put it on the bootloader, then that will be locked for any change we want to do. If we do on the firmware, we can change at anytime -- better to be on the firmware side.
 
casainho said:
rananna said:
@casainho,
Some time ago, you requested that I removed the flashing leds in the bootloader for dfu mode.
Given the issues that a number of users have raised, maybe we need to re-instate the leds display during dfu to provide some visual assistance to the user.
If we put it on the bootloader, then that will be locked for any change we want to do. If we do on the firmware, we can change at anytime -- better to be on the firmware side.
We can (and do) provide indication that the user is entering DFU mode.
However, there are no LED indications at all during DFU.
(ie: flashing constantly to indicate DFU mode, state indication of sucessfully loading the ota packet, leaving DFU, etc)
I was just thinking from user feedback that this quiet state of affairs is creating confusion.
Anyway, if you are happy with this, I will leave it alone for now.
 
rananna said:
casainho said:
rananna said:
@casainho,
Some time ago, you requested that I removed the flashing leds in the bootloader for dfu mode.
Given the issues that a number of users have raised, maybe we need to re-instate the leds display during dfu to provide some visual assistance to the user.
If we put it on the bootloader, then that will be locked for any change we want to do. If we do on the firmware, we can change at anytime -- better to be on the firmware side.
We can (and do) provide indication that the user is entering DFU mode.
However, there are no LED indications at all during DFU.
(ie: flashing constantly to indicate DFU mode, state indication of sucessfully loading the ota packet, leaving DFU, etc)
I was just thinking from user feedback that this quiet state of affairs is creating confusion.
Anyway, if you are happy with this, I will leave it alone for now.
Hmmm, all DFU states can be checked on the mobile phone. I can only think on a possible issue that DFU mode is enable but the mobile phone can not see the DFU device, then the blue LED would be useful -- but this is unlikely to happen as the mobile app is developed by Nordic and should be compatible over many OS versions -- it even works on iphone while our app does not... , so, I think there is no reason to not trust on the Nordic mobile app to check and manage DFU.
 
casainho said:
rananna said:
casainho said:
rananna said:
@casainho,
Some time ago, you requested that I removed the flashing leds in the bootloader for dfu mode.
Given the issues that a number of users have raised, maybe we need to re-instate the leds display during dfu to provide some visual assistance to the user.
If we put it on the bootloader, then that will be locked for any change we want to do. If we do on the firmware, we can change at anytime -- better to be on the firmware side.
We can (and do) provide indication that the user is entering DFU mode.
However, there are no LED indications at all during DFU.
(ie: flashing constantly to indicate DFU mode, state indication of sucessfully loading the ota packet, leaving DFU, etc)
I was just thinking from user feedback that this quiet state of affairs is creating confusion.
Anyway, if you are happy with this, I will leave it alone for now.
Hmmm, all DFU states can be checked on the mobile phone. I can only think on a possible issue that DFU mode is enable but the mobile phone can not see the DFU device, then the blue LED would be useful -- but this is unlikely to happen as the mobile app is developed by Nordic and should be compatible over many OS versions -- it even works on iphone while our app does not... , so, I think there is no reason to not trust on the Nordic mobile app to check and manage DFU.
yes, that makes sense.
We will emphasise in the docs that if the TSDZ2_DFU bluetooth characteristic is missing the board is either faulty, missing the bootloader, not powered correctly or not in DFU mode.(in which case they would see TSDZ2 characteristic)
 
casainho said:
Filippods said:
casainho said:
I would ask for waiting to the next stable release and then we can help to test again, as there are many changes on the LEDs and will be easy if we are all using the same firmware.
If the TSDZ2 wireless board has the correct firmware flashed and is correctly powered up, then it must work always show the TSDZ2 device on the Bluetooth, if not, I would try a new board as that one can be damaged.

I've powered on also the not wired nrf52840, same issue, i can't see anything in the bluetooth device list.
When you are planning to release the next stable version?
Thank you.
Next release maybe at end of next Sunday.

@rananna and @beemac, are you guys planning more changes to the code?

I'll have a look in the morning. I might back out my last PR as I'm not sure it's helpful... but didn't have time to look tonight. Otherwise no changes planned.
 
Filippods said:
Waiting for the next release, could we try something to solve this issue?
Could you please tell me the file name you flashed to use as a wireless controller?
 
Back
Top