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

setPinModeCallback For SWDIO Causes Board To Crash #477

Open
vindicatorr opened this issue Jan 19, 2021 · 0 comments
Open

setPinModeCallback For SWDIO Causes Board To Crash #477

vindicatorr opened this issue Jan 19, 2021 · 0 comments

Comments

@vindicatorr
Copy link

I was simplifying the StandardFirmata.ino since I was having issues with it and I think I found the cause...
It would seem that there may be some pins that simply must not be touched.
In the case of my STM32F4-Discovery board, it would be PA13 (pin 75), which is "JTMS-SWDIO".

I saw:
https://community.st.com/s/question/0D50X00009XkfYN/debug-problem
and
https://www.programmersought.com/article/4917389165/ though with this one, I found no reference of 'GPIO_Remap_SWJ_Disable' in the STM32CubeF4 Drivers nor in the F4 documents.

I just added Firmata.setPinMode(PA13, PIN_MODE_IGNORE); to deal with it.

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

1 participant