-
• #2
Hi Andrey, that all looks fine. Maybe add 'global erase' and 'verify' just to make sure.
Does your chip have an 8Mhz external oscillator? that would probably help.
You'll also need BOOT0 and BOOT1 to be set correctly at boot.
-
• #3
Thanks, Gordon
I guess, that the oscillator is the reason. Flashing process need no oscillator, but after loading Blue Led is in strange "half-on" state. Seems to chip doesn't start. Think I have to change the oscillator. -
• #4
Blue LED? What board is the chip is on? It'd help to know what the LED is connected to...
-
• #5
tryed to download thru swd, downloaded well, but espruino still doesn't work.
so, there is actually not original Espruino board, LED connected to F103rct6 PA15.
oscillator changed, moved closer to chip.
what is the serial 1 speed by default? 38400?
Another problem can be, that I didn't pullup USB_DP and I still have console on Usb, not on serial1.
upd: pulled up USB_DP - no results -
• #6
Default serial console is 9600 baud. PA13-15 are SWD/JTAG pins at power-up - so they'd half-glow if Espruino hasn't even got to the point of initialising.
What about RST pull-up, and BOOT0/BOOT1
-
• #7
rst pulled up to "+"
boot 0 - 0
boot 1 not connected -
• #8
Hmm, it should be ok. I'm really not sure what to suggest...
-
• #9
Thanks, Gordon
I suggest, I soldered it wrong. will remake it totally..
Just.... Do I have to set "Jump to the user program" checkbox on the picture above? -
• #10
You shouldn't have to set that checkbox... Once the program is in the device and you reset it, it should start executing whatever is in memory automatically.
Hi, Gordon! Trying to flash raw f103 chip (just from the shop with factory bootloader)
I launched stm flash loader demonstrator, connected to it and got some settings screen like this:
download procedure was successfull but espruino didn't wake up normally.
(I connected it via serial1).
What was my mistake? Maybe some default settings on the screen must be changed?