Krakenw / Stlink-Bootloaders

Stlink Bootloaders
271 stars 128 forks source link

Difference between protected ed unprocteded ? #5

Open DavideLentini opened 3 months ago

DavideLentini commented 3 months ago

Hi , what is the difference between these 2 files ? Which ones should I use ?

slightc commented 3 months ago

protected will add flash read protected, for protect product can't be read and copy, usually you just need use unprotected bin

Slawek78-tech commented 3 months ago

And what is the difference between v2-0 and v2-1?

DavideLentini commented 3 months ago

And what is the difference between v2-0 and v2-1?

I think it's a reference to the stlink version 2-0 or 2-1 , the most recent is the 3-0

slightc commented 3 months ago

https://www.st.com/resource/en/technical_note/tn1235-overview-of-stlink-derivatives-stmicroelectronics.pdf you can get the difference from the doc

DavideLentini commented 2 months ago

@slightc I loaded version 2.1 unprocted on an stm32f103 , following the diagram . The led that would correspond to the status led of the USB connection between stm32 and pc however blinks red every second . And I don't see any usb port on the pc . I found that the led blinking red could mean that the stm32 failed to connect properly to the pc . I would like to say that I could not even load the firmware with stm32cubeprogrammer since I could not find the usb port . What problem could be , excluding of course any hardware problems ?

pythcoiner commented 1 week ago

@slightc I loaded version 2.1 unprocted on an stm32f103 , following the diagram . The led that would correspond to the status led of the USB connection between stm32 and pc however blinks red every second . And I don't see any usb port on the pc . I found that the led blinking red could mean that the stm32 failed to connect properly to the pc . I would like to say that I could not even load the firmware with stm32cubeprogrammer since I could not find the usb port . What problem could be , excluding of course any hardware problems ?

hitting same issue using the firmware on Nucleo board ( tried both 4)

DavideLentini commented 1 week ago

@pythcoiner Hi , my problem was just hardware . When the red led is blinking it means that it can't properly init. the usb connection with the computer. So just check all the connections

pythcoiner commented 1 week ago

@pythcoiner Hi , my problem was just hardware . When the red led is blinking it means that it can't properly init. the usb connection with the computer. So just check all the connections

thanks for feedback, mine looks like a firmware issue, if i flash a simple USB CDC firmware like this one, the nucleo is detected as a serial port...