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.

How to burn programs to SPI Nor Flash?

Hi All

        I am leaning the program burn processing .My board is TMDSEVM6678L.

        Now I try to burn the program to SPI Nor Flash.

        I do it following these steps:

        step 1: change the switch[3]~switch[6] on the boart 1000 0000 0000 1100 (1 is off ,0 is on)

        step 2: copy the .out file that the project ( the project which  I want to burning to the flash) generated to creating a .dat file.

        step 3: Open the project nor-writer, and  change the nor_writer_input.txt file which locate in the bin folder.

                    file_name = app.dat

                    start_addr = 0x8000 0000

        step 4: load the nor-writer project with evmc6678l.gel 

        step 5: view ->Memory Browser, find address 0x8000 0000, right click and select load Memory, select the app.dat and click next 

        step 6: verify the start address is 0x8000 0000  and click finish

        step 7: run the project

  but  the console print the error

[C66xx_0] NOR Writer Utility Version 01.00.00.03
[C66xx_0]
[C66xx_0] Flashing sector 0 (0 bytes of 53484)
[C66xx_0] Reading and verifying sector 0 (0 bytes of 53484)
[C66xx_0] Failure in sector 0, at byte 45066, (at byte 0 in the data file) expected 0x00000040, read 0x00000040
[C66xx_0] NOR read verify failed

did I miss some steps or I did incorrect?

And the .dat maybe is wrong ,I load it to 0x80000000, here is screen shot

the value is all same.

How can I generate a correct .dat file?

 

 Best Regards

Yewkui Wang