S32K3 FLASH write

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

S32K3 FLASH write

Jump to solution
2,282 Views
DouDou1
Contributor III

Hi, everyone

I am using the first core of the S32K358 chip to program, I want to put the BOOTLOADER program in the memory of PFLASH0, and then put the APP program in the memory of PFLASH1, can the APP run properly?

0 Kudos
Reply
1 Solution
2,222 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

It doesn't matter which master accesses a flash block.

There's simple rule - if a block is being erased or programmed, it's now allowed to access this block. Only other blocks can be accessed at that time.

Regards,

Lukas

View solution in original post

0 Kudos
Reply
4 Replies
2,248 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @DouDou1 

Yes, there's no problem with this setup. There are four code flash blocks and read-while-write is supported between these blocks.

Regards,

Lukas

0 Kudos
Reply
2,236 Views
DouDou1
Contributor III

Hi,@lukaszadrapa,
Thank you for your reply, I want to know if the first core of the S32K358 chip can read-while-write all four code?

0 Kudos
Reply
2,223 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

It doesn't matter which master accesses a flash block.

There's simple rule - if a block is being erased or programmed, it's now allowed to access this block. Only other blocks can be accessed at that time.

Regards,

Lukas

0 Kudos
Reply
2,210 Views
DouDou1
Contributor III
Thank you for your reply.
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2013485%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32K3%20FLASH%20write%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2013485%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%20everyone%3C%2FP%3E%3CP%3EI%20am%20using%20the%20first%20core%20of%20the%20S32K358%20chip%20to%20program%2C%20I%20want%20to%20put%20the%20BOOTLOADER%20program%20in%20the%20memory%20of%20PFLASH0%2C%20and%20then%20put%20the%20APP%20program%20in%20the%20memory%20of%20PFLASH1%2C%20can%20the%20APP%20run%20properly%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2016742%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32K3%20FLASH%20write%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2016742%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EThank%20you%20for%20your%20reply.%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2015893%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32K3%20FLASH%20write%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2015893%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EIt%20doesn't%20matter%20which%20master%20accesses%20a%20flash%20block.%3C%2FP%3E%0A%3CP%3EThere's%20simple%20rule%20-%20if%20a%20block%20is%20being%20erased%20or%20programmed%2C%20it's%20now%20allowed%20to%20access%20this%20block.%20Only%20other%20blocks%20can%20be%20accessed%20at%20that%20time.%3C%2FP%3E%0A%3CP%3ERegards%2C%3C%2FP%3E%0A%3CP%3ELukas%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2015759%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32K3%20FLASH%20write%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2015759%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%40lukaszadrapa%2C%3CBR%20%2F%3EThank%20you%20for%20your%20reply%2C%20I%20want%20to%20know%20if%20the%20first%20core%20of%20the%20S32K358%20chip%20can%20read-while-write%20all%20four%20code%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2015064%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32K3%20FLASH%20write%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2015064%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F230579%22%20target%3D%22_blank%22%3E%40DouDou1%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYes%2C%20there's%20no%20problem%20with%20this%20setup.%20There%20are%20four%20code%20flash%20blocks%20and%20read-while-write%20is%20supported%20between%20these%20blocks.%3C%2FP%3E%0A%3CP%3ERegards%2C%3C%2FP%3E%0A%3CP%3ELukas%3C%2FP%3E%3C%2FLINGO-BODY%3E