This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS570LS3137: FEE block cannot be red and consider invalid even if it seems ok in memory

Part Number: TMS570LS3137
Other Parts Discussed in Thread: UNIFLASH

Tool/software:

Hello,

Regarding the FEE, we got an invalid block error, even if it seems that the block is correctly written in the FEE.

The block is just 8 bytes, and has number 3.

whenever trying to read (using FEE synchronous read API) its content at startup, FEE report it as invalid, nevertheless we can see it as valid inside the FEE memory :

 

As you can see in above screenshot : 

FEE block 3 : 

FFFFFFFF 00000000 F0200020 FFFF8180 00000000 00080003 00000000 00800000

Followed by FEE block 4 : 

FFFFFFFF 00000000 F0200040 FFFF8180 00000000 00080004 00000000 00800000

Checking job Read result :

block 3 is report Invalid, block 4 is reported valid and content (0x00800000) correctly red.

Trying to read it after or before block 4 do not change anything. (block 3 still invalid, block 4 valid)

Any Idea, about what could be the issue ?

Thank you !

Regards,

Marc

  • Hi Marc,

    Seems like block3 also have valid data and its block status also showing it as a valid block only.

    Is it possible to you to share the FEE dump of bank-7? So that i can program same data into my device and can debug the issue once at my end.

    (+) TMS570LS1114: Error_TwoCopyVS FEE error - Arm-based microcontrollers forum - Arm-based microcontrollers - TI E2E support forums

    You can refer above thread to verify example dump of FEE.

    --
    Thanks & regards,
    Jagadish.

  • Hi Jagadish,

    Please see hereafter the dump of the Bank 7 when the issue happens.

    You can find the supposed valid block 3 to read at address line 0xF0200A9C, and block 4 afterwards. 

    0xF0200020	FFFF0000	00000000	FFFFFFFF	FFFFFFFF	FFFFFFFF	00080003	00000000	00000000	FFFF0000	00000000	FFFFFFFF
    0xF020004C	FFFFFFFF	FFFFFFFF	00080004	00000000	00000000	FFFF0000	00000000	FFFFFFFF	FFFF601A	FFFFFFFF	00A00001
    0xF0200078	00000001	00000018	00000002	00000002	00000002	00000002	00000002	00000002	00000002	00000002	00000002
    0xF02000A4	00000002	00000002	00000002	00000002	00000002	00000002	00000002	00000002	00000002	00000002	00000002
    0xF02000D0	00000002	00000002	00000002	00000002	00000002	00000002	00000002	00000002	00000002	00000002	00000002
    0xF02000FC	00000002	000000FA	000000FA	00000001	00000000	00000000	00006E5B	FFFF0000	00000000	FFFFFFFF	FFFF69C7
    0xF0200128	FFFFFFFF	02E00002	00000000	000001F4	000009E2	00000866	0000000F	000000FA	000F4240	000000FA	00000014
    0xF0200154	00000002	0000000A	0000000A	00000028	00000064	0000005A	00000001	00000046	0000003C	00000001	0000000A
    0xF0200180	00000001	00000005	00000000	00000064	00004E20	00000050	FFFFFFB0	00006978	00003A98	00006D60	00002EE0
    0xF02001AC	00003A66	00006A0E	0000000A	00000002	00000002	0000000A	00000000	000007D0	00000FA0	00000000	000007D0
    0xF02001D8	000003E8	00000FA0	006DDD00	FFFFFFD8	00000041	0000004B	00000055	000000C8	000000C8	00000000	00000000
    0xF0200204	00000096	0000008C	00001388	000000C6	00000002	000000DB	00000171	000008F2	000003F4	000003E8	00000001
    0xF0200230	0000000A	0000003C	00001388	0000003C	00000028	000001CC	00000168	00000014	00000002	00000078	00000834
    0xF020025C	000000C8	00000001	00000384	00000000	000003E8	00000096	00000258	0000012C	000000C8	00007530	00000BB8
    0xF0200288	00000014	00000000	00000AA0	00001388	00000B68	000003E8	00000AA0	000003E8	00000CF8	000003E8	000005C8
    0xF02002B4	00001388	00000500	000003E8	00000037	0000001E	00000048	00000014	00000052	00000014	00000064	0000000A
    0xF02002E0	FFFFFFE2	0000001E	FFFFFFD6	00000014	0000004B	00000050	0000000A	000003E8	00000BB8	00000048	0000001E
    0xF020030C	0000006E	00000050	0000006E	00000050	000003E8	000003E8	000003E8	00000064	000003E8	000003E8	000003E8
    0xF0200338	00000064	000009C4	000003E8	FFFFFFD8	FFFFFFE2	00000032	00000037	00000048	00000005	00000195	00000195
    0xF0200364	00000005	00000005	FFFFFFFB	FFFFFE6B	FFFFFE6B	FFFFFFFB	FFFFFFFB	00000005	FFFFFFC9	00000190	00001388
    0xF0200390	00000046	000003E8	000001F9	FFFFFE07	00000064	0000004B	0000001E	FFFFFFC9	00000003	00000004	00000001
    0xF02003BC	00000001	000000A8	000000FA	00000001	00000000	00000000	00000000	00000000	00000000	00000000	00000001
    0xF02003E8	00000001	00000001	00000001	00000001	00000001	000003E8	00000014	000003E8	00002FBC	00004C24	FFFF0000
    0xF0200414	00000000	F0200118	FFFF0968	00000000	02D80002	00000000	000001F4	000009E2	00000866	0000000F	000000FA
    0xF0200440	000F4240	000000FA	00000014	00000002	0000000A	0000000A	00000028	00000064	0000005A	00000001	00000046
    0xF020046C	0000003C	00000001	0000000A	00000001	00000005	00000000	00000064	00004E20	00000050	FFFFFFB0	00006978
    0xF0200498	00003A98	00006D60	00002EE0	00003A66	00006A0E	0000000A	00000002	00000002	0000000A	00000000	000007D0
    0xF02004C4	00000FA0	00000000	000007D0	000003E8	00000FA0	006DDD00	FFFFFFD8	00000041	0000004B	00000055	000000C8
    0xF02004F0	000000C8	00000000	00000000	00000096	0000008C	00001388	000000C6	00000002	000000DB	00000171	000008F2
    0xF020051C	000003F4	000003E8	00000001	0000000A	0000003C	00001388	0000003C	00000028	000001CC	00000168	00000014
    0xF0200548	00000002	00000078	00000834	000000C8	00000001	00000000	000003E8	00000096	00000258	0000012C	000000C8
    0xF0200574	00007530	00000BB8	00000014	00000000	00000AA0	00001388	00000B68	000003E8	00000AA0	000003E8	00000CF8
    0xF02005A0	000003E8	000005C8	00001388	00000500	000003E8	00000037	0000001E	00000048	00000014	00000052	00000014
    0xF02005CC	00000064	0000000A	FFFFFFE2	0000001E	FFFFFFD6	00000014	0000004B	00000050	0000000A	000003E8	00000BB8
    0xF02005F8	00000048	0000001E	0000006E	00000050	0000006E	00000050	000003E8	000003E8	000003E8	00000064	000003E8
    0xF0200624	000003E8	000003E8	00000064	000009C4	000003E8	FFFFFFD8	FFFFFFE2	00000032	00000037	00000048	00000005
    0xF0200650	00000195	00000195	00000005	00000005	FFFFFFFB	FFFFFE6B	FFFFFE6B	FFFFFFFB	FFFFFFFB	00000005	FFFFFFC9
    0xF020067C	00000190	00001388	00000046	000003E8	000001F9	FFFFFE07	0000004B	0000001E	FFFFFFC9	00000003	00000004
    0xF02006A8	00000001	00000001	000000A8	000000FA	00000001	00000000	00000000	00000000	00000000	00000000	00000000
    0xF02006D4	00000001	00000001	00000001	00000001	00000001	00000001	000003E8	00000014	000003E8	00002FBC	0000C933
    0xF0200700	FFFFFFFF	00000000	F0200060	FFFFA738	00000000	00A00001	00000001	00000000	00000002	00000002	00000002
    0xF020072C	00000002	00000002	00000002	00000002	00000002	00000002	00000002	00000002	00000002	00000002	00000002
    0xF0200758	00000002	00000002	00000002	00000002	00000002	00000002	00000002	00000002	00000002	00000002	00000002
    0xF0200784	00000002	00000002	00000002	00000002	00000002	00000002	00000002	000000FA	000000FA	00000001	00000000
    0xF02007B0	00000000	0000E51A	FFFF0000	00000000	F0200410	FFFF0BB8	00000001	02D80002	00000000	000001F4	000009E2
    0xF02007DC	00000866	0000000F	000000FA	000F4240	000000FA	00000014	00000002	0000000A	0000000A	00000028	00000064
    0xF0200808	0000005A	00000001	00000046	0000003C	00000001	0000000A	00000001	00000005	00000000	00000064	00004E20
    0xF0200834	00000050	FFFFFFB0	00006978	00003A98	00006D60	00002EE0	00003A66	00006A0E	0000000A	00000002	00000002
    0xF0200860	0000000A	00000000	000007D0	00000FA0	00000000	000007D0	000003E8	00000FA0	006DDD00	FFFFFFD8	00000041
    0xF020088C	0000004B	00000055	000000C8	000000C8	00000000	00000000	00000096	0000008C	00001388	000000C6	00000002
    0xF02008B8	000000DB	00000171	000008F2	000003F4	000003E8	00000001	0000000A	0000003C	00001388	0000003C	00000028
    0xF02008E4	000001CC	00000168	00000014	00000002	00000078	00000834	000000C8	00000001	00000000	000003E8	00000096
    0xF0200910	00000258	0000012C	000000C8	00007530	00000BB8	00000014	00044610	00000AA0	00001388	00000B68	000003E8
    0xF020093C	00000AA0	000003E8	00000CF8	000003E8	000005C8	00001388	00000500	000003E8	00000037	0000001E	00000048
    0xF0200968	00000014	00000052	00000014	00000064	0000000A	FFFFFFE2	0000001E	FFFFFFD6	00000014	0000004B	00000050
    0xF0200994	0000000A	000003E8	00000BB8	00000048	0000001E	0000006E	00000050	0000006E	00000050	000003E8	000003E8
    0xF02009C0	000003E8	00000064	000003E8	000003E8	000003E8	00000064	000009C4	000003E8	FFFFFFD8	FFFFFFE2	00000032
    0xF02009EC	00000037	00000048	00000005	00000195	00000195	00000005	00000005	FFFFFFFB	FFFFFE6B	FFFFFE6B	FFFFFFFB
    0xF0200A18	FFFFFFFB	00000005	FFFFFFC9	00000190	00001388	00000046	000003E8	000001F9	FFFFFE07	0000004B	0000001E
    0xF0200A44	FFFFFFC9	00000003	00000004	00000001	00000001	000000A8	000000FA	00000001	00000000	00000000	00000000
    0xF0200A70	00000000	00000003	00000002	00000001	00000001	00000001	00000001	00000001	00000000	00001388	00000014
    0xF0200A9C	00001388	00002FBC	0000A1ED	FFFFFFFF	00000000	F0200020	FFFF8180	00000000	00080003	00000000	00800000
    0xF0200AC8	FFFFFFFF	00000000	F0200040	FFFF8180	00000000	00080004	00000000	00800000	FFFFFFFF	00000000	FFFFFFFF
    0xF0200AF4	FFFF601A	FFFFFFFF	00A00001	00000001	00000018	00000002	00000002	00000002	00000002	00000002	00000002
    0xF0200B20	00000002	00000002	00000002	00000002	00000002	00000002	00000002	00000002	00000002	00000002	00000002
    0xF0200B4C	00000002	00000002	00000002	00000002	00000002	00000002	00000002	00000002	00000002	00000002	00000002
    0xF0200B78	00000002	00000002	00000002	00000002	000000FA	000000FA	00000001	00000000	00000000	00006E5B	FFFFFFFF
    0xF0200BA4	00000000	F02007B8	FFFF69C7	00000002	02E00002	00000000	000001F4	000009E2	00000866	0000000F	000000FA
    0xF0200BD0	000F4240	000000FA	00000014	00000002	0000000A	0000000A	00000028	00000064	0000005A	00000001	00000046
    0xF0200BFC	0000003C	00000001	0000000A	00000001	00000005	00000000	00000064	00004E20	00000050	FFFFFFB0	00006978
    0xF0200C28	00003A98	00006D60	00002EE0	00003A66	00006A0E	0000000A	00000002	00000002	0000000A	00000000	000007D0
    0xF0200C54	00000FA0	00000000	000007D0	000003E8	00000FA0	006DDD00	FFFFFFD8	00000041	0000004B	00000055	000000C8
    0xF0200C80	000000C8	00000000	00000000	00000096	0000008C	00001388	000000C6	00000002	000000DB	00000171	000008F2
    0xF0200CAC	000003F4	000003E8	00000001	0000000A	0000003C	00001388	0000003C	00000028	000001CC	00000168	00000014
    0xF0200CD8	00000002	00000078	00000834	000000C8	00000001	00000384	00000000	000003E8	00000096	00000258	0000012C
    0xF0200D04	000000C8	00007530	00000BB8	00000014	00000000	00000AA0	00001388	00000B68	000003E8	00000AA0	000003E8
    0xF0200D30	00000CF8	000003E8	000005C8	00001388	00000500	000003E8	00000037	0000001E	00000048	00000014	00000052
    0xF0200D5C	00000014	00000064	0000000A	FFFFFFE2	0000001E	FFFFFFD6	00000014	0000004B	00000050	0000000A	000003E8
    0xF0200D88	00000BB8	00000048	0000001E	0000006E	00000050	0000006E	00000050	000003E8	000003E8	000003E8	00000064
    0xF0200DB4	000003E8	000003E8	000003E8	00000064	000009C4	000003E8	FFFFFFD8	FFFFFFE2	00000032	00000037	00000048
    0xF0200DE0	00000005	00000195	00000195	00000005	00000005	FFFFFFFB	FFFFFE6B	FFFFFE6B	FFFFFFFB	FFFFFFFB	00000005
    0xF0200E0C	FFFFFFC9	00000190	00001388	00000046	000003E8	000001F9	FFFFFE07	00000064	0000004B	0000001E	FFFFFFC9
    0xF0200E38	00000003	00000004	00000001	00000001	000000A8	000000FA	00000001	00000000	00000000	00000000	00000000
    0xF0200E64	00000000	00000000	00000001	00000001	00000001	00000001	00000001	00000001	000003E8	00000014	000003E8
    0xF0200E90	00002FBC	00004C24	FFFFFFFF	FFFFFFFF	FFFFFFFF	FFFFFFFF	FFFFFFFF	FFFFFFFF	FFFFFFFF	FFFFFFFF	FFFFFFFF
    

    Additionally, triggering the read of the block with synchronous read TI_Fee_ReadSync do not reports errors, but then the check using TI_Fee_GetJobResult(0) is reporting a BLOCK_INVALID and the data are indeed not fetch. 

    We first attempt to read block 3 and then block 4, tried as well to read first block 4 and then block 3, but always the same results block 4 is valid but block 3 not.

    Thank you !

    Regards,

    Marc

  • Hi Marc,

    Can you export them into binary image so that i can program those data into my device flash and can do the debugging easily?

    Click on Save Memory option:

    Choose file type as binary:

    Now select start address and length and save them into binary:

    --

    Thanks & regards,
    Jagadish.

  • Hi Jagadish,

    Sorry, please find hereafter the binary file (the FEE reported invalid block can be seen at address 0x00000ab0 in the dump : 

    Thank you,

    Regards,

    Marc

    0003.FEE_dump.zip

  • Hi Marc,

    Apologies for the delay, today i tried to test your data. However, i end up with an issue in programming your data.

    Choose file type as binary:

    Please export the data as binary file, i couldn't find .bin extension for your data:

    And more over i couldn't able to program your data from uniflash:

    So please export the data as binary and reshare it.

    --
    Thanks & regards,
    Jagadish.