-
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
STM32F4 Discovery - unknown chip id! 0xe0042000 #107
Comments
Hello, Have a look here: "Connect under Reset" technique in STM-32 ST-LINK Utility brought back my dead mcus. Cheers! |
I have the same problem! |
To get back in touch with the chip, I have to boot into Windows and use the STM-32 ST-LINK Utility from ST to erase the flash with "Connect under Reset" enabled in Settings. |
I have the same problem but now it comes back with STM-32 ST-LINK Utility on Windows. Thanks! |
You can also short the BOOT0 pin with the VDD pin (using a jumper) to select the system memory (DFU bootloader) as the boot mode. Quick and simple. |
@perexg That does not work. |
@tghosgor works for me... |
What worked for me was:
|
Thanks @latsku, that worked perfectly. |
@latsku yes, your 3 steps worked for me too. Thanks! |
Hi Latsku, Great buddy, those 3 steps works fine for me .... |
@latsku thank you very much for your suggestion! This helped me as well. |
Tried all suggestions but still get |
Hi, On Tue, Sep 22, 2015 at 7:24 PM, Nickolay Kondratenko <
Regard's |
@AdarshBU it's a link to the current page |
@ Nickolay : Even I faced the same issue at the beginning of my work and unknown chip id 0xe0042000
Also, follow the instructions in the stlink readme to the letter...
and your code will start. Don't *use *run instead of cont, that doesn't I would also like to suggest you to check with
On Wed, Sep 23, 2015 at 2:48 PM, Nickolay Kondratenko <
Regard's |
1.open Stm32 St-link utility application |
@latsku im very new in stlink and boards, so sorry for the dumb question but, what does "1. Short the BOOT0 pin with VDD" really mean? |
@polaroi8d Not a dump question at all. And the electronics slang part. Short comes from short circuit, which is connecting the pins with a wire or similar conductor. |
@latsku Okey, thanks for the answer, its woorking :) |
So far I have just connected the Now is this because there is no board connected? I still have to try the above instructions on how to fix this - but could someone try to explain what the problem actually is? I didn't get it from the above comments yet. |
@xor-gate why the close without further explanation? |
Because this issue dates back to 2011 and is kept alive by != author. Feel free to reopen a new detailed issue tested against stlink tools currently in master. And latest stlink firmware (2.27). You are trying to detect a chip id with nothing connected, this is not as the tools are intended. |
The comment by @ADARSHBU has proved to be valuable to me; I want to stress the fact that the CN3 pins need to be shorted. Out of the box, discovery boards come with a jumper on these pins, but one of our boards had somehow lost this jumper and it took a while to notice. When in doubt, look up a few photos of the relevant board and check if the same jumpers are in place on yours! |
For people who comes to this issue from Google. If you see an |
@afiskon not sure about the "most likely" but it might be a cause |
Hi, i have a problem similar as #issue 64, but with a STM32F4-DISCOVERY.
st-flash write build/ch.bin 0x8000000
2012-09-01T18:33:59 INFO src/stlink-usb.c: -- exit_dfu_mode
2012-09-01T18:33:59 INFO src/stlink-common.c: Loading device parameters....
2012-09-01T18:33:59 WARN src/stlink-common.c: unknown chip id! 0xe0042000
stlink_sram_flash() == -1
Any hints?
The text was updated successfully, but these errors were encountered: