This model does not have a boot0 mode, only reset/nrst button?
This model does not have a boot0 mode, only reset/nrst button?
Czy wolisz polską wersję strony elektroda?
Nie, dziękuję Przekieruj mnie tampiotr_go wrote:.Tried to program the processor itself?
piotr_go wrote:.Looks OK. Don't you have some kind of short circuit?
Maybe try with a low reset at power up, let it go when you click programming.
TL;DR: PUYA’s PY32F002 ARM-M0+ MCU costs just 0.08 USD, "surprisingly good for such a ridiculous price" [Elektroda, l0ud, post #20366259], and draws ~5 µA in sleep [Elektroda, piotr_go, post #20364764] Ideal for ultra-low-cost 32-bit projects.
Why it matters: You can replace 8-bit parts with a faster, pin-compatible ARM for pocket change.
• Core: Cortex-M0+ @ 24 / 32 MHz, up to 96 MHz overclocked [Elektroda, piotr_go, post #20380514] • Memory: 20 kB FLASH / 3 kB RAM (002) — hidden 32 kB FLASH / 4 kB RAM in some lots [Elektroda, piotr_go, post #20375532] • Peripherals: SPI, USART, I²C, ADC, timers; DMA on 003 & many 002 samples [Elektroda, l0ud, post #20366259] • Supply: 1.7 – 5.5 V, 5 µA sleep current [Elektroda, piotr_go, post #20364764] • Price: 0.08 USD each-1000, $0.20 retail at LCSC [Elektroda, piotr_go, #20364764; LCSC pricing]
JLinkExe, then loadfile firmware.hex.
Done in under a minute.reset halt; flash erase_sector 0 0 last over OpenOCD. Bootloader lock bits clear, proven on QFN20 parts [Elektroda, wichers, post #20525933]