-
Notifications
You must be signed in to change notification settings - Fork 34
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
Flashing Issue, SWIM connection? #112
Comments
Nothing to do with the TSDZ2 firmware. Things to try:
|
@dzid26 Wow thanks for the quick reply!
Also: I get the same STVP error message first two tikes trying to flash like I did when reading memory in STVP. Quick note, I measured the voltage across GND and SWIM which is 5V, which indicates I should be able to flash (if i understood correctly) |
Looking at my old note vdudouyt/stm8flash#123 (comment) I have one thing to add. - When you power down the controller, wait 5minutes for the capacitors to discharge.
Other than that, it could be simply broken contact. |
I have tried this waiting for capacitor discharge a number of times now, also to no avail. Wouldnt a broken contact be weird considering I was able to read and program? |
When you wait for capacitors to be discharged, you can try powering up with nrst tied to ground as I mentioned in my note and then trying to flash option byte or unlock the chip with stm8flash. Bad contacts could work sometimes. |
Hi @UteAkaKute, did the new STLink solve your pb ? I am experiencing the same issues right now. Everything works fine in STVP (read and program) but I am unable to flash with the javaconfigurator ("cannot communicate with the device") |
Yes, I got my hands on a proper STLink (one of these https://www.digikey.nl/en/products/detail/stmicroelectronics/ST-LINK-V2/2214535 ) and it worked like a charm. I have read on other forums about people having trouble with cheap chinese knockoff STLinks, so that probably was the issue here as well. |
Thank you for the tip !
Le lun. 9 déc. 2024, 21:34, Lars Timmerman ***@***.***> a
écrit :
… Hi @UteAkaKute <https://github.com/UteAkaKute>, did the new STLink solve
your pb ? I am experiencing the same issues right now. Everything works
fine in STVP (read and program) but I am unable to flash with the
javaconfigurator ("cannot communicate with the device")
Yes, I got my hands on a proper STLink (one of these
https://www.digikey.nl/en/products/detail/stmicroelectronics/ST-LINK-V2/2214535
) and it worked like a charm. I have read on other forums about people
having trouble with cheap chinese knockoff STLinks, so that probably was
the issue here as well.
—
Reply to this email directly, view it on GitHub
<#112 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AN3S3RFB63RTMGOSGYQMTNL2EX5FTAVCNFSM6AAAAABMKXGM56VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMRZGM4DQOBQG4>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Hey everyone!
I'm trying to flash using a 36V TSDZ2 with XH18 display. The program seems to compile just fine but I am not able to get it to flash.
I have checked the SWIM connections which seem to be just fine. I doubt this is actually a hardware issue since I have been able to back up the stock firmware using STVP by reading the program memory, data memory, and option byte. STVP sometimes also gives this error, but I am able to read it after one more try.
I have been power cycling while pulling the RST pin low on my ST-LINK V2 using the GND pin.
I have updated the firmware on my STLINK v2 using STM32CubeProgrammer
I have checked the main.hex (which seemed fine and not corrupted) and I have checked data_empty.hex, which was not in .../bin. ?
I have checked the STlink connections numerous times.
Does anyone know what I can do to solve this flashing issue?
The text was updated successfully, but these errors were encountered: