Using NO_INIT RAM for random number generation in TC3XX

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

cross mob
UserSdp
Level 1
Level 1
First like given 5 sign-ins First reply posted

Any RAM that is ECC protected must be initialized before it is read, to set the ECC bits.

If PROCOND.RAMIN is set to NO_INIT, is it possible to disable ECC protection on certain range of RAM, and read these uninitialized RAM locations as entropy source for PRNG ? Is there any application note / sample application on this topic ?

0 Likes
1 Solution
MoD
Employee
Employee
10 likes given 50 likes received 500 replies posted

e.g.:

The DSPR memory of the TC1.6.2P is protected from memory integrity errors on a per half-word basis. ECC
protection of the DSPR is enabled via the SSH ECCS register.

Please see register MCi_ECCS (i=0-95) description in the MTU chapter. Disable here the ECC for the needed memory. The information which number is used for which memory you can find in the corresponding appendix manual.

View solution in original post

3 Replies
MoD
Employee
Employee
10 likes given 50 likes received 500 replies posted

No, this is not possible. You can switch off the ECC only for complete RAM.

0 Likes
UserSdp
Level 1
Level 1
First like given 5 sign-ins First reply posted

Thank you for your response MoD. How to disable ECC over complete RAM?

 

0 Likes
MoD
Employee
Employee
10 likes given 50 likes received 500 replies posted

e.g.:

The DSPR memory of the TC1.6.2P is protected from memory integrity errors on a per half-word basis. ECC
protection of the DSPR is enabled via the SSH ECCS register.

Please see register MCi_ECCS (i=0-95) description in the MTU chapter. Disable here the ECC for the needed memory. The information which number is used for which memory you can find in the corresponding appendix manual.