Hi All,
I am working on a platform based on QorIQ P1020. We use UMCC for channelized data. When configured for 32 timeslots (channels), everything works fine. However, when more than 32 timeslots is configured, none of the channels comes up. In my case, we have TDM input frequency of 8MHz (4 full E1). When I try, for example, 64 timeslots (including MU RAM routing, SI routing, channel extra parameter, channel specific parameters, etc), channels are not coming up.
I found that the channels are not up and running by looking at the channel specific parameters. The Tx/Rx states remain the same as configured value.
I would appreciate it very much if any one can provide insight to this problem.
Thanks in advance.
XL
Hi r8070z, thanks for your response.
I think you meant P1020 does not support MCC through hardware. Yes, I am using UMCC through UCC. For 32 timeslots, I setup 32 SI RAM routing entries, 32 MU RAM routing entries, 32 channel extra parameters entries and 32 entries for channel specific parameters. In this case, everything works perfectly. However, if I change 32 to 64, none of the channels comes up. I can see the channels are not up by looking at the channel specific parameters. When channels run, the QUICC engine micro code will update the parameters. When channel don't run, there is no update. Please see the following for the memory/register dumps for the 64 timeslots case:
XL
// UCC1 Registers
E0082000: 00040032 00001F82-00000000 00007E7E ...2..........~~
E0082010: 00000000 FF0F0000-00000000 00000000 ................
E0082020: 00000000 00800000-0040FFFF 00000000 .........@......
E0082030: 00800000 00400000-00200000 01000000 .....@... ......
E0082040: 00000000 80000C08-80000000 00000000 ................
E0082050: 00000000 00000000-00000008 00000000 ................
E0082060: 00000000 00000000-00000000 00000000 ................
E0082070: 00000000 00000000-00000000 00000000 ................
E0082080: 00000000 00000000-00000000 00000000 ................
E0082090: 10000000 00000000-00000000 00000000 ................
E00820A0: 00000000 00000000-00000000 00000000 ................
// UCC1 Global Parameters
E0094000: 1A16B2C0 00000400-00010001 00000000 ................
E0094010: 00000000 00000000-1A25B2C0 1A25B2C0 .........%...%..
E0094020: 00000000 00000000-DEBB20E3 5100F0B8 .......... .Q...
E0094030: 00000000 00000000-00000000 00000000 ................
E0094040: 1A22B2C0 1A22B2C0-00000000 00000000 ."..."..........
E0094050: 00000000 00000000-00000000 00000000 ................
E0094060: 00000000 00000000-00000000 00000000 ................
E0094070: 00000000 00000000-00000000 00000000 ................
E0094080: 00000000 00000000-00000000 00000000 ................
E0094090: 00000000 00000000-00000000 00000000 ................
E00940A0: 00004CFE 00004D50-0000001F 00000287 ..L...MP........
E00940B0: 7E7E0FC1 00000000-00004400 00000000 ~~........D.....
E00940C0: 00004AFE 00004B3E-00000000 00000000 ..J...K>........
E00940D0: 00000000 00004600-00000000 00000000 ......F.........
E00940E0: 00000000 00000000-00000000 00000000 ................
E00940F0: 00000000 00000000-00000000 00000000 ................
// Channel Specific Parameters
// Using channel 0-5, HDLC/HDLC/TRANS/TRANS/HDLC/HDLC
E0090000: 10800000 00000207-7E7E7E7E 7E7E7E7E ........~~~~~~~~
E0090010: 00000000 00000000-031FE000 0000FFFF ................
E0090020: 10800000 00FFFFE0-FFFFFFFF 8000FFFF ................
E0090030: 00000000 00000000-40000000 00000000 ........@.......
E0090040: 10800000 00000207-7E7E7E7E 7E7E7E7E ........~~~~~~~~
E0090050: 00000000 00000000-031FE000 0000FFFF ................
E0090060: 10800000 00FFFFE0-FFFFFFFF 8000FFFF ................
E0090070: 00000000 00000000-40000000 00000000 ........@.......
E0090080: 10800000 10000207-FFFFFFFF FFFFFFFF ................
E0090090: 00000000 00000000-031F7000 0000FFFF ..........p.....
E00900A0: 10800000 50FFFFE0-FFFFFFFF 8000FFFF ....P...........
E00900B0: 00000000 00000000-00600000 00000000 .........`......
E00900C0: 10800000 10000207-FFFFFFFF FFFFFFFF ................
E00900D0: 00000000 00000000-031F7000 0000FFFF ..........p.....
E00900E0: 10800000 50FFFFE0-FFFFFFFF 8000FFFF ....P...........
E00900F0: 00000000 00000000-00600000 00000000 .........`......
E0090100: 10800000 00000207-7E7E7E7E 7E7E7E7E ........~~~~~~~~
E0090110: 00000000 00000000-031FE000 0000FFFF ................
E0090120: 10800000 00FFFFE0-FFFFFFFF 8000FFFF ................
E0090130: 00000000 00000000-40000000 00000000 ........@.......
E0090140: 10800000 00000207-7E7E7E7E 7E7E7E7E ........~~~~~~~~
E0090150: 00000000 00000000-031FE000 0000FFFF ................
E0090160: 10800000 00FFFFE0-FFFFFFFF 8000FFFF ................
E0090170: 00000000 00000000-40000000 00000000 ........@.......
E0090180: 100005B0 002FCFC4-7E7E7E7E 7E7E7E7E ...../..~~~~~~~~
E0090190: 00000000 00000000-0000A000 0000FFFF ................
E00901A0: 10800000 00FFFFE0-FFFFFFFF 8000FFFF ................
E00901B0: 00000000 00000000-40000000 00000000 ........@.......
E00901C0: 100005B0 002FCFC4-7E7E7E7E 7E7E7E7E ...../..~~~~~~~~
E00901D0: 00000000 00000000-0000A000 0000FFFF ................
E00901E0: 10800000 00FFFFE0-FFFFFFFF 8000FFFF ................
E00901F0: 00000000 00000000-40000000 00000000 ........@.......
// Channel Extra Parameters
E0095100: 0000 0000 C000 C000-00C0 00C0 C0C0 C0C0 ................
E0095110: 0180 0180 C180 C180-0240 0240 C240 C240 .........@.@.@.@
E0095120: 0300 0300 C300 C300-03C0 03C0 C3C0 C3C0 ................
E0095130: 0480 0480 C480 C480-0540 0540 C540 C540 .........@.@.@.@
E0095140: 0600 0600 C600 C600-06C0 06C0 C6C0 C6C0 ................
E0095150: 0780 0780 C780 C780-0840 0840 C840 C840 .........@.@.@.@
E0095160: 0900 0900 C900 C900-09C0 09C0 C9C0 C9C0 ................
E0095170: 0A80 0A80 CA80 CA80-0B40 0B40 CB40 CB40 .........@.@.@.@
E0095180: 0C00 0C00 CC00 CC00-0CC0 0CC0 CCC0 CCC0 ................
E0095190: 0D80 0D80 CD80 CD80-0E40 0E40 CE40 CE40 .........@.@.@.@
E00951A0: 0F00 0F00 CF00 CF00-0FC0 0FC0 CFC0 CFC0 ................
E00951B0: 1080 1080 D080 D080-1140 1140 D140 D140 .........@.@.@.@
E00951C0: 1200 1200 D200 D200-12C0 12C0 D2C0 D2C0 ................
E00951D0: 1380 1380 D380 D380-1440 1440 D440 D440 .........@.@.@.@
E00951E0: 1500 1500 D500 D500-15C0 15C0 D5C0 D5C0 ................
E00951F0: 1680 1680 D680 D680-1740 1740 D740 D740 .........@.@.@.@
E0095200: 1800 1800 D800 D800-18C0 18C0 D8C0 D8C0 ................
E0095210: 1980 1980 D980 D980-1A40 1A40 DA40 DA40 .........@.@.@.@
E0095220: 1B00 1B00 DB00 DB00-1BC0 1BC0 DBC0 DBC0 ................
E0095230: 1C80 1C80 DC80 DC80-1D40 1D40 DD40 DD40 .........@.@.@.@
E0095240: 1E00 1E00 DE00 DE00-1EC0 1EC0 DEC0 DEC0 ................
E0095250: 1F80 1F80 DF80 DF80-2040 2040 E040 E040 ........ @ @.@.@@
E0095260: 2100 2100 E100 E100-21C0 21C0 E1C0 E1C0 !.!.....!.!.....
E0095270: 2280 2280 E280 E280-2340 2340 E340 E340 ".".....#@#@.@.@
E0095280: 2400 2400 E400 E400-24C0 24C0 E4C0 E4C0 $.$.....$.$.....
E0095290: 2580 2580 E580 E580-2640 2640 E640 E640 %.%.....&@&@.@.@
E00952A0: 2700 2700 E700 E700-27C0 27C0 E7C0 E7C0 '.'.....'.'.....
E00952B0: 2880 2880 E880 E880-2940 2940 E940 E940 (.(.....)@)@.@.@
E00952C0: 2A00 2A00 EA00 EA00-2AC0 2AC0 EAC0 EAC0 *.*.....*.*.....
E00952D0: 2B80 2B80 EB80 EB80-2C40 2C40 EC40 EC40 +.+.....,@,@.@.@
E00952E0: 2D00 2D00 ED00 ED00-2DC0 2DC0 EDC0 EDC0 -.-.....-.-.....
E00952F0: 2E80 2E80 EE80 EE80-2F40 2F40 EF40 EF40 ......../@/@.@.@
// SI Routing Entries
// TX Routing
E0081000: 013C 013C 013C 013C-013C 013C 013C 013C .<.<.<.<.<.<.<.<
E0081010: 013C 013C 013C 013C-013C 013C 013C 013C .<.<.<.<.<.<.<.<
E0081020: 013C 013C 013C 013C-013C 013C 013C 013C .<.<.<.<.<.<.<.<
E0081030: 013C 013C 013C 013C-013C 013C 013C 013C .<.<.<.<.<.<.<.<
E0081040: 013C 013C 013C 013C-013C 013C 013C 013C .<.<.<.<.<.<.<.<
E0081050: 013C 013C 013C 013C-013C 013C 013C 013C .<.<.<.<.<.<.<.<
E0081060: 013C 013C 013C 013C-013C 013C 013C 013C .<.<.<.<.<.<.<.<
E0081070: 013C 013C 013C 013C-013C 013C 013C 013D .<.<.<.<.<.<.<.=
// RX Routing
E0081400: 013C 013C 013C 013C-013C 013C 013C 013C .<.<.<.<.<.<.<.<
E0081410: 013C 013C 013C 013C-013C 013C 013C 013C .<.<.<.<.<.<.<.<
E0081420: 013C 013C 013C 013C-013C 013C 013C 013C .<.<.<.<.<.<.<.<
E0081430: 013C 013C 013C 013C-013C 013C 013C 013C .<.<.<.<.<.<.<.<
E0081440: 013C 013C 013C 013C-013C 013C 013C 013C .<.<.<.<.<.<.<.<
E0081450: 013C 013C 013C 013C-013C 013C 013C 013C .<.<.<.<.<.<.<.<
E0081460: 013C 013C 013C 013C-013C 013C 013C 013C .<.<.<.<.<.<.<.<
E0081470: 013C 013C 013C 013C-013C 013C 013C 013D .<.<.<.<.<.<.<.=
// MU RAM Routing Entries
// Rx Routing
E0094B00: 0007 0017 0027 0037-0047 0057 0067 0077 .....'.7.G.W.g.w
E0094B10: 0087 0097 00A7 00B7-00C7 00D7 00E7 00F7 ................
E0094B20: 0107 0117 0127 0137-0147 0157 0167 0177 .....'.7.G.W.g.w
E0094B30: 0187 0197 01A7 01B7-01C7 01D7 01E7 01F7 ................
E0094B40: 0207 0217 0227 0237-0247 0257 0267 0277 .....'.7.G.W.g.w
E0094B50: 0287 0297 02A7 02B7-02C7 02D7 02E7 02F7 ................
E0094B60: 0307 0317 0327 0337-0347 0357 0367 0377 .....'.7.G.W.g.w
E0094B70: 0387 0397 03A7 03B7-03C7 03D7 03E7 83F7 ................
// Tx Routing
E0094D00: 0007 0017 0027 0037-0047 0057 0067 0077 .....'.7.G.W.g.w
E0094D10: 0087 0097 00A7 00B7-00C7 00D7 00E7 00F7 ................
E0094D20: 0107 0117 0127 0137-0147 0157 0167 0177 .....'.7.G.W.g.w
E0094D30: 0187 0197 01A7 01B7-01C7 01D7 01E7 01F7 ................
E0094D40: 0207 0217 0227 0237-0247 0257 0267 0277 .....'.7.G.W.g.w
E0094D50: 0287 0297 02A7 02B7-02C7 02D7 02E7 02F7 ................
E0094D60: 0307 0317 0327 0337-0347 0357 0367 0377 .....'.7.G.W.g.w
E0094D70: 0387 0397 03A7 03B7-03C7 03D7 03E7 83F7 ................
>I am working on a platform based on QorIQ P1020. We use UMCC for channelized data.
The P1020 does not support UMCC. There is no QUICC engine on the P1020.
I guess you run UMCC on device with UCCs. Please add more details how you change settings for the 64-channel case. Check the UCC Event register when UMCC hangs.
Hi r8070z, thanks for your response.
I think you mean P1020 does not support MCC through hardware. Yes, I am using UMCC through UCC. For 32 timeslots, I setup 32 SI RAM routing entries, 32 MU RAM routing entries, 32 channel extra parameters entries and 32 entries for channel specific parameters. In this case, everything works perfectly. However, if I change 32 to 64, none of the channels comes up. I can see the channels are not up by looking at the channel specific parameters. When channels run, the QUICC engine micro code will update the parameters. When channel don't run, there is no update. Please see the following for the memory/register dumps for the 64 timeslots case:
XL
// UCC1 Registers
E0082000: 00040032 00001F82-00000000 00007E7E ...2..........~~
E0082010: 00000000 FF0F0000-00000000 00000000 ................
E0082020: 00000000 00800000-0040FFFF 00000000 .........@......
E0082030: 00800000 00400000-00200000 01000000 .....@... ......
E0082040: 00000000 80000C08-80000000 00000000 ................
E0082050: 00000000 00000000-00000008 00000000 ................
E0082060: 00000000 00000000-00000000 00000000 ................
E0082070: 00000000 00000000-00000000 00000000 ................
E0082080: 00000000 00000000-00000000 00000000 ................
E0082090: 10000000 00000000-00000000 00000000 ................
E00820A0: 00000000 00000000-00000000 00000000 ................
// UCC1 Global Parameters
E0094000: 1A16B2C0 00000400-00010001 00000000 ................
E0094010: 00000000 00000000-1A25B2C0 1A25B2C0 .........%...%..
E0094020: 00000000 00000000-DEBB20E3 5100F0B8 .......... .Q...
E0094030: 00000000 00000000-00000000 00000000 ................
E0094040: 1A22B2C0 1A22B2C0-00000000 00000000 ."..."..........
E0094050: 00000000 00000000-00000000 00000000 ................
E0094060: 00000000 00000000-00000000 00000000 ................
E0094070: 00000000 00000000-00000000 00000000 ................
E0094080: 00000000 00000000-00000000 00000000 ................
E0094090: 00000000 00000000-00000000 00000000 ................
E00940A0: 00004CFE 00004D50-0000001F 00000287 ..L...MP........
E00940B0: 7E7E0FC1 00000000-00004400 00000000 ~~........D.....
E00940C0: 00004AFE 00004B3E-00000000 00000000 ..J...K>........
E00940D0: 00000000 00004600-00000000 00000000 ......F.........
E00940E0: 00000000 00000000-00000000 00000000 ................
E00940F0: 00000000 00000000-00000000 00000000 ................
// Channel Specific Parameters
// Using channel 0-5, HDLC/HDLC/TRANS/TRANS/HDLC/HDLC
E0090000: 10800000 00000207-7E7E7E7E 7E7E7E7E ........~~~~~~~~
E0090010: 00000000 00000000-031FE000 0000FFFF ................
E0090020: 10800000 00FFFFE0-FFFFFFFF 8000FFFF ................
E0090030: 00000000 00000000-40000000 00000000 ........@.......
E0090040: 10800000 00000207-7E7E7E7E 7E7E7E7E ........~~~~~~~~
E0090050: 00000000 00000000-031FE000 0000FFFF ................
E0090060: 10800000 00FFFFE0-FFFFFFFF 8000FFFF ................
E0090070: 00000000 00000000-40000000 00000000 ........@.......
E0090080: 10800000 10000207-FFFFFFFF FFFFFFFF ................
E0090090: 00000000 00000000-031F7000 0000FFFF ..........p.....
E00900A0: 10800000 50FFFFE0-FFFFFFFF 8000FFFF ....P...........
E00900B0: 00000000 00000000-00600000 00000000 .........`......
E00900C0: 10800000 10000207-FFFFFFFF FFFFFFFF ................
E00900D0: 00000000 00000000-031F7000 0000FFFF ..........p.....
E00900E0: 10800000 50FFFFE0-FFFFFFFF 8000FFFF ....P...........
E00900F0: 00000000 00000000-00600000 00000000 .........`......
E0090100: 10800000 00000207-7E7E7E7E 7E7E7E7E ........~~~~~~~~
E0090110: 00000000 00000000-031FE000 0000FFFF ................
E0090120: 10800000 00FFFFE0-FFFFFFFF 8000FFFF ................
E0090130: 00000000 00000000-40000000 00000000 ........@.......
E0090140: 10800000 00000207-7E7E7E7E 7E7E7E7E ........~~~~~~~~
E0090150: 00000000 00000000-031FE000 0000FFFF ................
E0090160: 10800000 00FFFFE0-FFFFFFFF 8000FFFF ................
E0090170: 00000000 00000000-40000000 00000000 ........@.......
E0090180: 100005B0 002FCFC4-7E7E7E7E 7E7E7E7E ...../..~~~~~~~~
E0090190: 00000000 00000000-0000A000 0000FFFF ................
E00901A0: 10800000 00FFFFE0-FFFFFFFF 8000FFFF ................
E00901B0: 00000000 00000000-40000000 00000000 ........@.......
E00901C0: 100005B0 002FCFC4-7E7E7E7E 7E7E7E7E ...../..~~~~~~~~
E00901D0: 00000000 00000000-0000A000 0000FFFF ................
E00901E0: 10800000 00FFFFE0-FFFFFFFF 8000FFFF ................
E00901F0: 00000000 00000000-40000000 00000000 ........@.......
// Channel Extra Parameters
E0095100: 0000 0000 C000 C000-00C0 00C0 C0C0 C0C0 ................
E0095110: 0180 0180 C180 C180-0240 0240 C240 C240 .........@.@.@.@
E0095120: 0300 0300 C300 C300-03C0 03C0 C3C0 C3C0 ................
E0095130: 0480 0480 C480 C480-0540 0540 C540 C540 .........@.@.@.@
E0095140: 0600 0600 C600 C600-06C0 06C0 C6C0 C6C0 ................
E0095150: 0780 0780 C780 C780-0840 0840 C840 C840 .........@.@.@.@
E0095160: 0900 0900 C900 C900-09C0 09C0 C9C0 C9C0 ................
E0095170: 0A80 0A80 CA80 CA80-0B40 0B40 CB40 CB40 .........@.@.@.@
E0095180: 0C00 0C00 CC00 CC00-0CC0 0CC0 CCC0 CCC0 ................
E0095190: 0D80 0D80 CD80 CD80-0E40 0E40 CE40 CE40 .........@.@.@.@
E00951A0: 0F00 0F00 CF00 CF00-0FC0 0FC0 CFC0 CFC0 ................
E00951B0: 1080 1080 D080 D080-1140 1140 D140 D140 .........@.@.@.@
E00951C0: 1200 1200 D200 D200-12C0 12C0 D2C0 D2C0 ................
E00951D0: 1380 1380 D380 D380-1440 1440 D440 D440 .........@.@.@.@
E00951E0: 1500 1500 D500 D500-15C0 15C0 D5C0 D5C0 ................
E00951F0: 1680 1680 D680 D680-1740 1740 D740 D740 .........@.@.@.@
E0095200: 1800 1800 D800 D800-18C0 18C0 D8C0 D8C0 ................
E0095210: 1980 1980 D980 D980-1A40 1A40 DA40 DA40 .........@.@.@.@
E0095220: 1B00 1B00 DB00 DB00-1BC0 1BC0 DBC0 DBC0 ................
E0095230: 1C80 1C80 DC80 DC80-1D40 1D40 DD40 DD40 .........@.@.@.@
E0095240: 1E00 1E00 DE00 DE00-1EC0 1EC0 DEC0 DEC0 ................
E0095250: 1F80 1F80 DF80 DF80-2040 2040 E040 E040 ........ @ @.@.@@
E0095260: 2100 2100 E100 E100-21C0 21C0 E1C0 E1C0 !.!.....!.!.....
E0095270: 2280 2280 E280 E280-2340 2340 E340 E340 ".".....#@#@.@.@
E0095280: 2400 2400 E400 E400-24C0 24C0 E4C0 E4C0 $.$.....$.$.....
E0095290: 2580 2580 E580 E580-2640 2640 E640 E640 %.%.....&@&@.@.@
E00952A0: 2700 2700 E700 E700-27C0 27C0 E7C0 E7C0 '.'.....'.'.....
E00952B0: 2880 2880 E880 E880-2940 2940 E940 E940 (.(.....)@)@.@.@
E00952C0: 2A00 2A00 EA00 EA00-2AC0 2AC0 EAC0 EAC0 *.*.....*.*.....
E00952D0: 2B80 2B80 EB80 EB80-2C40 2C40 EC40 EC40 +.+.....,@,@.@.@
E00952E0: 2D00 2D00 ED00 ED00-2DC0 2DC0 EDC0 EDC0 -.-.....-.-.....
E00952F0: 2E80 2E80 EE80 EE80-2F40 2F40 EF40 EF40 ......../@/@.@.@
// SI Routing Entries
// TX Routing
E0081000: 013C 013C 013C 013C-013C 013C 013C 013C .<.<.<.<.<.<.<.<
E0081010: 013C 013C 013C 013C-013C 013C 013C 013C .<.<.<.<.<.<.<.<
E0081020: 013C 013C 013C 013C-013C 013C 013C 013C .<.<.<.<.<.<.<.<
E0081030: 013C 013C 013C 013C-013C 013C 013C 013C .<.<.<.<.<.<.<.<
E0081040: 013C 013C 013C 013C-013C 013C 013C 013C .<.<.<.<.<.<.<.<
E0081050: 013C 013C 013C 013C-013C 013C 013C 013C .<.<.<.<.<.<.<.<
E0081060: 013C 013C 013C 013C-013C 013C 013C 013C .<.<.<.<.<.<.<.<
E0081070: 013C 013C 013C 013C-013C 013C 013C 013D .<.<.<.<.<.<.<.=
// RX Routing
E0081400: 013C 013C 013C 013C-013C 013C 013C 013C .<.<.<.<.<.<.<.<
E0081410: 013C 013C 013C 013C-013C 013C 013C 013C .<.<.<.<.<.<.<.<
E0081420: 013C 013C 013C 013C-013C 013C 013C 013C .<.<.<.<.<.<.<.<
E0081430: 013C 013C 013C 013C-013C 013C 013C 013C .<.<.<.<.<.<.<.<
E0081440: 013C 013C 013C 013C-013C 013C 013C 013C .<.<.<.<.<.<.<.<
E0081450: 013C 013C 013C 013C-013C 013C 013C 013C .<.<.<.<.<.<.<.<
E0081460: 013C 013C 013C 013C-013C 013C 013C 013C .<.<.<.<.<.<.<.<
E0081470: 013C 013C 013C 013C-013C 013C 013C 013D .<.<.<.<.<.<.<.=
// MU RAM Routing Entries
// Rx Routing
E0094B00: 0007 0017 0027 0037-0047 0057 0067 0077 .....'.7.G.W.g.w
E0094B10: 0087 0097 00A7 00B7-00C7 00D7 00E7 00F7 ................
E0094B20: 0107 0117 0127 0137-0147 0157 0167 0177 .....'.7.G.W.g.w
E0094B30: 0187 0197 01A7 01B7-01C7 01D7 01E7 01F7 ................
E0094B40: 0207 0217 0227 0237-0247 0257 0267 0277 .....'.7.G.W.g.w
E0094B50: 0287 0297 02A7 02B7-02C7 02D7 02E7 02F7 ................
E0094B60: 0307 0317 0327 0337-0347 0357 0367 0377 .....'.7.G.W.g.w
E0094B70: 0387 0397 03A7 03B7-03C7 03D7 03E7 83F7 ................
// Tx Routing
E0094D00: 0007 0017 0027 0037-0047 0057 0067 0077 .....'.7.G.W.g.w
E0094D10: 0087 0097 00A7 00B7-00C7 00D7 00E7 00F7 ................
E0094D20: 0107 0117 0127 0137-0147 0157 0167 0177 .....'.7.G.W.g.w
E0094D30: 0187 0197 01A7 01B7-01C7 01D7 01E7 01F7 ................
E0094D40: 0207 0217 0227 0237-0247 0257 0267 0277 .....'.7.G.W.g.w
E0094D50: 0287 0297 02A7 02B7-02C7 02D7 02E7 02F7 ................
E0094D60: 0307 0317 0327 0337-0347 0357 0367 0377 .....'.7.G.W.g.w
E0094D70: 0387 0397 03A7 03B7-03C7 03D7 03E7 83F7 ................
Thanks for replying to my question. I think what you mean is that P1020 does not support MCC by hardware. Yes, I am running UMCC through UCC, more specifically UCC1.
When I use 32 channels, I only setup 32 SI RAM entries, 32 MU RAM routing entries, 32 channel extra parameter entries and 32 channel specific parameters entries. In this case, everything works perfectly.
If I just change 32 to 64, none of the channels really starts. I can see that from the channel specific parameters. If a channel comes up, the QUICC engine micro code will load the parameters with new values instead of the configured values. As for the UCCE, the value is always zero when no channel is running.
The following are the memory/register dumps regarding the configurations.
// UCC1 Registers
E0082000: 00040032 00001F82-00000000 00007E7E ...2..........~~
E0082010: 00000000 FF0F0000-00000000 00000000 ................
E0082020: 00000000 00800000-0040FFFF 00000000 .........@......
E0082030: 00800000 00400000-00200000 01000000 .....@... ......
E0082040: 00000000 80000C08-80000000 00000000 ................
E0082050: 00000000 00000000-00000008 00000000 ................
E0082060: 00000000 00000000-00000000 00000000 ................
E0082070: 00000000 00000000-00000000 00000000 ................
E0082080: 00000000 00000000-00000000 00000000 ................
E0082090: 10000000 00000000-00000000 00000000 ................
E00820A0: 00000000 00000000-00000000 00000000 ................
// UCC1 Global Parameters
E0094000: 1A16B2C0 00000400-00010001 00000000 ................
E0094010: 00000000 00000000-1A25B2C0 1A25B2C0 .........%...%..
E0094020: 00000000 00000000-DEBB20E3 5100F0B8 .......... .Q...
E0094030: 00000000 00000000-00000000 00000000 ................
E0094040: 1A22B2C0 1A22B2C0-00000000 00000000 ."..."..........
E0094050: 00000000 00000000-00000000 00000000 ................
E0094060: 00000000 00000000-00000000 00000000 ................
E0094070: 00000000 00000000-00000000 00000000 ................
E0094080: 00000000 00000000-00000000 00000000 ................
E0094090: 00000000 00000000-00000000 00000000 ................
E00940A0: 00004CFE 00004D50-0000001F 00000287 ..L...MP........
E00940B0: 7E7E0FC1 00000000-00004400 00000000 ~~........D.....
E00940C0: 00004AFE 00004B3E-00000000 00000000 ..J...K>........
E00940D0: 00000000 00004600-00000000 00000000 ......F.........
E00940E0: 00000000 00000000-00000000 00000000 ................
E00940F0: 00000000 00000000-00000000 00000000 ................
// Channel Specific Parameters
// Using channel 0-5, HDLC/HDLC/TRANS/TRANS/HDLC/HDLC
E0090000: 10800000 00000207-7E7E7E7E 7E7E7E7E ........~~~~~~~~
E0090010: 00000000 00000000-031FE000 0000FFFF ................
E0090020: 10800000 00FFFFE0-FFFFFFFF 8000FFFF ................
E0090030: 00000000 00000000-40000000 00000000 ........@.......
E0090040: 10800000 00000207-7E7E7E7E 7E7E7E7E ........~~~~~~~~
E0090050: 00000000 00000000-031FE000 0000FFFF ................
E0090060: 10800000 00FFFFE0-FFFFFFFF 8000FFFF ................
E0090070: 00000000 00000000-40000000 00000000 ........@.......
E0090080: 10800000 10000207-FFFFFFFF FFFFFFFF ................
E0090090: 00000000 00000000-031F7000 0000FFFF ..........p.....
E00900A0: 10800000 50FFFFE0-FFFFFFFF 8000FFFF ....P...........
E00900B0: 00000000 00000000-00600000 00000000 .........`......
E00900C0: 10800000 10000207-FFFFFFFF FFFFFFFF ................
E00900D0: 00000000 00000000-031F7000 0000FFFF ..........p.....
E00900E0: 10800000 50FFFFE0-FFFFFFFF 8000FFFF ....P...........
E00900F0: 00000000 00000000-00600000 00000000 .........`......
E0090100: 10800000 00000207-7E7E7E7E 7E7E7E7E ........~~~~~~~~
E0090110: 00000000 00000000-031FE000 0000FFFF ................
E0090120: 10800000 00FFFFE0-FFFFFFFF 8000FFFF ................
E0090130: 00000000 00000000-40000000 00000000 ........@.......
E0090140: 10800000 00000207-7E7E7E7E 7E7E7E7E ........~~~~~~~~
E0090150: 00000000 00000000-031FE000 0000FFFF ................
E0090160: 10800000 00FFFFE0-FFFFFFFF 8000FFFF ................
E0090170: 00000000 00000000-40000000 00000000 ........@.......
E0090180: 100005B0 002FCFC4-7E7E7E7E 7E7E7E7E ...../..~~~~~~~~
E0090190: 00000000 00000000-0000A000 0000FFFF ................
E00901A0: 10800000 00FFFFE0-FFFFFFFF 8000FFFF ................
E00901B0: 00000000 00000000-40000000 00000000 ........@.......
E00901C0: 100005B0 002FCFC4-7E7E7E7E 7E7E7E7E ...../..~~~~~~~~
E00901D0: 00000000 00000000-0000A000 0000FFFF ................
E00901E0: 10800000 00FFFFE0-FFFFFFFF 8000FFFF ................
E00901F0: 00000000 00000000-40000000 00000000 ........@.......
// Channel Extra Parameters
E0095100: 0000 0000 C000 C000-00C0 00C0 C0C0 C0C0 ................
E0095110: 0180 0180 C180 C180-0240 0240 C240 C240 .........@.@.@.@
E0095120: 0300 0300 C300 C300-03C0 03C0 C3C0 C3C0 ................
E0095130: 0480 0480 C480 C480-0540 0540 C540 C540 .........@.@.@.@
E0095140: 0600 0600 C600 C600-06C0 06C0 C6C0 C6C0 ................
E0095150: 0780 0780 C780 C780-0840 0840 C840 C840 .........@.@.@.@
E0095160: 0900 0900 C900 C900-09C0 09C0 C9C0 C9C0 ................
E0095170: 0A80 0A80 CA80 CA80-0B40 0B40 CB40 CB40 .........@.@.@.@
E0095180: 0C00 0C00 CC00 CC00-0CC0 0CC0 CCC0 CCC0 ................
E0095190: 0D80 0D80 CD80 CD80-0E40 0E40 CE40 CE40 .........@.@.@.@
E00951A0: 0F00 0F00 CF00 CF00-0FC0 0FC0 CFC0 CFC0 ................
E00951B0: 1080 1080 D080 D080-1140 1140 D140 D140 .........@.@.@.@
E00951C0: 1200 1200 D200 D200-12C0 12C0 D2C0 D2C0 ................
E00951D0: 1380 1380 D380 D380-1440 1440 D440 D440 .........@.@.@.@
E00951E0: 1500 1500 D500 D500-15C0 15C0 D5C0 D5C0 ................
E00951F0: 1680 1680 D680 D680-1740 1740 D740 D740 .........@.@.@.@
E0095200: 1800 1800 D800 D800-18C0 18C0 D8C0 D8C0 ................
E0095210: 1980 1980 D980 D980-1A40 1A40 DA40 DA40 .........@.@.@.@
E0095220: 1B00 1B00 DB00 DB00-1BC0 1BC0 DBC0 DBC0 ................
E0095230: 1C80 1C80 DC80 DC80-1D40 1D40 DD40 DD40 .........@.@.@.@
E0095240: 1E00 1E00 DE00 DE00-1EC0 1EC0 DEC0 DEC0 ................
E0095250: 1F80 1F80 DF80 DF80-2040 2040 E040 E040 ........ @ @.@.@@
E0095260: 2100 2100 E100 E100-21C0 21C0 E1C0 E1C0 !.!.....!.!.....
E0095270: 2280 2280 E280 E280-2340 2340 E340 E340 ".".....#@#@.@.@
E0095280: 2400 2400 E400 E400-24C0 24C0 E4C0 E4C0 $.$.....$.$.....
E0095290: 2580 2580 E580 E580-2640 2640 E640 E640 %.%.....&@&@.@.@
E00952A0: 2700 2700 E700 E700-27C0 27C0 E7C0 E7C0 '.'.....'.'.....
E00952B0: 2880 2880 E880 E880-2940 2940 E940 E940 (.(.....)@)@.@.@
E00952C0: 2A00 2A00 EA00 EA00-2AC0 2AC0 EAC0 EAC0 *.*.....*.*.....
E00952D0: 2B80 2B80 EB80 EB80-2C40 2C40 EC40 EC40 +.+.....,@,@.@.@
E00952E0: 2D00 2D00 ED00 ED00-2DC0 2DC0 EDC0 EDC0 -.-.....-.-.....
E00952F0: 2E80 2E80 EE80 EE80-2F40 2F40 EF40 EF40 ......../@/@.@.@
// SI Routing Entries
// TX Routing
E0081000: 013C 013C 013C 013C-013C 013C 013C 013C .<.<.<.<.<.<.<.<
E0081010: 013C 013C 013C 013C-013C 013C 013C 013C .<.<.<.<.<.<.<.<
E0081020: 013C 013C 013C 013C-013C 013C 013C 013C .<.<.<.<.<.<.<.<
E0081030: 013C 013C 013C 013C-013C 013C 013C 013C .<.<.<.<.<.<.<.<
E0081040: 013C 013C 013C 013C-013C 013C 013C 013C .<.<.<.<.<.<.<.<
E0081050: 013C 013C 013C 013C-013C 013C 013C 013C .<.<.<.<.<.<.<.<
E0081060: 013C 013C 013C 013C-013C 013C 013C 013C .<.<.<.<.<.<.<.<
E0081070: 013C 013C 013C 013C-013C 013C 013C 013D .<.<.<.<.<.<.<.=
// RX Routing
E0081400: 013C 013C 013C 013C-013C 013C 013C 013C .<.<.<.<.<.<.<.<
E0081410: 013C 013C 013C 013C-013C 013C 013C 013C .<.<.<.<.<.<.<.<
E0081420: 013C 013C 013C 013C-013C 013C 013C 013C .<.<.<.<.<.<.<.<
E0081430: 013C 013C 013C 013C-013C 013C 013C 013C .<.<.<.<.<.<.<.<
E0081440: 013C 013C 013C 013C-013C 013C 013C 013C .<.<.<.<.<.<.<.<
E0081450: 013C 013C 013C 013C-013C 013C 013C 013C .<.<.<.<.<.<.<.<
E0081460: 013C 013C 013C 013C-013C 013C 013C 013C .<.<.<.<.<.<.<.<
E0081470: 013C 013C 013C 013C-013C 013C 013C 013D .<.<.<.<.<.<.<.=
// MU RAM Routing Entries
// Rx Routing
E0094B00: 0007 0017 0027 0037-0047 0057 0067 0077 .....'.7.G.W.g.w
E0094B10: 0087 0097 00A7 00B7-00C7 00D7 00E7 00F7 ................
E0094B20: 0107 0117 0127 0137-0147 0157 0167 0177 .....'.7.G.W.g.w
E0094B30: 0187 0197 01A7 01B7-01C7 01D7 01E7 01F7 ................
E0094B40: 0207 0217 0227 0237-0247 0257 0267 0277 .....'.7.G.W.g.w
E0094B50: 0287 0297 02A7 02B7-02C7 02D7 02E7 02F7 ................
E0094B60: 0307 0317 0327 0337-0347 0357 0367 0377 .....'.7.G.W.g.w
E0094B70: 0387 0397 03A7 03B7-03C7 03D7 03E7 83F7 ................
// Tx Routing
E0094D00: 0007 0017 0027 0037-0047 0057 0067 0077 .....'.7.G.W.g.w
E0094D10: 0087 0097 00A7 00B7-00C7 00D7 00E7 00F7 ................
E0094D20: 0107 0117 0127 0137-0147 0157 0167 0177 .....'.7.G.W.g.w
E0094D30: 0187 0197 01A7 01B7-01C7 01D7 01E7 01F7 ................
E0094D40: 0207 0217 0227 0237-0247 0257 0267 0277 .....'.7.G.W.g.w
E0094D50: 0287 0297 02A7 02B7-02C7 02D7 02E7 02F7 ................
E0094D60: 0307 0317 0327 0337-0347 0357 0367 0377 .....'.7.G.W.g.w
E0094D70: 0387 0397 03A7 03B7-03C7 03D7 03E7 83F7 ................
XL
> I think you mean P1020 does not support MCC through hardware.
I wrote that P1020 does not support UMCC, because it does not have QUICC Engine (i.e. there is not any UCC). May be I am wrong but I had checked 2 manuals: P1020 QorIQ Integrated Processor Reference Manual, Rev. 6 (does not mention the QE at all) and QUICC Engine Block Reference Manual with Protocol Interworking, Rev. 9 (does not mention the P1020 in the UMCC chapter). Here P1020/P1011 block diagram from the P1020 nxp page
There is not the QE. Please let me know document which says that the P1020 has UCC and supports UMCC.
Maybe you are right. I was told that the processor is P1020. However, the documentation I use is for P1021. I thought they are similar products with minor differences. Sorry about the confusions I made.
Please treat my questions in the context of P1021.
Thanks
XL
I have not found any erratum or problem report which limits UMCC on the P1012/P1021 to 32 channels. I believe it can support 64 channels.
>if I change 32 to 64
I do not see in your answer what you have changed really. According to the UCC memory structure 32-channels case can be subset of 64 channels case. You already have working 32-channels case. Let make global parameters pointers and memory structure set as for 64-channels and only the LST bits in the SI Routing Entries and MU RAM Routing Entries are set for the 32-channels. Did you try to check 32-channels in this way?
I prefer look for some test case against dump checking by eyes. Because I can easily make mistake in the dump like that. By the way, may be I wrong but rows
E00940A0: 00004CFE 00004D50-0000001F 00000287 //UMCCTxRoutingTblBase, UMCCTxRoutingEntryPtr
E00940C0: 00004AFE 00004B3E-00000000 00000000 //UMCCRxRoutingTblBase, UMCCRxRoutingEntryPtr
E0094D00: 0007 0017 0027 0037-0047 0057 0067 0077 // Tx Routing Base = 4D00
E0094B00: 0007 0017 0027 0037-0047 0057 0067 0077 // Rx Routing Base = 4B00
do not look just initiated. Does it mean that the UMCC transmitted 40 channels, received 39 and hang?