Search found 6 matches

by FreD
Sat Sep 09, 2017 12:46 am
Forum: USB to Serial adaptors
Topic: Problem programming Blue Pill using an Arduino Mega
Replies: 14
Views: 461

Re: Blue Pill - Error trying to program

Arduino mega2560 has an 8u2 micro running as usb2serial converter. I kept the mega2560 IC on reset. and use pins 0 and 1 of arduino as TX and RX, it is marked the other way around on the pcb, because it says what is this pin for the mega and not the 8u2. It works fine to flash the arduino pro mini, ...
by FreD
Wed Sep 06, 2017 7:27 pm
Forum: USB to Serial adaptors
Topic: Problem programming Blue Pill using an Arduino Mega
Replies: 14
Views: 461

Re: Blue Pill - Error trying to program

It is sending the correct 7F after 2 start bits that is when it opens the COM4, but the stm32 do not answer
by FreD
Wed Sep 06, 2017 7:26 pm
Forum: USB to Serial adaptors
Topic: Problem programming Blue Pill using an Arduino Mega
Replies: 14
Views: 461

Re: Blue Pill - Error trying to program

Infact I misinterpreted the scope reading.
Image
by FreD
Wed Sep 06, 2017 6:50 pm
Forum: USB to Serial adaptors
Topic: Problem programming Blue Pill using an Arduino Mega
Replies: 14
Views: 461

Re: Blue Pill - Error trying to program

I did this test, and something weird happens, as far as I know the stm32flash should send 7F to the stm micro. When I send it trough the terminal program using 8 bits word, the signal on the scope looks different than what stm32flash sends. I also so in some posts here in the forum that some people ...
by FreD
Wed Sep 06, 2017 3:52 pm
Forum: USB to Serial adaptors
Topic: Problem programming Blue Pill using an Arduino Mega
Replies: 14
Views: 461

Re: Blue Pill - Error trying to program

I don't have one, I am going to buy an ftdi and a st-link just to be safe.

I don't know how to check if it does support parity, in device manager driver config for it I can choose parity to be none, even, odd... should I change it somewhere in the arduino folder?
Does STM32flash has an option for it?
by FreD
Wed Sep 06, 2017 2:59 pm
Forum: USB to Serial adaptors
Topic: Problem programming Blue Pill using an Arduino Mega
Replies: 14
Views: 461

Problem programming Blue Pill using an Arduino Mega

Hi, I am not being able to flash my blue pill. My setup is: -Blue Pill stm32f103c8 -arduino mega as usb to serial converter (it works Ok to flash an arduino pro mini) -Arduino IDE 1.8.4 -downloaded the last zip from https://github.com/rogerclarkmelbourne/Arduino_STM32 and added to arduino/hardware d...