demo code for flash_partitioning_s32k148

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

demo code for flash_partitioning_s32k148

Jump to solution
1,000 Views
jaylou
Contributor I

FTFx_FCCOB0 = FTFx_ERASE_SECTOR;
FTFx_FCCOB1 = GET_BIT_16_23(dest);
FTFx_FCCOB2 = GET_BIT_8_15(dest);
FTFx_FCCOB3 = GET_BIT_0_7(dest);

this is the Passing parameter command, but what is the exactly address?

0 Kudos
1 Solution
991 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

FCCOBn registers are 8bit registers, so the address is split to FCCOB1-3. The address is 24bit only which is sufficient to cover whole flash.

Regards,

Lukas

View solution in original post

0 Kudos
2 Replies
992 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

FCCOBn registers are 8bit registers, so the address is split to FCCOB1-3. The address is 24bit only which is sufficient to cover whole flash.

Regards,

Lukas

0 Kudos
969 Views
jaylou
Contributor I

Thank you, Sir.

0 Kudos