View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001631 | FSS5PV210 | CAN | public | 2013-03-14 14:57 | 2013-03-26 15:15 |
Reporter | zutter | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Product Version | V1.02 | ||||
Target Version | V1.04 | Fixed in Version | V1.04 | ||
Summary | 0001631: Using two can CID2: may have mal function | ||||
Description | Dear Mr. Zutter, After some more work with new NetDCU14 CPU, we detect another problem with CAN ports. The issue is that we used some C++ code in our projects (copied from older documentation of F&S for the older CPUs like netDCU8 and netDCU10), and it works fine on these models. But now, on NetDCU14 seems not to work any more. The code is very simple, its only open a can port (CID2) in C and try to use it for writing CAN messages, using your can.cpp provided: This is the header of can.cpp we use in project for your information: /***************************************************************************/ /***************************************************************************/ /** **/ /** F&S Elektronik Systeme GmbH **/ /** **/ /** Project: intern **/ /** Filename: CAN.cpp **/ /** Author: Christian Zutter **/ /** Release: 0.0 **/ /** **/ /** History **/ /** Date Author Modification **/ /** -------------------------------------------------------------------**/ /** 11.01.05 C. Zutter first edition **/ /** **/ /***************************************************************************/ /***************************************************************************/ And then our code is something like this: BYTE b108[8]={1,2,3,4,5,6,7,8}; CCAN cCAN; if(!cCAN.Init(_T("CID2:"),500000)) return 0; CANMSG cm108; cm108.byDatalength=8; memcpy(cm108.byContent,b108,8); cm108.dwIdentifier=0x108; cCAN.Write(&cm108); ….. This code is very simple and its working on NetDCU10 with no problems, but not in NetDC14. You know what can happens? My feeling is that NetDCU14 CAN driver is not really the same, so these C functions does not work, but we need some like this for the new CPU, any suggestion? Related to this issue, I’d like to ask too if there is any new version of your wrapper “Canport.dll” we buy some years ago, we used version 1.0.2897.27253 , must be used another for new CPU when programming CAN in C# code? | ||||
Found Driver Version | |||||
Fixed Driver Version | |||||
Forum Link | |||||