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

[reset] STM32F030: --reset option is not working #261

Closed
MrSpock opened this issue Sep 1, 2014 · 3 comments · Fixed by #1107
Closed

[reset] STM32F030: --reset option is not working #261

MrSpock opened this issue Sep 1, 2014 · 3 comments · Fixed by #1107

Comments

@MrSpock
Copy link

MrSpock commented Sep 1, 2014

How --reset switch is expected to work ?
Enable --reset doesn't have any impact on board.
On oscilloscope there is no pull-down for RESET line.
$ st-flash --reset write stm32f030_lab.bin 0x8000000
2014-09-01T19:56:13 INFO src/stlink-common.c: Loading device parameters....
2014-09-01T19:56:13 INFO src/stlink-common.c: Device connected is: F0 small device, id 0x10006444
2014-09-01T19:56:13 INFO src/stlink-common.c: SRAM size: 0x1000 bytes (4 KiB), Flash: 0x4000 bytes (16 KiB) in pages of 1024 bytes
2014-09-01T19:56:13 INFO src/stlink-common.c: Attempting to write 3008 (0xbc0) bytes to stm32 address: 134217728 (0x8000000)
Flash page at addr: 0x08000800 erased
2014-09-01T19:56:13 INFO src/stlink-common.c: Finished erasing 3 pages of 1024 (0x400) bytes
2014-09-01T19:56:13 INFO src/stlink-common.c: Starting Flash write for VL/F0 core id
2014-09-01T19:56:13 INFO src/stlink-common.c: Successfully loaded flash loader in sram
2/2 pages written
2014-09-01T19:56:13 INFO src/stlink-common.c: Starting verification of write complete
2014-09-01T19:56:13 INFO src/stlink-common.c: Flash written and verified! jolly good!

@xor-gate
Copy link
Member

xor-gate commented May 5, 2016

Your issue description is not very clear about programmer used, how it is connected. Please test with latest tools in master and newest stlink firmware.

@xor-gate xor-gate closed this as completed May 5, 2016
@Nightwalker-87 Nightwalker-87 added this to the Feedback required milestone Feb 26, 2020
@Nightwalker-87 Nightwalker-87 modified the milestones: Feedback required, Reset issues Mar 28, 2020
@Nightwalker-87 Nightwalker-87 changed the title --reset option is not working STM32F030: --reset option is not working Mar 31, 2020
@Nightwalker-87 Nightwalker-87 modified the milestones: Reset issues, Device issues Mar 31, 2020
@Nightwalker-87 Nightwalker-87 modified the milestones: Device issues, Reset issues Apr 3, 2020
@Nightwalker-87 Nightwalker-87 modified the milestones: b) Reset issues, v1.6.2 Jun 17, 2020
@Nightwalker-87
Copy link
Member

I can reproduce this with a STM32F103C8T6 connected to a STLINK-v2/clone via 4-pin SWD.

@Nightwalker-87 Nightwalker-87 changed the title STM32F030: --reset option is not working [reset] STM32F030: --reset option is not working Oct 22, 2020
@Ant-ON
Copy link
Collaborator

Ant-ON commented Mar 20, 2021

@Nightwalker-87 Now it is difficult to say the reasons for this behavior. Perhaps the reset output of the programmer was not connected to the board. We saw oscillograms in the #220 that the reset works. I think we can close the problem as solved by #1107.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants