Cart New Account Login

HomeAbout usProductsSupportForumsBlogCustomer Service

search inside this forum
search inside all forums
stm32 read only protection with cyclone
Ajay k. Jan 10, 2018 at 12:25 AM (00:25 hours)
Staff: Juan S.

  • Hi,
    I am using STM32F030K6 and need code protection in cyclone for production.
    i am using steps in Cyclone Image Creation Utility Version 6.22.00.02
    but still not getting code protection properly and able to read hex file through STM32 ST-LINK Utility
    CM C:\PEMicro\cyclone_arm\supportFiles_ARM\ST\STM32F0\ST_STM32F030K6_1x32x8k.arp
    SS E:\Work\STM\cyclone forum\prod1.hex
    EM ;Erase Module
    PM ;Program Module
    VM ;Verify Module
    CM C:\PEMicro\cyclone_arm\supportFiles_ARM\ST\STM32F0\ST_STM32F030K6_1x32x3_OptionBytes.arp
    SS E:\Work\STM\cyclone forum\ROP_lock.hex
    LO ;LAUNCH OPT. BYTES




    Comments

  • Please change your script to below:



    CM C:\PEMicro\cyclone_arm\supportFiles_ARM\ST\STM32F0\ST_STM32F030K6_1x32x8k.arp
    SS E:\Work\STM\cyclone forum\prod1.hex
    EM ;Erase Module
    PM ;Program Module
    VM ;Verify Module
    CM C:\PEMicro\cyclone_arm\supportFiles_ARM\ST\STM32F0\ST_STM32F030K6_1x32x3_OptionBytes.arp
    SS E:\Work\STM\cyclone forum\ROP_lock.hex
    PM ;Program Module
    LO ;LAUNCH OPT. BYTES

  • I have checked with adding 
    PM Program Module.
    But now it shows error while programming through cyclone

  • With this script getting $3003: Program operation failed or was cancelled 

    CM C:\PEMicro\cyclone_arm\supportFiles_ARM\ST\STM32F0\ST_STM32F030K6_1x32x8k.arp
    SS E:\Work\STM\cyclone forum\prod1.hex
    EM ;Erase Module
    PM ;Program Module
    VM ;Verify Module
    CM C:\PEMicro\cyclone_arm\supportFiles_ARM\ST\STM32F0\ST_STM32F030K6_1x32x3_OptionBytes.arp
    SS E:\Work\STM\cyclone forum\ROP_lock.hex
    PM ;Program Module
    LO ;LAUNCH OPT. BYTES

  • Hi Ajay, 

    Could you please open a support request and attach your ROP_lock.hex for inspection?

    Thanks,
    Regards,
    Juan See

Add comment


   Want to comment? Please login or create a new PEMicro account.







© 2018 P&E Microcomputer Systems Inc.
Website Terms of Use and Sales Agreement