-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
STM32F401 Nucleo-64 no longer programmable (Regression) #766
Comments
I can confirm this. And I must apologize. I think my earlier claims on another thread about things working were almost certainly incorrect. Now that I'm executing the st-flash that was actually built I can reproduce this and I threw in a couple of prints to help figure out what's going on. On the Nucleo-F401RE, sl->core_id is coming out as 0x2ba01477 and CS32_CORE_ID is also 0x2ba01477 so the stlink_flash_loader_write_to_sram routine/ The datasheets suggests that the JTAG core id for the F401 should be 0x4ba01477 Unfortunately, I don't have an stm32vl part to see if there is a way around this problem. I noticed that src/common.c uses a different set of tests (based on sl->flash_type) to report the type of flash being used. Perhaps stlink_flash_loader_write_to_sram needs to also use sl->flash_type ? |
Hello, tested with master branch ( commit: f5d0454 )
|
Since commit 7651d21, I cannot flash my Nucleo-64 anymore :-(
Comment following line makes st-flash work again with Nucleo-64
https://github.com/texane/stlink/blob/30de1b30e7a96974ae764d0508c151eadb1addd1/src/flash_loader.c#L265
The text was updated successfully, but these errors were encountered: