Hi, another newbie/amateur here, hopefully you still have some patience for one of those
I'd like some help writing to the flash of the PY32F002AL15S6TU (That is, the SOP-8 package).
After reading this thread and finding out that only the TSSOP-20 package supports ISP, I tried first with my PY32F002AF15P6TU (TSSOP-20) using Arduino as my IDE and writing to the PY32F002AF15P6TU directly from Arduino using a USB->TTL adapter with BOOT0 pulled high and everything worked well on the first try (yes, I was also surprised
) - Got some LEDs blinking and some buzzers beeping and was happy.
But now I want to return to my original goal of flashing the SOP-8 version. The thing is, I haven't touched a traditional IDE since collage (more than 3 decades ago) and I really don't want to start installing and then messing with CubeIDE, Keil, Eclipse, Python stuff, or any other heavy software that requires fiddling with definitions, settings and configuration files. Is there a simple solution like a standalone software such as PuyaISP in the the sense of just running an EXE (I'm on Windows) and writing? Or better yet, writing directly from the Arduino IDE ?
I'll emphasize that I
DON'T need debugging at all, just programming the flash with the hex file that I get from the Arduino IDE.
Another thing is the hardware (programmer). I just bought the DAPLINK and J-Link OB that you guys recommended from AliExpress:
https://www.aliexpress.com/item/1005003620126365.htmlhttps://www.aliexpress.com/item/1005005179354439.htmlBut it'll take about a month for them to arrive and I don't want to wait. I'd like to ask your expert help with how I can use what I have now, which is:
1. One ST-Link v2 clone. specifically this one:
https://www.aliexpress.com/item/33045347900.htmlI looked 'under the hood' and it has a APM32F103CBT6 MCU, if it matters.
2. A WCH-LinkE, specifically this one:
https://www.aliexpress.com/item/1005005269690018.html3. Many Arduino compatible STM32F103 boards (bluepills, blackpills, redpills, Etc.) as well as other Arduino dev boards (ESP32, RP2040, ATMEGA 328p, Etc.)
4. Many USB->TTL converters of all kinds.
So, any ideas? What programmer (if any) I need in order to write this firmware to a bluepill / blackpill? Will my ST-Link v2 clone work?
https://github.com/RadioOperator/STM32F103C8T6_CMSIS-DAP_SWO