-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not upload the code #165
Comments
Determine FLASH area |
what board? what programmer? (you know the usb port on the 'blue' doesnt actually do anything other than power?) |
hmm, looks right to me. Only thing I can think of is that the stlink may be a dud. I've had a few of those knockoff units fail to work with stm8. No idea why, but the quality and consistency is poor. Some have clone chips, some have stm32 variants that don't even (officially) even have USB (STM32F100, iirc). |
I've encountered an issue while trying to program my STM32 board using an ST-LINK V2. Here’s what I observed: Successful Upload but No Execution on STM32: ST-LINK Utility Verification: The ST-LINK Utility is able to erase the flash and verify the program. Additionally, I noticed that when the STM32 board is connected via the utility, uploading through the IDE is blocked, which I assume is expected behavior. Multiple Devices Tested: Could you please help me troubleshoot why the STM32 isn’t running the uploaded program and offer any insights on what might be preventing it from executing? |
Theres a lot of possibilities, from missing or bad decoupling or a missing voltage on one of the supply pins. maybe an issue with nRst, or the boot0/boot1 pins... or a firmware issue like a misconfigured clock tree or maybe problems with an interrupt vector, or any of a number of things. all i can really suggest is to look up an stm32cubeide tutorial, maybe a blinkie or something, and follow it closely. |
Determine FLASH area
Due to its file extension (or lack thereof), ".pio\build\stm8sblue\firmware.hex" is considered as INTEL HEX format!
8104 bytes at 0x8000... Tries exceeded
*** [upload] Error 4294967295
While uploading get this error
The text was updated successfully, but these errors were encountered: