56F8037 flash questions

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

56F8037 flash questions

Jump to solution
748 Views
j___
Contributor IV

56F802x and 56F803x Peripheral Reference Manual, Rev. 3

-------------------------------------------

6.3 Block Diagram

      "Program memory of 64 k to 32 k bytes in length is constructed from a 64 k byte block."

What does this mean?

How can a 32k byte memory be constructed from a 64k byte block?

Does the "64k to 32k" reference different part variants such as 8037 vs. 802x vs. 803x?

Why does figure 6-1 show an option for 16K but it is not fall into 64k to 32k?

The statement is referencing bytes, so, can the part be programmed byte-wise, or must it be 16bits programming.

Why is the k separated from the number with a space (64 k, 32 k)?

It seems odd that that the nomenclature is in descending order 64k to 32k although, it is valid.

Should this read:

"Program memory can be in the range of 32k to 64k depending on the part variant"

-------------------------------------------

6.5.2 Write Operation

There are two types of write access supported by the FM module. Normal write access, where a value is written to a memory location within the program Flash memory array, is part of a programming attempt. Writing the data must be followed by writing a program command to the FM module’s command (CMD) register.

Can more that one byte at a time be programmed into the flash?

If so, what is the maximum that can written at once?

Or, is a single word (16bits) always followed by CMD, one-at-a-time?

-------------------------------------------

The documentation could be improved a lot.

1 Solution
528 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Friend,

I will clarify one by one.

Q1)6.3 Block Diagram

      "Program memory of 64 k to 32 k bytes in length is constructed from a 64 k byte block."

 

What does this mean?

How can a 32k byte memory be constructed from a 64k byte block?

>>>>>>As you know that 8037 has 64KB flash, 8027 has 32KB flash, even the other variant has 16KB flash, the above line means that the flash architecture is the same although the size is different. For example, the page size/sector size are the same for MC56F8037 and 8027, the page size is 0.5KB, the sector size is 4KB for both 8037 and 8027. It also means that there are only 8 valid protection bits for  Protection Register of 8027, pls refer to section 6.7.4 Protection Register (PROT).

Q2)Does the "64k to 32k" reference different part variants such as 8037 vs. 802x vs. 803x?

>>>>>>Yes.

Q3)Why does figure 6-1 show an option for 16K but it is not fall into 64k to 32k?

>>>>>>The other variants may have 16KB flash.

Q4)The statement is referencing bytes, so, can the part be programmed byte-wise, or must it be 16bits programming.

>>>>>>>The flash only supports WORD programming(16 Bits programming), it does not support BYTE programming. But it support BYTE reading, and WORD reading.

Q5)Why is the k separated from the number with a space (64 k, 32 k)?

>>>>>It is the same for "64K" and "64 K".

Q6)It seems odd that that the nomenclature is in descending order 64k to 32k although, it is valid.

>>>>I agree with you.

Hope it can help you

BR

Xiangjun Rong

View solution in original post

3 Replies
528 Views
j___
Contributor IV

Hi,

Yes. I understand that different parts have different memory configurations. I eluded to that by mentioning the part variants.

What I am trying to understand, is this sentence:

-------------------------------------------

6.3 Block Diagram

      "Program memory of 64 k to 32 k bytes in length is constructed from a 64 k byte block."

-------------------------------------------

I listed several questions about this sentence. Let's start with JUST this one:

How can a 32k byte memory be constructed from a 64k byte block?

0 Kudos
529 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Friend,

I will clarify one by one.

Q1)6.3 Block Diagram

      "Program memory of 64 k to 32 k bytes in length is constructed from a 64 k byte block."

 

What does this mean?

How can a 32k byte memory be constructed from a 64k byte block?

>>>>>>As you know that 8037 has 64KB flash, 8027 has 32KB flash, even the other variant has 16KB flash, the above line means that the flash architecture is the same although the size is different. For example, the page size/sector size are the same for MC56F8037 and 8027, the page size is 0.5KB, the sector size is 4KB for both 8037 and 8027. It also means that there are only 8 valid protection bits for  Protection Register of 8027, pls refer to section 6.7.4 Protection Register (PROT).

Q2)Does the "64k to 32k" reference different part variants such as 8037 vs. 802x vs. 803x?

>>>>>>Yes.

Q3)Why does figure 6-1 show an option for 16K but it is not fall into 64k to 32k?

>>>>>>The other variants may have 16KB flash.

Q4)The statement is referencing bytes, so, can the part be programmed byte-wise, or must it be 16bits programming.

>>>>>>>The flash only supports WORD programming(16 Bits programming), it does not support BYTE programming. But it support BYTE reading, and WORD reading.

Q5)Why is the k separated from the number with a space (64 k, 32 k)?

>>>>>It is the same for "64K" and "64 K".

Q6)It seems odd that that the nomenclature is in descending order 64k to 32k although, it is valid.

>>>>I agree with you.

Hope it can help you

BR

Xiangjun Rong

528 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

Let me clarify, as you know that the MC56F803x includes MC56F8027 and MC56F8037, they have different flash size and SRAM size. Both the MC56F8027 and MC56F8037 have only program flash, they do not have data flash, but the constant data can be saved in program flash.

MC56F8037 has 64KB program flash and 8KB SRAM, the MC56F8027 has 32KB program flash and 4KB SRAM.

I copy it from data sheet of MC56F8037.

The page size is 512Byte for both 8037 and 8027.

Hope it can help you

BR

Xiangjun Rong

pastedImage_1.png

0 Kudos