Bed_Distance_sensor icon indicating copy to clipboard operation
Bed_Distance_sensor copied to clipboard

Error 10.24 sfter flashing STLink

Open rety4 opened this issue 1 year ago • 10 comments

Hello. I have a problem with BDsensor after flashing STLink. I receive error 10.24. I updated the firmware according to your instructions. Before the upgrade, BDsensor worked ok. Still 'No data from BDsensor,please check connection' on M102 S-1 command.Sensor is connect to EBB36.Should I make any changes after the upgrade?

rety4 avatar Jun 26 '24 07:06 rety4

does the led on the sensor on and off when there is metal close to the coil?

markniu avatar Jun 26 '24 07:06 markniu

The diode lights up when you approach the metal. Could you post the previous hex version? I would like to check if it will work after uploading

rety4 avatar Jun 26 '24 07:06 rety4

Here is the previous hex version:stm32autobed_20231102.zip

markniu avatar Jun 26 '24 08:06 markniu

Unfortunately the issue still exists. There is no difference which software is uploaded. I programmed both versions using your YT movie as instructions and both times i get notification that software is uploaded correctly. Before first software upgrade sensor worked correctly. What else can i do to fix it?

rety4 avatar Jun 26 '24 16:06 rety4

could you see the diode flashing, although it flash quickly, but still can see that flashing if it works. and it could be better if you can take a video about your process of the uploading.

markniu avatar Jun 27 '24 03:06 markniu

I am sending videos of the programming and behavior of the probe. Files were too big, that's why i had to use wetransfer https://we.tl/t-96ov0m5s4P

rety4 avatar Jun 27 '24 15:06 rety4

I am sending videos of the programming and behavior of the probe. Files were too big, that's why i had to use wetransfer https://we.tl/t-96ov0m5s4P

seems that the sensor is working, it should be the connection or cable problem. could you try the gpio on the pi for the sda and slc pins?

markniu avatar Jun 29 '24 03:06 markniu

I checked the wiring and connection again and the probe still reports an error. I borrowed a probe from a friend and everything is fine on the second probe. IMG

rety4 avatar Jul 01 '24 21:07 rety4

not sure what's the problem, but I think I can send you a new one , please send me([email protected]) your shipping address or order number.

markniu avatar Jul 02 '24 13:07 markniu

It happens, no problem. I sent the address. Regards Paweł

rety4 avatar Jul 02 '24 13:07 rety4