Porting a project that uses a DSC 56F8256 to a 56F84550.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Porting a project that uses a DSC 56F8256 to a 56F84550.

546 Views
doom_guy
Contributor II

I am porting a project that uses a DSC 56F8256 to a 56F84550. I am also using CW 10.4 for the first time coming from version 7.3. Inside the build options for the 56F84550 when I generate the linker file I notice that there are 4 ROM/RAM Areas. The first one is for .p_Interrupts, the second one is for .p_Code, the third one is for x_Data (which I am familiar with) and the fourth one is for .p_reserved_FCF.

 

This is the first time I have come across this .p_reserved_FCF. In the project settings for the 56F8256 I only use the first 3. What is this .p_reserved_FCF? I cannot set the ROM/RAM area to 3 for the 56F84550 either. I am trying to match up the memory areas between the 2 but it seems I cannot match up the .p_Interrupts, the .p_Code and the x_Data.

 

Any information on what .p_reserved_FCF is would be appreciated. In the 2nd screenshot below it is the memory area 3. Thank You

 

DSC 56F8256 Linker file screenshot

 

5426_5426.pngpastedImage_0.png

 

 

DSC 56F84550 Linker file screenshot

 

5425_5425.pngpastedImage_0.png

Labels (1)
0 Kudos
2 Replies

400 Views
trytohelp
NXP Employee
NXP Employee

Hi,

I recommned you to refer to the manual.

      http://cache.freescale.com/files/dsp/doc/ref_manual/MC56F8455XRM.pdf
Inside the manual there is a chapter named: Chapter 20 Flash Memory Module (FTFL) page 387.

for details please have a look to 20.3.1 Flash Configuration Field Description.

be aware the address of lcf as word address and manual as byte address.

hope this will help you.

Pascal

0 Kudos

400 Views
trytohelp
NXP Employee
NXP Employee

Hi,

with MCU v10.4 I've created 2 project for 56F84550.

1 with Processor Expert and a second without Processor Expert.

In Processor Expert lcf file:

 

MEMORY {

...

       .p_reserved_FCF (RWX) : ORIGIN = 0x00000200, LENGTH = 0x00000008

....

 

SECTIONS {

  ...

.reserved_FCF :

{

F_FCF_addr = .;

# reserved FCF - Flash Configuration Field

* (reserved_FCF.text)

} > .p_reserved_FCF

without Processor Expert lcf file:

MEMORY{

...

# .p_reserved_IFR (RX) : ORIGIN = 0x000200, LENGTH = 0x000008 # 16 bytes reserved for IFR

According to the info found, the memory is reserved for flash configuration.

I will check with Processor Expert team to have more details.

Keep you informed.

regards

Pascal

0 Kudos