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.

Tiva C flash read data different from LM Flash read

Hello

We are working on the bootloader for tiva c. As a part of the test I'm trying to read the first sectors of the flash memory to an array to compare what has been read by LM flash. Code for reading flash memory was suggested in few posts.

So I read to array:

   ////testing on chip flash reading
    for(flash_loc=0;flash_loc<512;flash_loc++)
    {

        masterRxBuffer[flash_loc]=*(unsigned char *)flash_loc;

    }

[0]    unsigned char    0x3C (Hex)    0x20004460    
[1]    unsigned char    0x5C (Hex)    0x20004461    
[2]    unsigned char    0x00 (Hex)    0x20004462    
[3]    unsigned char    0x20 (Hex)    0x20004463    
[4]    unsigned char    0x75 (Hex)    0x20004464    
[5]    unsigned char    0x8B (Hex)    0x20004465    
[6]    unsigned char    0x00 (Hex)    0x20004466    
[7]    unsigned char    0x00 (Hex)    0x20004467    
[8]    unsigned char    0x89 (Hex)    0x20004468    
[9]    unsigned char    0xA3 (Hex)    0x20004469    
[10]    unsigned char    0x00 (Hex)    0x2000446A    
[11]    unsigned char    0x00 (Hex)    0x2000446B    
[12]    unsigned char    0x89 (Hex)    0x2000446C    
[13]    unsigned char    0xA3 (Hex)    0x2000446D    
[14]    unsigned char    0x00 (Hex)    0x2000446E    
[15]    unsigned char    0x00 (Hex)    0x2000446F    
[16]    unsigned char    0x89 (Hex)    0x20004470    
[17]    unsigned char    0xA3 (Hex)    0x20004471    
[18]    unsigned char    0x00 (Hex)    0x20004472    
[19]    unsigned char    0x00 (Hex)    0x20004473    
[20]    unsigned char    0x89 (Hex)    0x20004474    
[21]    unsigned char    0xA3 (Hex)    0x20004475    
[22]    unsigned char    0x00 (Hex)    0x20004476    
[23]    unsigned char    0x00 (Hex)    0x20004477    
[24]    unsigned char    0x89 (Hex)    0x20004478    
[25]    unsigned char    0xA3 (Hex)    0x20004479    
[26]    unsigned char    0x00 (Hex)    0x2000447A    
[27]    unsigned char    0x00 (Hex)    0x2000447B    
[28]    unsigned char    0x89 (Hex)    0x2000447C    
[29]    unsigned char    0xA3 (Hex)    0x2000447D    
[30]    unsigned char    0x00 (Hex)    0x2000447E    
[31]    unsigned char    0x00 (Hex)    0x2000447F    
[32]    unsigned char    0x89 (Hex)    0x20004480    
[33]    unsigned char    0xA3 (Hex)    0x20004481    
[34]    unsigned char    0x00 (Hex)    0x20004482    
[35]    unsigned char    0x00 (Hex)    0x20004483    

and try to compare with the bin that was read with LM Flash Programmer to the file

I'm trying to find the correlation between the data. Any ideas what could be wrong?

Regards

Patrick