WARNING: This page is about a different car, the 2004 Nissan Maxima. However, it is still accessible from the selected car via links, so may be relevant.
Fig 1: TCM Initialization Patterns Table
Courtesy of NISSAN MOTOR CO., U.S.A.
NOTE:
"Old one" is the TCM or A/T assembly that has been used on other vehicles.