Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 0xbff62002 (CanErrDriver); An internal error occurred in the NI-CAN driver

Fast 2 question: what is this? whitch produce this?
 
Application log has this:
------------------------------
 
05-09-2005 13:37:13:156 :     : CAN1: CAN Network Interface Object has resed
05-09-2005 13:37:14:062 :     : CAN1: CAN Network Interface Object has configured
05-09-2005 13:37:14:078 :     : CAN1::STD0x575: CAN Object has configured
05-09-2005 13:37:14:078 :     : CAN1::STD0x300: CAN Object has configured
05-09-2005 13:37:14:078 :     : CAN1::STD0x381: CAN Object has configured
05-09-2005 13:37:14:078 :     : CAN1::STD0x402: CAN Object has configured
05-09-2005 13:37:14:093 :     : CAN1::STD0x3b5: CAN Object has configured
05-09-2005 13:37:14:093 :     : CAN1::STD0x403: CAN Object has configured
05-09-2005 13:37:14:093 :     : CAN1::STD0x4b9: CAN Object has configured
05-09-2005 13:37:14:109 :     : CAN1::STD0x404: CAN Object has configured
05-09-2005 13:37:14:109 :     : CAN1::STD0x4bd: CAN Object has configured
05-09-2005 13:37:14:109 :     : CAN1::STD0x405: CAN Object has configured
05-09-2005 13:37:14:125 :     : CAN1: CAN Network Interface Object has opened
05-09-2005 13:37:14:140 :     : CAN1::STD0x575: CAN Object has opened
05-09-2005 13:37:14:140 :     : CAN1::STD0x4b9: CAN Object has opened
05-09-2005 13:37:14:156 :     : CAN1::STD0x404: CAN Object has opened
05-09-2005 13:37:24:234 :  *  : CAN function "ncReadMult()" called into "Can::ReadObject()" failds for "CAN1::STD0x4b9":
 
Error 0xbff62002 (CanErrDriver); An internal error occurred in the NI-CAN driver.  A description is located in the file NicanErr.txt in your Windows folder.  Solutions:  Email or fax the NicanErr.txt file to National Instruments for technical support.
 
NicanErr.txt has this:
--------------------------
 
[INDEX_31]
Local_Time= 09/05/2005 13:37:14.140
Err_Status= Status:0xb0910002-Location:0x30000000-Internal:0x00910000
Function= ncReadMult-CAN0::STD0X402
[INDEX_32]
Local_Time= 09/05/2005 13:37:24.234
Err_Status= Status:0xb1040002-Location:0x30000000-Internal:0x01040000
Function= ncReadMult-CAN1::STD0X4B9
 
 
0 Kudos
Message 1 of 12
(8,594 Views)
Hi,

could you post the rest of the NicanErr.txt file? Especially the top 19 lines are important in order to find out what the snippet you posted means.

-B2k
0 Kudos
Message 2 of 12
(8,595 Views)

Yes... thank's for your help. This is all of the nicanerr.txt that this forum can explain:
Service_Pack=Service Pack 4 (Build 2195)

[DRIVER_VERSION_SECTION]
NICAN.DLL_VERSION=2.2.0.300f
NICANFRM.DLL_VERSION=2.2.0.3040
DRIVERS\NICANPK.DLL_VERSION=2.2.0.3045
NICANPU.DLL_VERSION=2.2.0.300a
NICANTSK.DLL_VERSION=2.2.0.3021
NICANCFQ.DLL_VERSION=2.2.0.3000
NCVI.DLL_VERSION=2.2.0.300e
NICAN_S1.NFW_VERSION=20200000
NICAN_S2.NFW_VERSION=20200000

[CURRENT_SECTION]
Section_Index=0

[INDEX_9]
Local_Time= 09/05/2005 13:37:14.078
Err_Status= Status:0xb0910002-Location:0x30000000-Internal:0x00910000
Function= ncReadMult-CAN0::STD0X381
[INDEX_10]
Local_Time= 09/05/2005 13:37:14.078
Err_Status= Status:0xb0910002-Location:0x30000000-Internal:0x00910000
Function= ncReadMult-CAN0::STD0X402
[INDEX_11]
Local_Time= 09/05/2005 13:37:14.078
Err_Status= Status:0xb0910002-Location:0x30000000-Internal:0x00910000
Function= ncReadMult-CAN0::STD0X381
[INDEX_12]
Local_Time= 09/05/2005 13:37:14.093
Err_Status= Status:0xb0910002-Location:0x30000000-Internal:0x00910000
Function= ncReadMult-CAN0::STD0X402
[INDEX_13]
Local_Time= 09/05/2005 13:37:14.093
Err_Status= Status:0xb0910002-Location:0x30000000-Internal:0x00910000
Function= ncReadMult-CAN0::STD0X381
[INDEX_14]
Local_Time= 09/05/2005 13:37:14.093
Err_Status= Status:0xb0910002-Location:0x30000000-Internal:0x00910000
Function= ncReadMult-CAN0::STD0X402
[INDEX_15]
Local_Time= 09/05/2005 13:37:14.093
Err_Status= Status:0xb0910002-Location:0x30000000-Internal:0x00910000
Function= ncReadMult-CAN0::STD0X381
[INDEX_16]
Local_Time= 09/05/2005 13:37:14.093
Err_Status= Status:0xb0910002-Location:0x30000000-Internal:0x00910000
Function= ncReadMult-CAN0::STD0X402
[INDEX_17]
Local_Time= 09/05/2005 13:37:14.093
Err_Status= Status:0xb0910002-Location:0x30000000-Internal:0x00910000
Function= ncReadMult-CAN0::STD0X381
[INDEX_18]
Local_Time= 09/05/2005 13:37:14.093
Err_Status= Status:0xb0910002-Location:0x30000000-Internal:0x00910000
Function= ncReadMult-CAN0::STD0X402
[INDEX_19]
Local_Time= 09/05/2005 13:37:14.109
Err_Status= Status:0xb0910002-Location:0x30000000-Internal:0x00910000
Function= ncReadMult-CAN0::STD0X381
[INDEX_20]
Local_Time= 09/05/2005 13:37:14.109
Err_Status= Status:0xb0910002-Location:0x30000000-Internal:0x00910000
Function= ncReadMult-CAN0::STD0X402
[INDEX_21]
Local_Time= 09/05/2005 13:37:14.109
Err_Status= Status:0xb0910002-Location:0x30000000-Internal:0x00910000
Function= ncReadMult-CAN0::STD0X381
[INDEX_22]
Local_Time= 09/05/2005 13:37:14.109
Err_Status= Status:0xb0910002-Location:0x30000000-Internal:0x00910000
Function= ncReadMult-CAN0::STD0X402
[INDEX_23]
Local_Time= 09/05/2005 13:37:14.109
Err_Status= Status:0xb0910002-Location:0x30000000-Internal:0x00910000
Function= ncReadMult-CAN0::STD0X381
[INDEX_24]
Local_Time= 09/05/2005 13:37:14.109
Err_Status= Status:0xb0910002-Location:0x30000000-Internal:0x00910000
Function= ncReadMult-CAN0::STD0X402
[INDEX_25]
Local_Time= 09/05/2005 13:37:14.125
Err_Status= Status:0xb0910002-Location:0x30000000-Internal:0x00910000
Function= ncReadMult-CAN0::STD0X381
[INDEX_26]
Local_Time= 09/05/2005 13:37:14.125
Err_Status= Status:0xb0910002-Location:0x30000000-Internal:0x00910000
Function= ncReadMult-CAN0::STD0X402
[INDEX_27]
Local_Time= 09/05/2005 13:37:14.125
Err_Status= Status:0xb0910002-Location:0x30000000-Internal:0x00910000
Function= ncReadMult-CAN0::STD0X381
[INDEX_28]
Local_Time= 09/05/2005 13:37:14.140
Err_Status= Status:0xb0910002-Location:0x30000000-Internal:0x00910000
Function= ncReadMult-CAN0::STD0X402
[INDEX_29]
Local_Time= 09/05/2005 13:37:14.140
Err_Status= Status:0xb0910002-Location:0x30000000-Internal:0x00910000
Function= ncReadMult-CAN0::STD0X381
[INDEX_30]
Local_Time= 09/05/2005 13:37:14.140
Err_Status= Status:0xb0910002-Location:0x30000000-Internal:0x00910000
Function= ncReadMult-CAN0::STD0X402
[INDEX_31]
Local_Time= 09/05/2005 13:37:14.140
Err_Status= Status:0xb0910002-Location:0x30000000-Internal:0x00910000
Function= ncReadMult-CAN0::STD0X402
[INDEX_32]
Local_Time= 09/05/2005 13:37:24.234
Err_Status= Status:0xb1040002-Location:0x30000000-Internal:0x01040000
Function= ncReadMult-CAN1::STD0X4B9

0 Kudos
Message 3 of 12
(8,592 Views)
 

Hi,

I noticed that you're using NI-CAN 2.2. Could you install NI-CAN 2.3 and see if that resolves the problem?

-B2k

 
0 Kudos
Message 4 of 12
(8,590 Views)
Downloading...
 
Tomorrow i will update and explain about...
 
:))
 
 
 
0 Kudos
Message 5 of 12
(8,588 Views)

Hi,

the problem persist. Perhaps, it's the same problem as the other forum: "network or object configuration is missing" because analizing logs from NICAN spy and from my application, this errors always occurs when the two applications are working simultaniusly. I have 2 programs, one use first port and the other the second port.

Thank's, Alex

0 Kudos
Message 6 of 12
(8,561 Views)
Hi Alexandre,

I have a few questions:
  1. What of CAN hardware are you using? If it is Series 1 PCMCIA-CAN hardware, could you give me the serial number of that (those) board(s)?
  2. Can you (temporarily) eliminate the any call to the ncReset() function? Does that eliminate the internal error?
  3. Could you delete the existing NicanErr.txt file and run the code again? I’d like to see if the internal error is actually identical to the one that was reported with NI-CAN 2.2.
Salut, B2k.
0 Kudos
Message 7 of 12
(8,532 Views)

Hi !

1. I'm using: CCA,PCI CAN, Series 2, DUAL PORT 9 PIN DSUB, REV C

2. I eliminate all call to the ncReset() call, buf the problem persist.

3. I send to you more and interesant logs. This examples are maked without card, only with the driver 2.3 installed into my notebook and without any call to ncReset.

 

a) Capture0.spy:

- The applications works blocking the calls to the driver, the calls to the dll does in sequence, not simultaniusly.

- The two calls to ncConfig() return the same error.

- The errors are correct errors because i don't have any card installed.

- The duration is above 1 second.

 

b) Capture1.spy (Is NOK)

- The applications works without blocking the calls to the driver, the calls to the dll does simultaniusly.

- The two calls to ncConfig() don't return the same error.

- The first error is correct error because i don't have any card installed, the second error is an internal error.

- The duration is too longer, there are time to take a coffy.

 

My question now (to my seft)  is... which any precaution i will to take programing multithread applications that uses a 2 port cards? It's necessary to block all call to the driver? why the driver don't does this for him self?

 

I agree very much your interest.  

Alexandre

))

 

Mensaje editado por 6pm

Mensaje editado por 6pm

0 Kudos
Message 8 of 12
(8,529 Views)
Hi Alexandre,

I don’t believe that the internal error of your second spy log is related the one you’re experiencing with your application. That internal error occurs because the two ncConfig() calls to the non-existent CAN card occur so close together (while the first call returns the non-existent CAN card error, the second call tries to access the card which causes this error).

With your application not using the ncReset() calls anymore, could you create another Spy log that shows the internal error occurring?

Salut, B2k
0 Kudos
Message 9 of 12
(8,499 Views)

Hi biker,

i have diferents internal errors when two applications are running without blocking calls to "nican.dll". With this action (to block calls) all the errors are fixed. I upload an example. Without call "ncReset()" the error of configuration is missing was fixed too.

 

Now i have all problems fixed and the application is running 24x7 since one week.

 

Salutacions, Alexandre

0 Kudos
Message 10 of 12
(8,494 Views)