Subversion Repositories f9daq

Rev

Rev 9 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9 Rev 11
Line 97... Line 97...
97
 
97
 
98
        error = VMEwrite(handle, start, accessWidth, 1, &w);
98
        error = VMEwrite(handle, start, accessWidth, 1, &w);
99
        if (error)
99
        if (error)
100
        {
100
        {
101
            dwErrorCount++;
101
            dwErrorCount++;
102
            printf("%s : Can't write @ adr: 0x%08x (%s)\n", cszPrgName, start, strerror(error));
102
            printf("%s : Can't write @ adr: 0x%08x  AM 0x%0x %d(%s)\n", cszPrgName, start, accessWidth,error, strerror(error));
103
        }
103
        }
104
        else
104
        else
105
        {
105
        {
106
            error = VMEread(handle, start, accessWidth, 1, &r);
106
            error = VMEread(handle, start, accessWidth, 1, &r);
107
            if (error)
107
            if (error)
Line 226... Line 226...
226
    error = VMEopen(fname, bAddressModifier, &handle);
226
    error = VMEopen(fname, bAddressModifier, &handle);
227
    if (error)
227
    if (error)
228
    {
228
    {
229
        printf("%s : Can't open path to %s! (%s)\n", cszPrgName, fname, strerror(error));
229
        printf("%s : Can't open path to %s! (%s)\n", cszPrgName, fname, strerror(error));
230
        exit(error);
230
        exit(error);
231
    }
231
    }
232
 
232
 
233
    //-----------------------------------------------------------------------------------
233
    //-----------------------------------------------------------------------------------
234
    // loop until error
234
    // loop until error
235
    error = SimpleRamTest(handle, dwStartAddress, dwLength, bAccessWidth);
235
    error = SimpleRamTest(handle, dwStartAddress, dwLength, bAccessWidth);
236
    if (error)
236
    if (error)