Hello.
I can't seem to program the board with arduino IDE over microUSB.
I have this board here
As far as I am aware, this should be the bluepill board.
I downloaded STMFlashLoader Demo and connected FTDI GND, 3.3, PA9, PA10, basically following this guide http://wiki.stm32duino.com/index.php?title=Burning_the_bootloader
I moved the jumper 0 from 0 to 1.
I burned *PC13.bin from this link
It seemed like it was flashed ok.
I disconnected FTDI and connected MicroUSB.
Tools -> Board info:
BN: Maple Mini
VID: 1EAF
PID: 0004
SN: Upload any sketch to obtain it
I set in the arduino IDE:
PORT -> COM12 (Maple Mini)
Programmer -> AVRISP mkll
Bootloader version -> Original (17k RAM, 108k FLASH)
maple_loader v0.1
Resetting to bootloader via DTR pulse
Searching for DFU device [1EAF:0003]...
dfu-util - (C) 2007-2008 by OpenMoko Inc.
Couldn't find the DFU device: [1EAF:0003]
This program is Free Software and has ABSOLUTELY NO WARRANTY
There is an audible device disconnect from windows
THE green LED flashes fast, then slow, then turns off
It says Done uploading but the LED is not flashing.
I am using same sketch as before when i uploaded it over FTDI without the bootloader and it was flashing then. ( ichanged the delays so i know it was not just the original test).
I have tried putting 2k resistor between pins 3.3 and A12 because the board has R10 103 value.
Not sure about any of this. Please advise.
This is the sketch:
#define LED PC13
// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin PB1 as an output.
pinMode(LED, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(LED, HIGH); // turn the LED on (HIGH is the voltage level)
delay(100); // wait for a second
digitalWrite(LED, LOW); // turn the LED off by making the voltage LOW
delay(100); // wait for a second
}