Hello
I have a board with Apm32 FEPSCBT6 text over it and wanted to know if is valid to use arduino ide to program it using like if it would be a STM32 ... no external crystal seen.
The upload blink sample through stlink v2 does not work but at least it uploads with no error. Sorry Im just starting with stm32 ecosystem.... this is not the proper board to start with but just need to understand if can be flashed... it is not obvious that no led is present on this board but pins with multimeter does not detect blinking.... tried
#define LED_BUILTIN PA14
also PA15 PA2 and PC13 with no luck. (im trying to use an unused pin in the PCB so should be fine to be PA14 or PA15 in case the pins are identical to layout pinout of STM32 F103
thks in advance
#define LED_BUILTIN PC13
// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(LED_BUILTIN, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
STM32 ST-LINK CLI v3.3.0.0
STM32 ST-LINK Command Line Interface
ST-LINK SN: 41002500170000345233544E
ST-LINK Firmware version: V2J37S7 (Need Update)
Connected via SWD.
SWD Frequency = 4000K.
Target voltage = 3.3 V
Connection mode: Normal
Reset mode: Software reset
Device ID: 0x410
Device flash Size: 128 Kbytes
Device family: STM32F10xx Medium-density
Loading file...
Flash Programming:
File : C:\Users\Ux410u\AppData\Local\Temp\arduino\sketches\5421F553294BA56A778EF134D7BC4093\Blink.ino.bin
Address : 0x08000000
Memory programming...
�������������������������������������������������� 0%
0%������������������������������ 60%�������������������� 100%
Memory programmed in 0s and 578ms.
Programming Complete.
MCU Reset.
Application started.