Error while compiling and upload on STM32 Bluepill #153
Replies: 4 comments 3 replies
-
It's means that the code size exceed of the flash memory of the controller. |
Beta Was this translation helpful? Give feedback.
-
Do you really have a STM32F103C6 (not a C8 ) board? |
Beta Was this translation helpful? Give feedback.
-
I am having a strange issue. After changing the Board to "generic STM32F1 series" , it uploaded and started working. However. When powered by Computer USB, the program starts with scrolling etc. Though the main letters are scrolling, practically all other LED's are half lit except the top 3 on the right most column When the board is powered by external 5v supply, the scrolling stops midway with a few leds lit and all the rest are unlit. What could be this problem ?. Powersupply is good because I use it for ESP32 also. This supply is connected to the 5v pin of the Bluepill. |
Beta Was this translation helpful? Give feedback.
-
It started working nicely after changing the PA15 to PA0 . |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I tried to upload the example code of DMD_STM32 HUB12 monochrome using arduino ide and st-link.
I am getting the following error
c:/users/user/appdata/local/arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/../lib/gcc/arm-none-eabi/4.8.3/../../../../arm-none-eabi/bin/ld.exe: C:\Users\user\AppData\Local\Temp\arduino_build_23202/stm32_dmd32.ino.elf section
.data' will not fit in region
rom'c:/users/user/appdata/local/arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/../lib/gcc/arm-none-eabi/4.8.3/../../../../arm-none-eabi/bin/ld.exe: region `rom' overflowed by 8388 bytes
collect2.exe: error: ld returned 1 exit status
before uploading this sketch, I uploaded a simple onboard led blink sketch and it worked fine. So the setup seems to be fine.
Overflowing means the code is larger than the capacity of the microcontroller ? but how ? or is it any other issue ?
Beta Was this translation helpful? Give feedback.
All reactions