Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot use coolant and mist #70

Open
IhsanFuadi3 opened this issue Oct 16, 2020 · 4 comments
Open

cannot use coolant and mist #70

IhsanFuadi3 opened this issue Oct 16, 2020 · 4 comments

Comments

@IhsanFuadi3
Copy link

Hi,why coolant and mist didn't work?
thanks

@terjeio
Copy link

terjeio commented Nov 8, 2020

Because the pins are used for the JTAG interface per default? It has to be disabled first by calling __HAL_AFIO_REMAP_SWJ_NOJTAG(); somewhere in the startup sequence. If you use JTAG for programming this is no longer possible after this call has been issued. SWJ programming should still work.

You may want check my grblHAL driver for STM32F103 to see how I have done it.

@IhsanFuadi3
Copy link
Author

Because the pins are used for the JTAG interface per default? It has to be disabled first by calling __HAL_AFIO_REMAP_SWJ_NOJTAG(); somewhere in the startup sequence. If you use JTAG for programming this is no longer possible after this call has been issued. SWJ programming should still work.

You may want check my grblHAL driver for STM32F103 to see how I have done it.

im sorry,but i dont understand what do you mean,i just learned in MCU

@terjeio
Copy link

terjeio commented Nov 16, 2020

The JTAG interface is used for programming and when enabled it blocks the use of the pins for other purposes. I had to add code to unblock them before they could be used for coolant and mist.

@IhsanFuadi3
Copy link
Author

oke terjeio, thank you,i will try

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants