Cart New Account Login

HomeAbout usProductsSupportForumsBlogCustomer Service

search inside this forum
Does the Cyclone support to check the internal Flash ECC for Freescale S912XEQ512 chip
wesley x. Sep 5, 2017 at 11:26 AM (11:26 hours)
Staff: Takao Y.

  • Hi,PEMicro guys

    we are looking for a programmer for Freescale S912XEQ512 chip.
    this chip has implemented a internal ECC mechanism for Flash, which means the chip will generate 8 ECC bits (save into OOB area) for each Flash phrase (8 bytes) when programming.

    Does your cyclone programmer support this chip ? and if yes, does it support to check the internal Flash ECC when doing verify operation ? not just read and compare the flash data.

    /WX




    Comments

  • Greetings,

    We do not have access to the ECC values. Instead what happens is when we request to read the data byte-by-byte, internally on the chip it verifies the ECC before sending the value. If the ECC matches, then we receive the correct value. If the ECC has a mismatch, we receive a bus error from the chip.

    As long as the ECC is turned on, when you do a verification using our tools the chip will internally do the ECC check for you.

    There is no difference which hardware interface you purchase from us to do this verification.


    Takao Yamada

    • Hi,Takao

      NXP FAE confirmed that this is a 10+ years old chip, they don't support to return "bus error" if internal ECC mismatch. the solution for the programmer to support this detection is that the programmer should read and check the ECC error status register (FERSTAT) after read out all the Flash data on verify step.

      Is your programmer able to support custumization or secondary developemnt, for example, use script to read and check that ECC error status register at verity step ?

      /WX

  • Greetings,

    We do not have the ability to read the FERSTAT register to determine if an ECC error occurred. Unless this register is memory mapped, we do not have the FERSTAT register accessible in our register view in our debugger or DLL software to allow you to read or write it.


    Takao Yamada

    • Hi, Takao

      the FERSTAT is memory papped, the memory address is 0x107.

      then is it possible to check this register ?

      /WX

  • Greetings,

    Yes, you can use a tool like UNIT12Z software after programming to connect to your target and be able to read registers or memory. Like having a scripted debug software:
    http://www.pemicro.com/products/product_viewDetails.cfm?product_id=51

    Sample API for the DLL:
    http://www.pemicro.com/downloads/download_file.cfm?download_id=151


    Takao Yamada

    • Hi, Takao

      I checked the UNIT12Z software documents, and seems like it is used for creating another custom PC applications. but what we want is insert a simple script to read and check the FERSTAT register on the "Verify" step in current PEMicro Cyclone PC software. we don't want to create a new PC application.
      Is your software support user script or something else to check the memory mapped register, and then report "Verify" failed if the script tell the result is fail ?

      /WX

  • Greetings,

    If you wanted it scripted and automated, then UNIT12Z is the only solution we have. If you want a user interface, we have a debugger software you can use to check memory at any location. It is called ICD12Z.


    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