cancel
Showing results for 
Search instead for 
Did you mean: 

Hi i am trying to load .hex file in my MCU using ST LINK Utility but i am getting the following error

NSirm.1
Associate III

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

4 REPLIES 4

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.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
NSirm.1
Associate III

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.

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

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
MM..1
Chief II

Use Keil for this little code is more more better