infineon4engineers Facebook

infineon@google+ Google+

infineon@linkedin linkedin

infineon4engi@twitter twitter

infineon@youtube youtube

+ Reply to Thread
Results 1 to 4 of 4

Thread: How to read CHIP_ID of TLE987x

  1. #1
    Beginner Beginner jacko is on a distinguished road
    Join Date
    Sep 2018
    Posts
    8
    Points
    145

    How to read CHIP_ID of TLE987x

    Hi All,
    I read the CHIP_ID of TLE987x through USER_READ_100TP, but the ID bytes are aways zero. How to read the correct ID?
    According to BootROM User Manual, the Chip_ID bytes can be read via BSL mode A. How to do it?

  2. #2
    Beginner Beginner
    Infineon Employee
    Infineon Employee
    pestadieu is on a distinguished road
    Join Date
    Sep 2018
    Posts
    3
    Points
    80
    Hi jacko,

    What is the full marking on your device ? What is written on your chip after TLE987 ?

    Best Regards
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

  3. #3
    Beginner Beginner jacko is on a distinguished road
    Join Date
    Sep 2018
    Posts
    8
    Points
    145
    Quote Originally Posted by pestadieu View Post
    Hi jacko,

    What is the full marking on your device ? What is written on your chip after TLE987 ?

    Best Regards
    Hi Pestadieu,
    It is TLE9877QXA40.
    In addition, how to protect the flash from reading out? I download the software NVM_PROTECTION_EXAMPLE_TLE987X, but it can be read out use J-LINK.
    Last edited by jacko; Oct 8th, 2018 at 07:47 PM.

  4. #4
    Beginner Beginner
    Infineon Employee
    Infineon Employee
    pestadieu is on a distinguished road
    Join Date
    Sep 2018
    Posts
    3
    Points
    80
    Hi,

    You can read the Chip_ID with the USER_READ_100TP function, see the following example:

    Code:
    	uint32_t chip_id_0_3;
    	uint32_t chip_id_4_7;
    	uint32_t chip_id_8_11;
    
    	USER_READ_100TP(0x11, 0x6c, &chip_id_0_3);
    	USER_READ_100TP(0x11, 0x70, &chip_id_4_7);
    	USER_READ_100TP(0x11, 0x74, &chip_id_8_11);
    The first argument of the USER_READ_100TP function is the page, the second is the offset and the third is the variable in which the Chip_ID value will be stored.
    The Chip_ID is 12 bytes long, so each chip_id_x variable will store 4 bytes of the Chip_ID.


    Concerning your other question, you have to reset the chip after starting the debugger. Otherwise the debugger will have access to the flash before the protection is actually active.
    Be aware that once the protection is activated, you can't write the flash anymore.

    Best regards
    Last edited by pestadieu; Oct 11th, 2018 at 12:25 AM.
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

+ Reply to Thread

Tags for this Thread

Disclaimer

All content and materials on this site are provided “as is“. Infineon makes no warranties or representations with regard to this content and these materials of any kind, whether express or implied, including without limitation, warranties or representations of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, whether express or implied, is granted by Infineon. Use of the information on this site may require a license from a third party, or a license from Infineon.


Infineon accepts no liability for the content and materials on this site being accurate, complete or up- to-date or for the contents of external links. Infineon distances itself expressly from the contents of the linked pages, over the structure of which Infineon has no control.


Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Usage Terms of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Usage Terms of this site. Infineon reserves the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.