2018-07-31 05:45 AM
Hi
I have used STM32F030RC.
I program the flash memory, using bootloader from PA9 and PA10.
I have programmed the microcontrollers first time successfully. But after some program times, I can not program them. I traced the problem. The micro goes to boot mode with BOOT0 pin ( The main program does not run). but when I send 0x7F, I don't receive the response.
I find that the micro does not receive the 0x7F ( when it receive, it will High the TX pin).
And I fine the micro receive the 0x7F with oscop.
please help
Solved! Go to Solution.
2018-08-01 12:44 AM
The problem was resolved.
There are some undocumented things in stm32f030.
I find the chip can program from PA2 and PA3 that is not in document.
I have a BL600 sencor, connected to PA3 that is UART2 RX. the sensor generate pulses and micro select PA2 and PA3 for program media. my program solved by demontaging the sensor
2018-07-31 06:58 AM
to boot from the internal flash, Boot0 should be pulled down with a 10K resistor.
2018-07-31 07:06 AM
It boots from internal flash. It does not boot from system bootloader
2018-07-31 07:24 AM
Yes, if the Boot0 pin is low.=, It boots from internal flash..
but if Boot0 is floating ? or high ? can you check with a meter or scope ?
2018-07-31 09:07 PM
I force the BOOT0 pin high, by pull up, when i want program the chip and I think it goes to boot mode, because the main application does not start. Also I checked with meter
2018-08-01 12:44 AM
The problem was resolved.
There are some undocumented things in stm32f030.
I find the chip can program from PA2 and PA3 that is not in document.
I have a BL600 sencor, connected to PA3 that is UART2 RX. the sensor generate pulses and micro select PA2 and PA3 for program media. my program solved by demontaging the sensor