Comments (14)
You need to close the serial connection before restarting the bluepill. It's not like an arduino where hitting the reset button resets just the MCU and the usb-serial chip stays connected.
from 6-axis-usbcnc-grbl.
I have the same issue and possibly more issues. I have removed 10k resistor and installed a 1.5k for the usb, but I cannot soft reset after an alarm (limit switch is triggered) and reset button does not bring it back up. Same issue seen on multiple sources of blue pill and black pill (robotdyn). Maybe a dumb question @Alfrederson , but how do I close the serial connection, then reconnect? Also I see this issue also on @mstrens branch. I think it's a blue pill/grbl issue.
Many thanks!
Just pull the USB cord and plug it back in. Pushing the reset button on the bluepill itself does the same, but you need to close your host before.
EDIT: by close the serial connection, I mean in the GRBL host on the PC. The rest (pushing reset button or unplugging or plugging) still apply
from 6-axis-usbcnc-grbl.
Hmm((
It's look like the same issue:
http://www.chibios.com/forum/viewtopic.php?t=1727
Unfortunately
Mybe this is the (hardware) decision:
https://stackoverflow.com/questions/54939948/stm32-usb-cdc-after-hardware-reset
from 6-axis-usbcnc-grbl.
from 6-axis-usbcnc-grbl.
I'll try it later. (Remove R10 resistor, use bluepill board with external pull-up resistor with toggling mosfet transistor driven by PC14 or 15 for example)
from 6-axis-usbcnc-grbl.
I have the same issue and possibly more issues. I have removed 10k resistor and installed a 1.5k for the usb, but I cannot soft reset after an alarm (limit switch is triggered) and reset button does not bring it back up. Same issue seen on multiple sources of blue pill and black pill (robotdyn). Maybe a dumb question @Alfrederson , but how do I close the serial connection, then reconnect? Also I see this issue also on @mstrens branch. I think it's a blue pill/grbl issue.
Many thanks!
from 6-axis-usbcnc-grbl.
from 6-axis-usbcnc-grbl.
@misan no, I cannot get Ctrl+X to work on blue pill or back pill (STM32f103C8). Reset button does not work either. I basically have to unplug from USB, then plug in again and recently need to reboot the entire PC. Can sometimes get $X to work to clear an alarm, but soft reset has never worked. Not sure if I've damaged my hardware or what.
from 6-axis-usbcnc-grbl.
@Alfrederson. Thank you. I will try closing the software accessing grbl on the PC, then the reset button on Blue Pill/Black Pill and see if it comes back up. Sounds like this is a STM32 issue that cannot be remedied in Firmware.
I should probably also mention that I really appreciate all the hard work that goes into the development and if no one thanks you for all of your hard work, then shame on them!
from 6-axis-usbcnc-grbl.
I verified that if you close the software host you can then disconnect the USB and reconnect to do a hard reset, but the reset button does nothing to clear the alarm and bring it back out of the alarm state.
Hard reset seems like it's overkill for a basic alarm like triggering a limit switch. Should I open another issue because this does not seem USB related.
from 6-axis-usbcnc-grbl.
I verified that if you close the software host you can then disconnect the USB and reconnect to do a hard reset, but the reset button does nothing to clear the alarm and bring it back out of the alarm state.
Hard reset seems like it's overkill for a basic alarm like triggering a limit switch. Should I open another issue because this does not seem USB related.
If it's just an alarm, can't you just unlock it through your GRBL host? Mine starts in alarm mode and I unlock it, no need to reset or anything. I think it's a compilation option to have GRBL start in alarm mode.
from 6-axis-usbcnc-grbl.
@Alfrederson, how exactly do you unlock it. I cannot get Ctrl-x (ctrl key + x) to work and I cannot get $X to work either.
from 6-axis-usbcnc-grbl.
I suppose it can be fixed only by hardware.
from 6-axis-usbcnc-grbl.
@Alfrederson if it starts in alarm state homing can be done to get it out of alarm state, I think it's Alarm 9 in that case. If I recall it does not require Ctrl-X, just needs to go through the homing cycle. The issue is on hitting a limit switch after homing it gets in an alarm state Alarm 1 and latches up.
@robomechs, thanks for looking into it. Disconnect from PC and pulling control_reset_bit low does ensure it can come out of alarm state. Using the reset button does not work.
I still believe something can be done if you can try to repeat this setup you'll have a better chance to debug.
from 6-axis-usbcnc-grbl.
Related Issues (20)
- Dual Y axis HOT 1
- backlash compensation HOT 1
- OT Question: How to create the pinout diagram like this? HOT 2
- only x axis can reach 230khz, y and z axis have problem HOT 1
- CNCjs Issue due to bug in mode state reporting HOT 5
- Makefile? HOT 3
- ! news. Project is no longer supported. HOT 3
- $h then system happens to restart
- configure grbl with "$x=val" commands (optional)
- about coolant! HOT 2
- pcb for this project (inside)
- Planner buffer question
- Installation on arduino uno or nano. HOT 1
- Using UART3 same times with UART1 please HOT 1
- Set machine positions for homed limit switches HOT 1
- Probing Issue
- Uart1 cant connect hc05 bluetooth HOT 1
- UART TX overlapping
- What is the problem that the serial port cannot communicate?
- No #undef USEUSB in grbl.h
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 6-axis-usbcnc-grbl.