Closed NickDevoctomy closed 3 years ago
You need to install the drivers. This is not a firmware bug - in fact - the firmware has no control over how the USB-to-serial chip identifies itself. Other people have successfully flashed this branch - so that also leads me to think it is not a firmware issue.
Okay, I'm not sure I'm aware of any drivers? Also no other printer board that I've connected to has required drivers.
I was lead to believe it is the firmware by BTT themselves who have suggested the SERIAL_PORT definitions being incorrect when the problem has been experienced with other boards of theirs.
The CR6 is different in this case as the LCD screen is using the second serial port.
Have you managed to connect to it via usb using this firmware?
Yes, without issue.
In Windows, and you installed some drivers?
Yes, in Windows. No drivers, but I suppose they were installed automatically because I used a similar board (in the BIQU B1) earlier.
Okay, well everything I'm finding online about this suggests it's a Marlin issue and the SERIAL_PORT definitions as these literally control how the board communicates with the host. So if it works for you im now under the impression that I have a faulty board as there are no drivers advertised for either boards that I can see at a glance. This sort of thing is usual part of Windows.
Can you make a screenshot of device manager? Do you have the issue on stock firmware too?
Sure thing, I'll get some screenshots this morning. I hadn't tried connecting to Pronterface as it was unusable, crashed when attempting to print from the SD card for example.
Okay great, not sure what happened but that actually fixed it. Done quick sanity check as it was, USB serial from laptop didn't work (didn't take a screenshot though), flashed stock firmware, USB worked, flashed extui branch back and now it works with that too. Awesome.
Okay so I was wrong about it working perfectly now, I seem to have some other kind of issue which I can only assume is hardware related and may have been the cause of this original problem. This probably has nothing to do with the firmware but am writing it here just incase.
Basically when I plug in a USB lead to my laptop, after about 15 seconds or so, an audible alarm sound starts. Now I have no idea if it's an actual alarm, or a fan making a weird noise, but it is entirely related to having a USB lead connected to my laptop.
I thought it may have had something to do with me disabling the filament runout sensor, as that's the only difference between my image and the btt extui branch. So I re-enabled it again and tested it, but the "alarm" continues to sound. If the machine is printing when I plug in the USB, the alarm starts and the printer crashes, so it's not just a sound, it's causing some weird issues.
I should confirm that is with or without the power line being present on the USB or not. Unplugging the lead does not stop the sound until I power down the machine.
Also... If I connect it when the printer is cool, (20c ~), it doesn't sound the "alarm".
A video of the issue is here,
https://www.dropbox.com/s/0iyfd4qqpuyv352/20201208_123418.mp4?dl=0
tldr;
Very odd. There is nothing that can give an audible noise from the hot-end except the fan - that alarm is the fan.
The part cooling fan does have a tendency to rattle, so I could replace it, but that doesn't explain the crashing.
And yup, I tried with and without the 5v removed. Sorry can't see all messages on my mobile.
Yeah, that was me not reading ;)
I assume the printer is connected to a grounded wall socket?
It should be, I mean I'm in my house. But I'll try a different socket in a bit to see if that makes any difference. I'll report back with my findings...
Okay just tried a few other sockets, no change.
Also tried with the USB lead plugged into the printer, but not plugged into anything else, and that didn't set it off (as you'd expect).
Just a sidenote. I’ve noticed that PWM fans on my Raspberry Pi’s will make noises like this, when running at less than 100%.
Interesting... Just tried connected to my Raspberry Pi 4, no alarm sound. Whilst running I connected to my Surfacebook, no alarm sound. Turn printer off, and on again whilst connected to Surfacebook, alarm starts.
Basically it only seems to make the noise when connected to my laptop, so that means my laptop has a power issue?
Could you try another USB port? see if that matters?
Yeah only have 2 on the laptop, tried both and they all set it off.
Tried all 4 on the pi and none of them make the noise.
I must say that I have observed this also a few times, that connecting or disconnecting can result in a reboot. It doesn't always happen. It isn't the serial handshake causing it - it is the physical connection. So I've just stopped connecting or disconnecting when I have something important running. Except for this - it is completely stable for me.
Just tried another laptop, and it didn't make the noise. COM port appeared as expected in device manager too.
Just like those cases with people who've had those metal covered laptops and felt a tingling sensation when touching it. Was mostly due to it being a non-grounded AC connection. So the person would act as a way to ground.
Aaah! I get that sensation when running my fingers on the surface to the side of the trackpad, almost feels like some weird static friction.
So my laptop isn't grounded properly?
Most likely yes, and thats the fault of the manufacturer. Dell even has an article on it https://www.delltechnologies.com/en-us/blog/notebook-tingle-sensation-what-39-s-going-on/
I wouldn't be suprised if that sensation is gone when you do connect it to the printer (when the printer starts making sound)
Edit: Still weird that it could cause the sound to happen in the first place. Shows some design error somewhere.
Well that's been an eye opener, thanks for all the help everyone, I'll just have to use a different laptop for connecting it.
My fan makes that exact noise on mine with pronterface running.
Bug Description
After flashing extui-btt-skr-stock-tft branch to a BTT SKR CR6, the serial port is non functional and showing as an unknown USB device in Windows. After some looking about it seems it may be down to the way the serial ports are configured in Marlin.
Configuration Files
Config files in extui-btt-skr-stock-tft branch
Steps to Reproduce
Expected behavior:
Should expect a virtual serial device to be detected
Actual behavior:
Uknown usb device is detected