Hi i am trying to load .hex file in my MCU using ST LINK Utility but i am getting the following error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-30 10:48 AM
I checked the base address in linker script and its matching with the one in ST link utility. Below are the attachements of ST link utility ,STM32CubeIDE Console and hex file
- Labels:
-
ST-Link
-
STM32F2 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-30 02:19 PM
Application has the wrong parameters, lacks a full file name.
The address is wrong, there is no flash memory at 0x8000, it starts at 0x08000000
Your .HEX is missing initial records
More likely a makefile issue than a linker script, but you provided neither.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-30 03:29 PM
Thank you
I changed the address in ST link utility but its showing the same error
Could you please tell me how do i rectify the issue. Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-30 06:10 PM
Make sure the linker script builds at the right address, and have the STM32 Cube Programmer load the .ELF file
https://www.st.com/en/development-tools/stm32cubeprog.html
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-31 12:55 AM
Use Keil for this little code is more more better