Hello ZhangJun,
Thanks for the reply – it’s been very useful. I can see from the bbl file that the .phy file isn’t specified in the project where it’s not being created and is in the one that’s ok. I can also see from the bbl: file one is creating logical s records and one global s records.
Extracts from both files:
---Missing phy -------------------------------------------------------------------------------
/* global s-record file */
OPENFILE "%ABS_FILE%.glo"
format = motorola
busWidth = 1
SRECORD=Sx
/* "EABI compliant encoded global" address to global */
len = 0x1800000
origin = 0x1000000
destination = 0
SENDBYTE 1 "%ABS_FILE%"
/* physical flash window to global */
len = 0x4000
destination = 0x7F8000
origin = 0x008000
SENDBYTE 1 "%ABS_FILE%"
/* logical non banked flash at $4000 and $C000 to global */
len = 0x4000
destination = 0x7F4000
origin = 0x004000
SENDBYTE 1 "%ABS_FILE%"
destination = 0x7FC000
origin = 0x00C000
SENDBYTE 1 "%ABS_FILE%"
.
.
.
---------------------------------------------------------------------------------------
--- phy included -------------------------------------------------------------------------------
/* logical s-record file */
OPENFILE "%ABS_FILE%.s19"
format=motorola
busWidth=1
origin=0
len=0x1000000
destination=0
SRECORD=Sx
SENDBYTE 1 "%ABS_FILE%"
CLOSE
/* physical s-record file */
OPENFILE "%ABS_FILE%.phy"
format = motorola
busWidth = 1
len = 0x4000
/* logical non banked flash at $4000 and $C000 to physical */
origin = 0x004000
destination = 0x0F8000
SENDBYTE 1 "%ABS_FILE%"
origin = 0x00C000
destination = 0x0FC000
SENDBYTE 1 "%ABS_FILE%"
/* physical FTS512K flash window to physical
.
.
.
---------------------------------------------------------------------------------------
I’ll have a look through the target settings again to see if I can spot a difference.
Best regards
Julian