Hello Support,
I am using Uniflash Version: 2.2.0.00016 for Programming the attached HEX file in Corona Device [TMS570LS0432].
It fails for FLEE ECC Space programming with the attached HEX file inside ZIP. Please help.
Thank you,
Regards
Pashan
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.
Hello Support,
I am using Uniflash Version: 2.2.0.00016 for Programming the attached HEX file in Corona Device [TMS570LS0432].
It fails for FLEE ECC Space programming with the attached HEX file inside ZIP. Please help.
Thank you,
Regards
Pashan
Hi Pashan,
It works for me. Please try my hex file which is generated by hex470.exe. The out file and hex file are attached. The commands to convert out to hex is:
hex470.exe -tms570ls04_blinky.out -m -map c.mxp -memwidth 32 -romwidth 32-0 tms570ls04.hex
http://e2e.ti.com/cfs-file.ashx/__key/communityserver-discussions-components-files/312/1460.tms570ls04_5F00_blinky.hex
http://e2e.ti.com/cfs-file.ashx/__key/communityserver-discussions-components-files/312/5367.TMS570LS04_5F00_Blinky.out
Regards,
QJ
Hello QJ,
You are not programming the ECC Area of FLEE [Bank 7] in the HEX File.
That's why it is working for you.
Please let me know if you need any more information.
Are you able to program the attached HEX file from me?
Thank you.
Regards
Pashan
Hi Pashan,
Got an error:
WARNING >> CortexR4: Loader: One or more sections of your program falls into a memory region that is not writable. These regions will not actually be written to the target. Check your linker configuration and/or memory map.
Your hex is not motorola format, right?
regards,
QJ
Hello QJ,
I think nowECC is generating wrong address range for ECC of BANK 7.
Can you please tell me ECC Address Range of BANK 7 for all sectors for TMS570LS0432 device?
That will help me find the real BUG with nowECC tool.
Thank you.
Regards
Pashan
Hello QJ,
I am attaching Motorola HEX File for you to try.
Programming from 0xF0100600 to 0xF01006FF --- ECC of Bank 7 Section 3
Programming from 0xF0203000 to 0xF02037FF --- DATA of Bank 7 Section 3
Verify from 0xF0100600 to 0xF01006FF --- Fails
The address range is correct in the attached file.
Please let me know once you try this fail and the reason for failure.
Thank you.
Regards
Pashan
Hi Pashan,
Uniflash can generate/program ECC automatically if check the potion. The Flash ECC is located at 0xF0400000.
For Bank7, data is at 0xF0200000, and ECC is at 0xF0100000. ECC size is data size/8.
Regards,
QJ
Hello QJ,
You didn't tell what is wrong with the attached file dbcBootGMLAN_fee_parity.zip.
That address range is correct for TMS570LS0432 device but Uniflash is not programming the file.
Did it program/verify successfully for you?
Please confirm.
Thank you.
Regards
Pashan
Hi Pashan,
I removed your ECC, and programmed the remaining hex to 0xF0203000. The Uniflash generated ECC and programmed the ECC to 0xF0100600 without any problem. I compared your ECC and the ECC generated by Uniflash. They are different. The correct ECC data is enclosed:
4949CECE 51510606 70705E5E 4343D2D2 CFCF4848 D7D78080 F6F6D8D8 C5C55454 CCCC4B4B D4D48383 F5F5DBDB C6C65757 4A4ACDCD 52520505
73735D5D 4040D1D1 CACA4D4D D2D28585 F3F3DDDD C0C05151 4C4CCBCB 54540303 75755B5B 4646D7D7 4F4FC8C8 57570000 76765858 4545D4D4
C9C94E4E D1D18686 F0F0DEDE C3C35252 3636F9F9 75752424 B0B02121 3C3CADAD B0B07F7F F3F3A2A2 3636A7A7 BABA2B2B B3B37C7C F0F0A1A1
3535A4A4 B9B92828 3535FAFA 76762727 B3B32222 3F3FAEAE B5B57A7A F6F6A7A7 3333A2A2 BFBF2E2E 3333FCFC 70702121 B5B52424 3939A8A8
3030FFFF 73732222 B6B62727 3A3AABAB B6B67979 F5F5A4A4 3030A1A1 BCBC2D2D
Regards,
QJ
Hi Pashan,
I didn't use norECC. For uniflash, you don't need to provide ECC. Uniflash will generate ECC based on your Flash Data, and program the ECC after programming the data.
Regards,
QJ
Hello QJ,
The attached file with ECC is programming correctly with UNIFLASH for TMS570LS0432 device.
But the file attached before is failing.
Something is wrong with my understanding. Definitely ECC is correct in both the files because nowECC generated the contents.
Please help.
Thank you.
Regards
Pashan