Part Number: RM48L952
Other Parts Discussed in Thread: UNIFLASH
How do I program RM48L952 processor using XDS100v2 outside of CCS?
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.
Tadeusz,
Which flash banks are you programming using Uniflash? The address 0xF0100000 is for the ECC space for bank 7. You can only program the flash banks 0 and 1 using Uniflash, and then use F021 flash API-based calls to program/erase bank 7.
Regards, Sunil
Sunil, thank you again.
This is .map file (the beginning of it):
******************************************************************************
TI ARM Linker PC v5.1.10
******************************************************************************
>> Linked Thu Sep 06 14:40:10 2018
OUTPUT FILE NAME: <12035-LIM.out>
ENTRY POINT SYMBOL: "_c_int00" address: 00034ea0
MEMORY CONFIGURATION
name origin length used unused attr fill
---------------------- -------- --------- -------- -------- ---- --------
VERSION 00010000 00000010 00000008 00000008 RW (ffffffff)
VECTORS 00020000 00000020 00000020 00000000 X ffffffff
FLASH0 00020020 0015ffe0 0001739a 00148c46 R X (ffffffff)
FLASH1 00180000 00180000 00000000 00180000 R X (ffffffff)
STACKS 08000000 00001500 00000000 00001500 RW
RAM 08001500 0003eaff 0001602b 00028ad4 RW
ECC_FLA7 f0100000 00002000 00002000 00000000 R
FLASH7 f0200000 00010000 00000000 00010000 R (ffffffff)
ECC_VER f0402000 00000002 00000002 00000000 R
ECC_VEC f0404000 00000004 00000004 00000000 R
ECC_FLA0 f0404004 0002bffc 0002bffc 00000000 R
ECC_FLA1 f0430000 00030000 00030000 00000000 R
and when I switch verification off the output is as follows:
CortexR4: GEL Output: Memory Map Setup for Flash @ Address 0x0CortexR4: Writing Flash @ Address 0x00000000 of Length 0x0000107C
CortexR4: Erasing Flash Bank 0, Sector 0
CortexR4: Erasing Flash Bank 0, Sector 1
CortexR4: Erasing Flash Bank 0, Sector 2
CortexR4: Erasing Flash Bank 0, Sector 3
CortexR4: Erasing Flash Bank 0, Sector 4
CortexR4: Erasing Flash Bank 0, Sector 5
CortexR4: Erasing Flash Bank 0, Sector 6
CortexR4: Erasing Flash Bank 0, Sector 7
CortexR4: Erasing Flash Bank 0, Sector 8
CortexR4: Erasing Flash Bank 0, Sector 9
CortexR4: Erasing Flash Bank 0, Sector 10
CortexR4: Erasing Flash Bank 0, Sector 11
CortexR4: Erasing Flash Bank 0, Sector 12
CortexR4: Erasing Flash Bank 0, Sector 13
CortexR4: Erasing Flash Bank 0, Sector 14
CortexR4: Erasing Flash Bank 1, Sector 0
CortexR4: Erasing Flash Bank 1, Sector 1
CortexR4: Erasing Flash Bank 1, Sector 2
CortexR4: Erasing Flash Bank 1, Sector 3
CortexR4: Erasing Flash Bank 1, Sector 4
CortexR4: Erasing Flash Bank 1, Sector 5
CortexR4: Erasing Flash Bank 1, Sector 6
CortexR4: Erasing Flash Bank 1, Sector 7
CortexR4: Erasing Flash Bank 1, Sector 8
CortexR4: Erasing Flash Bank 1, Sector 9
CortexR4: Erasing Flash Bank 1, Sector 10
CortexR4: Erasing Flash Bank 1, Sector 11
CortexR4: Erasing Flash Bank 7, Sector 0
CortexR4: Erasing Flash Bank 7, Sector 1
CortexR4: Erasing Flash Bank 7, Sector 2
CortexR4: Erasing Flash Bank 7, Sector 3
CortexR4: Verifying Flash @ Address 0x00000000 of length 0x0000107C
CortexR4: Finish Writing Flash @ Address 0x00000000 of Length 0x0000107C
CortexR4: Writing Flash @ Address 0x00001100 of Length 0x00007FF0
CortexR4: Verifying Flash @ Address 0x00001100 of length 0x00007FF0
CortexR4: Finish Writing Flash @ Address 0x00001100 of Length 0x00007FF0
CortexR4: Writing Flash @ Address 0x000090F0 of Length 0x000065B0
CortexR4: Verifying Flash @ Address 0x000090F0 of length 0x000065B0
CortexR4: Finish Writing Flash @ Address 0x000090F0 of Length 0x000065B0
CortexR4: Writing Flash @ Address 0x00010000 of Length 0x00000008
CortexR4: Verifying Flash @ Address 0x00010000 of length 0x00000008
CortexR4: Finish Writing Flash @ Address 0x00010000 of Length 0x00000008
CortexR4: Writing Flash @ Address 0x00020000 of Length 0x00000044
CortexR4: Verifying Flash @ Address 0x00020000 of length 0x00000044
CortexR4: Finish Writing Flash @ Address 0x00020000 of Length 0x00000044
CortexR4: Writing Flash @ Address 0x00020050 of Length 0x00007FF0
CortexR4: Verifying Flash @ Address 0x00020050 of length 0x00007FF0
CortexR4: Finish Writing Flash @ Address 0x00020050 of Length 0x00007FF0
CortexR4: Writing Flash @ Address 0x00028040 of Length 0x00007FF0
CortexR4: Verifying Flash @ Address 0x00028040 of length 0x00007FF0
CortexR4: Finish Writing Flash @ Address 0x00028040 of Length 0x00007FF0
CortexR4: Writing Flash @ Address 0x00030030 of Length 0x00007398
CortexR4: Verifying Flash @ Address 0x00030030 of length 0x00007398
CortexR4: Finish Writing Flash @ Address 0x00030030 of Length 0x00007398
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.
CortexR4: AutoRun: Target not run as the symbol "main" is not defined
Program runs after power up and everything (all program functions work ok) but to me this not a clean image loading???
Regards,
Tadeusz...
Thank you Sunil,
You are right, when I disabled the "auto ECC generation" on UniFlash and enabled "Verification" the image loading was successful and very clean, i.e. no warnings or question marks on anything. Now the UniFlash output is: