Hi Brady!
I've seen a lot of STM32 chips and never bricked any. However, this
chips are sometimes difficult to connect to once they are in some dead
state. Power-cycling and chip erasing usually helped for me.
The other thing thats sometimes tricky is the communication speed and
the signal quality. I'd recommend to use rather short cables and make
sure their connection is good.
If that does not help, I'd suggest to retry using a battery powered
laptop. Ground loops can sometimes also cause this issues.
Btw: if you hear horrible sounds from the vacuum pump and the blower,
the chip erase was successful.
Jan
On 01.06.2023 21:20, Brady Bowerbank wrote:
> Hi everyone, I'm trying to upgrade the CHM-T36VA to OpenPnP and am
> currently stuck trying to flash Smoothieware. I have an STLINK-V3SET,
> STM32CubeProgrammer, etc. For reference, I am not experienced in doing
> this kind of thing.
>
> We were able to connect to the programmer and do a full chip erase,
> however while writing the new firmware CubeProgrammer crashed (we
> believe a faulty USB connection is to blame), and since then we've been
> unable to connect to the chip. When trying to connect it gives one of
> the following errors:
>
> Error: ST-LINK error (DEV_TARGET_CMD_ERR)
>
> Error: ST-LINK error (DEV_CONNECT_ERR)
>
> This is a screenshot of the CubeProgrammer window with our settings:
>
> Cube.png
>
> For the SWD connections, we've been using this this image
> <
https://raw.githubusercontent.com/c-riegel/misc/master/IMAG1221-20190916-141902825.jpg> from this guide <
https://github.com/openpnp/openpnp/wiki/Charmhigh-modifications-for-OpenPnP>, is this setup incorrect?
>
> Did we brick our board?
>
> --
> You received this message because you are subscribed to the Google
> Groups "OpenPnP" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
openpnp+u...@googlegroups.com
> <mailto:
openpnp+u...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/openpnp/83e77ba7-c04e-497b-af1e-b0588ad24a34n%40googlegroups.com <
https://groups.google.com/d/msgid/openpnp/83e77ba7-c04e-497b-af1e-b0588ad24a34n%40googlegroups.com?utm_medium=email&utm_source=footer>.