2023-07-18 02:41 PM
I have tried everything I can think of to get part to program, I still get this:
The elf loader Sector Erase function fails.
Memory-Loader error
Error occured during erase operation!
Programming error @ 0x08000000!
I have tried STL CLI, JFlash-lite, JFlash, STM32Cubeprogrammer, always the same thng.
If anyone has any ideas I would be grateful.
Solved! Go to Solution.
2023-07-19 01:04 PM
Found this:
That actually worked! Found it on another thread.
2023-07-19 02:33 AM
Hello @mark4444az
Is it a custom board? If yes do you have checked SWD connection?
If you are able to etablish a SWD connection with STM32CubeProgrammer, check option byte if the device is not protected (RDP ?)
BR
Romain
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-07-19 07:15 AM
I am using an STLink-V3Minie. I can look at the Option Bytes:
The Read/Write Protection is not checked so it is not on. Further, I have tried the JLinkSTM32 executable to reset options back to factory settings, said that worked.
I do not see
2023-07-19 07:16 AM
I still am having no luck on programming.
2023-07-19 07:31 AM
did you try loading a bin or hex file ?
+ another chip ? maybe this one has a "problem" .
2023-07-19 11:31 AM
Yes, replaced the processor and programmed with gui and it's ok. The issue appears to be in my script file:
ST-LINK_CLI.exe -c SN=002000283431511737393330 -p RAD3.hex 0x08000000 -v -rst
When I use that it seems to brick the uP.
2023-07-19 01:04 PM
Found this:
That actually worked! Found it on another thread.