Cart New Account Login

HomeAbout usProductsSupportForumsBlogCustomer Service

search inside this forum
If the memory of the data is all 0, how to verify? Using Cyclone MAX
. Aug 3, 2017 at 01:13 PM (13:13 hours)
Staff: Takao Y.

  • I need to add an operation to verify that the data in the memory is all 0 before programming. which programming operation should i use? Verify module, verify checksum or other operations?
    I have two s19 files that need to programing s19 and all data are 0 s19.




    Comments

  • Greetings,

    Both verify module (VM) and verify checksum (VC) would work.

    Ideally you would do the following:

    CM: Load your algorithm
    EM: Erase the flash
    SS: Load your program S19
    PM: Program
    VC: Verify program s19
    SS: Load your zero S19
    PM: Program the zeroes
    VC: Verify your zero S19

    VM and VC only compares your binary to the flash. The VV command is the one where it will verify against a calculated CRC of the entire flash including and excluding your binary files.


    Takao Yamada

  • Hello Takao Yamada,

    Thanks for your reply!

    I recevied a special request, need to verify the data in memory is all 0 before start programming. If the validation is 0 start programming, if not fail it...

    So, i need add verify operation before EM.

    CM: Load algorithm
    SS: Load zero s19
    VM: or VC: ?
    if fail , Cyclone will return a error?
    EM:
    SS: Load program s19
    PM:
    VC:

    I do not know if I understand the correct, I also need to consider the test time. Please give some kindly help!

    Thanks!

  • Greetings,

    Best to use VC. It is faster and does good enough job in verification.

    If the VC fails, then yes you will obviously get an error.

    Your list of commands looks good.


    Takao Yamada

  • Hello,

    I try to creat a image(.sap), but pop up an error when i add the second SS:
    "Previous S-record file is not used for programming."

    1.Is there any other way to verify that all data is 0, except for VC using zero s19. I just want to check all the data in the memory is 0 before starting the programming.(Target is power PMC5xx/8xx )

    2.Or creat two sap. One for memory data 0 check and the other for programming.
    (I'm not sure how to modify my existing automation program, online control 2 sap programming.)

    If have to use two sap, then the following is correct?
    Memory data 0 check
    CM: Load algoritm
    SS: load zero s19
    VC:

    Programming
    CM:
    SS: Load program s19
    EN:
    BM:
    PM:
    VC:
    VR:

    If have to use two sap, then the above steps is correct?

    Looking forward to your reply.

  • Greetings,

    1) That is an odd behavior and I will bring this up to the design engineers to look into.

    2) If you create 2 SAP images, your first one works, and the second one I think you do not need VR. Finish with VC and you should be done.


    Takao Yamada

Add comment


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







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