Closed dzid26 closed 2 years ago
Hi! You need Unsecure chip by J flash or other tool, but i know't your tool hold Unsecure chip function.
I know. I provided solution for ST-link, because it was not obvious what to do. You can add my instruction to the wiki https://github.com/makerbase-mks/MKS-SERVO42B/wiki/MKS-SERVO42B-User-Manual#how-to-upload-firmware so it's easier for people understand how to do it with ST-Link tool.
In section Read Out Protection, it says Level0, Level1, Level2. How can I turn off Read Out Protection
In section Read Out Protection, it says Level0, Level1, Level2. How can I turn off Read Out Protection
This doesn't work for you? https://github.com/makerbase-mks/MKS-SERVO42B/issues/17#issue-672503790
unfortunately not working. When I try to change from Level 1 to Level 0 I get error "Could not set Options byte! Please reset the target and retry"
unfortunately not working. When I try to change from Level 1 to Level 0 I get error "Could not set Options byte! Please reset the target and retry"
I also get same error did anyone solved this ?
unfortunately not working. When I try to change from Level 1 to Level 0 I get error "Could not set Options byte! Please reset the target and retry"
I also get same error did anyone solved this ?
The first post says what to do.
unfortunately not working. When I try to change from Level 1 to Level 0 I get error "Could not set Options byte! Please reset the target and retry"
I also get same error did anyone solved this ?
The first post says what to do.
I tried that and it didn't work that's why asked again.
+1 disable protection is nt possible
In section Read Out Protection, it says Level0, Level1, Level2. How can I turn off Read Out Protection I had a look at it again. F103 series chip doesn't have protection levels. Only disabled/enabled options. So you are writing in the wrong Github issue or maybe somehow you were debugging wrong target. This should be reported device:
In section Read Out Protection, it says Level0, Level1, Level2. How can I turn off Read Out Protection I had a look at it again. F103 series chip doesn't have protection levels. Only disabled/enabled options. So you are writing in the wrong Github issue or maybe somehow you were debugging wrong target. This should be reported device:
But what about stm32f405 chips in that while I was using in my flight controller the board stopped responding and when i connect the processor with st-link it's saying read out protection is enabled and when i try to make it to level 0 it's not happening and says failed in between . Any solution for that or is it possible to erase the entire chip ? Can anything be done with the help of boot pins of the processor?
If it is set to Level2 then it is irreversible. https://www.st.com/resource/en/application_note/an4701-proprietary-code-readout-protection-on-microcontrollers-of-the-stm32f4-series-stmicroelectronics.pdf Anyway, your problem doesn't belong to this issue.
This helped me: https://community.st.com/s/question/0D50X00009Xkdy5SAB/not-able-to-update-option-bytes (update firmware ST-Link utility)
在读取保护部分中,它显示 Level0、Level1、Level2。 如何关闭读出保护
You need to select Level0.
unfortunately not working. When I try to change from Level 1 to Level 0 I get error "Could not set Options byte! Please reset the target and retry"
I've had the same problem with ST-LINK and STM32 ST-LINK Utility V 4.6.0.0, it was solved by decreasing the connection frequency from 4MHz to 125KHz in Target->Settings->Connection Settings.
Error when trying to connect to STM32:
In order to unprotect the chip with ST-LINK, one has to click Target -> Option Bytes: -> change Read-Out Protection - Disabled.
Then it is possible to switch to System memory (0x1FFFF800) and see firmware binary:
Flashing is possible now.