Flash size on QY2

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

Flash size on QY2

1,961 Views
my
Contributor I
Sorry, I have a pretty **bleep** question.
How big is the flash size of QY2?
I have a board with HLC908QY2, and the guy who designed it loaded 2259 bytes of code into it, and the code starts from $EE00 becuase he used QY4 setup. The board works, and the code runs. I can upload the code, and reprogramm it using the same code. The tricky thing is, you can program it using USB multilink, but you can not do it using Cyclone pro (it will halt during the process, which makes sense to me due to address violation).
So, I got confused. Does QY2 actually have the same size of the flash like QY4? According to the datasheet, there are only 1536 bytes of the flash available in the QY2, and it starts from $F800.
Please help me on this. I appreciate it.
Labels (1)
0 Kudos
4 Replies

385 Views
bigmac
Specialist III
Hello,
 
I suspect that the QY2 uses the same die as the QY4.  However, the QY2 might contain non-functional flash memory blocks outside of its specified address range.  As you have found, the code located below $F800 could work, but operation would not be guaranteed.
 
Regards,
Mac
 
0 Kudos

385 Views
my
Contributor I
Thanks Mac. Just get the info from Freescale tech support. QY2 shares the same mask set with QY4, and they have the same structure of the silicon. In other word, QY2 contains the same size of the flash as QY4. The only difference is that Freescale only test 1536 bytes of the flash on the QY2. So you are right, the operation out of the specified address would not be guaranteed.
0 Kudos

385 Views
baddad
Contributor I
You will find that this is very common in the micro world.
 
Sometimes it's cheaper to use the same die, but not test (or disable) the functions according to the variation needed.  Other times the testing determines which "bin" it falls into.
 
Brian
0 Kudos

385 Views
eckhard
Contributor V
Hello,

for me on my QY1 the A/D channels worked too.
So not only the memory is the same size.

Eckhard
0 Kudos