0 Replies Latest reply on Oct 31, 2011 11:42 AM by wbrozas

    RCCE app FV hangs

    wbrozas

      I am trying to use the example code RCCE_FV.c and it hangs every time. RCCE_Fdiv.c seems to work though.

       

      rck32: Requested fdiv: 4, actual fdiv, vlevel: 4, 0
      rck28: Requested fdiv: 4, actual fdiv, vlevel: 4, 0
      rck04: Requested fdiv: 4, actual fdiv, vlevel: 4, 0
      rck08: Requested fdiv: 4, actual fdiv, vlevel: 4, 0
      rck00: Requested fdiv: 4, actual fdiv, vlevel: 4, 0
      [1] 13:31:52 [FAILURE] rck21 Exited with error code 139
      [2] 13:31:56 [FAILURE] rck08 Exited with error code 139
      [3] 13:31:57 [FAILURE] rck16 Exited with error code 139
      [4] 13:31:58 [FAILURE] rck37 Exited with error code 139

       

      This is the end of the output before I send a ctrl-c

       

      If I do a sccBmc -c status, i see the output below

       

      Tertiary supplies:
        OPVR VCC0: 0.7180 V
        OPVR VCC1: 0.7279 V
        OPVR VCC2: 1.0830 V
        OPVR VCC3: 0.7322 V
        OPVR VCC4: 0.7338 V
        OPVR VCC5: 0.7012 V
        OPVR VCC7: 0.7127 V

       

       

       

      Here is the code for RCCE_FV.c

       

      #include "RCCE.h"
      #include <stdio.h>

       

      void print_dividers(void);

       

      int RCCE_APP(int argc, char **argv){

       

        RCCE_REQUEST req;
        int fdiv, fdiv_in, vlevel, ID;

       

        RCCE_init(&argc, &argv);

       

        if (argc==2) fdiv_in=atoi(*++argv);
        else return(0);

       

        ID = RCCE_ue();

       

        if (ID==RCCE_power_domain_master()) {
          if(RCCE_iset_power(fdiv_in, &req, &fdiv, &vlevel)) {
            printf("UE %d failed ISET_POWER %d\n", ID, fdiv_in);
            fflush(NULL);
          }
          else {
            printf("Requested fdiv: %d, actual fdiv, vlevel: %d, %d\n",
                   fdiv_in, fdiv, vlevel);
            fflush(NULL);
          }
          if (RCCE_wait_power(&req)) {
            printf("UE %d failed WAIT_POWER %d\n", ID, fdiv_in);
            fflush(NULL);
          }
        }

       

        RCCE_barrier(&RCCE_COMM_WORLD);

       

        if (ID==0)print_dividers();
        RCCE_finalize();

       

        return(0);
      }