Cart New Account Login

HomeAbout usProductsSupportForumsBlogCustomer Service

Please accept the use of cookies on our site

At PEmicro we use web browser cookies in order to provide you with an enhanced experience and in order to be able to do things like shopping cart processing and identify you when you login to our website.

Click here to accept

search inside this forum
search inside all forums
Cyclone for STmicro: managing data + option bytes in one step
Zoltan N. Dec 22, 2014 at 07:41 AM (07:41 hours)
Staff: Kevin M.

  • Hi Pemicro

    - DATA+OPTIONbytes programming together:
    We bought a "cyclone for STmicro" to use it mass production. I want to create image for data + optionbytes. Unfortunately if they are in one .SAP file, the final verify is failed.
    Could you help me please how can we program both (data+ option bytes) in one step ,please ?

    Other question:
    - Handling more uploaded .SAP images:
    We would like to upload and store more images onto "PEMicro cyclone" and activate the correct image from command line tool with imageumber parameter.
    The correct .SAP image would be activated refer to barcode.
    It seems only one image what we can store-activate from command line tool. In case many images we want to manage, seems we need to UPDATEIMAGE them at every changes.

    I would store many images on Pemicro and select the correct ones with parameter:
    C:\pemicro\cyclone_stmicro\Sap_Launch.exe" -O %2 Port=USB1 IMAGE=%3

    But it run to error.

    Only image updating is working always when I chose different image :
    "UPDATEIMAGE" what is always re-flash the programmer.
    I suppose because of regular re-flashing the programmer lifecycle is less, this method is not good in mass production.

    Thank you for your support in advance


  • Zoltan,

    - What device are you programming?

    - Can you please create a support request and attach a screenshot of the image you are using? Reference my name Kevin M. in the SR.

    - In general, you will need two verify modules. One for the main flash and one for the option bytes.

    Let's deal with the second part of the question once we get a working image up and running.

    Best Regards,


  • Hi Kevin

    Thank you for answer. The device what I need to program is STM32F301
    Exactly the same algorithm is not in the installed package I used STM32F302

    I applied the following scripts to generate one SAP image:
    CM - Chose algorithm
    SM - Select DATA hex
    PM - program
    VM - verify modul
    VC - verify checksum
    CM - Chose algorithm
    SM - Select OPTION bytes HEX
    PM - program
    VM - verify modul
    VC - verify checksum

    Thank you for support
    Regards: Zoltan

  • Zoltan, 

    You need to perform an erase before you program (both for option bytes and main flash). Also, if you do a verify module, there is no need to perform a verify checksum.

    Best Regards,


  • Greetings,

    Is this issue resolved? Do you have any other questions or concerns?

    Takao Yamada

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