TC399: read while write

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User19104
Level 3
Level 3
First like received
Hi,

Can the chip perform an RWW operation?
If so, what needs to be done for it?
0 Likes
3 Replies
cwunder
Employee
Employee
5 likes given 50 likes received 50 solutions authored
RWW is supported between Program and Data Flash. Concerning Program Flash this is supported only between the different PFLASH banks. The TC39x has 16Mbytes of internal PFlash and supports 6 banks, 5 (3MByte) and 1 (1MByte). RWW capability is not supported within a single PFLASH bank.

More information can be found in the User's Manual in the Software over the Air (SOTA) chapter.
0 Likes
Darren_Galpin
Employee
Employee
First solution authored First like received
Please see the NVM chapter for more information on writing/reading to the Flash. As Cwunder says, you can't read and write the same PFlash bank at the same time - writing to a PFlash bank will result in reads from it erroring (unless you are hitting data which has already been cached by the CPU). The writing operation will be handled by the DMU via a command sequence (enter page mode, load page, write page etc), the read will be done via a CPU to the dedicated flash read interface.
0 Likes
User19104
Level 3
Level 3
First like received
10x very much
0 Likes