Simulink Real Time target with softing CAN-AC2-PCI card

Hi everyone,
I am working with a CAN card (CAN-AC2-PCI by Softing) plugged to PCI 1, more precisely the BIOS(Core Version: 4.6.5.3 0.18.x64) by American Megatrends. I want to use the Simulink Real Time target environment, but when trying to download the Simulink model to Target PC, I get the following error:
-------------------------------------------------------------------------------- downloading CAN-AC2-PCI firmware on board 1 -->error in CANPC_reset_board_mbx:ErrorCode:-1 Error Text --------------------------------------------------------------------------------
Could someone help with this issue?
More info:
CAN Card => Model: Softing CAN-AC2-PCI Matlab => R2014a Compiler => MICROSOFT Visual Studio 2010
Thanks in advance!

6 Comments

That indicates an issue while downloading the CAN firmware to the CAN card. What is the result of executing this at the MATLAB prompt?
getxpcpci('all')
Thanks for your comments. The result is listed,and can device(bus 3, slot 0, irq10) is shown in the final lines. I tried with board 3 , but failed again.
List of installed PCI devices:
Intel Unknown
Bus 0, Slot 0, IRQ 0
Host Bridge
VendorID 0x8086, DeviceID 0x0150, SubVendorID 0x8086, SubDeviceID 0x0150
Intel Unknown
Bus 0, Slot 2, IRQ 10
VGA Controller
VendorID 0x8086, DeviceID 0x0162, SubVendorID 0x8086, SubDeviceID 0x2111
Intel Unknown
Bus 0, Slot 20, IRQ 10
Serial Bus Contoller
VendorID 0x8086, DeviceID 0x1e31, SubVendorID 0x8086, SubDeviceID 0x1e31
Intel Unknown
Bus 0, Slot 22, IRQ 10
Communications Controller
VendorID 0x8086, DeviceID 0x1e3a, SubVendorID 0x8086, SubDeviceID 0x1e3a
Intel Unknown
Bus 0, Slot 25, IRQ 10
Ethernet Controller
VendorID 0x8086, DeviceID 0x1502, SubVendorID 0x8086, SubDeviceID 0x0000
Intel Unknown
Bus 0, Slot 26, IRQ 10
Serial Bus Contoller
VendorID 0x8086, DeviceID 0x1e2d, SubVendorID 0x8086, SubDeviceID 0x1e2d
Intel Unknown
Bus 0, Slot 27, IRQ 5
Multimedia Controller
VendorID 0x8086, DeviceID 0x1e20, SubVendorID 0x8086, SubDeviceID 0x1e20
Intel Unknown
Bus 0, Slot 28, IRQ 10
PCI-to-PCI Bridge
VendorID 0x8086, DeviceID 0x1e10, SubVendorID 0x0000, SubDeviceID 0x0000
Intel Unknown
Bus 0, Slot 29, IRQ 5
Serial Bus Contoller
VendorID 0x8086, DeviceID 0x1e26, SubVendorID 0x8086, SubDeviceID 0x1e26
Intel Unknown
Bus 0, Slot 30, IRQ 255
PCI-to-PCI Bridge
VendorID 0x8086, DeviceID 0x244e, SubVendorID 0x0000, SubDeviceID 0x0000
Intel Unknown
Bus 0, Slot 31, IRQ 0
ISA Bridge
VendorID 0x8086, DeviceID 0x1e47, SubVendorID 0x8086, SubDeviceID 0x1e47
Intel Unknown
Bus 2, Slot 0, IRQ 10
Ethernet Controller
VendorID 0x8086, DeviceID 0x150c, SubVendorID 0x8086, SubDeviceID 0x0000
Softing CAN-AC2-PCI
Bus 3, Slot 0, IRQ 10
CAN
VendorID 0x10b5, DeviceID 0x9050, SubVendorID 0x14a0, SubDeviceID 0x0007
Released in: R14SP2 or Earlier Notes: 2 independent channels
This requires the model to debug. Please contact MathWorks tech support with the above getxpcpci results and the model so that we can help you out efficiently.
Thank you very much. I have found the strange phenomenon: When I download the application with CAN, the errors comes as the above indications and the application can not start by the "slrtxplr" on the Matlab Prompt, or the real-time kernal would halt. There is only one option, that application starts sucefully with CAN by the control command of "start" within the real-time kernal. I don't know why.
Hi Ruigen did your issue get resolved? I am having the same issue so I thought to ask. Also, were you able to achieve CAN communication through your model? I too get the ErrorCode message and I am able to start the application through the start command within the real time kernel. However, before execution, the ErrorCode message still appears so I was wondering if the interfacing was correct or not and whether CAN communication was actually possible
I am facing the same problem with my IXXAT CAN pci card, did you make any progress? I think it has something to do with SJA1000 CAN controller being recognized as supported even though card itself is not (only Softing CAN-AC2-PCI cards ar officially supported). I would really appreciate if you could share any successful or unsuccessful attempts you made in the past few days.
Thank you in advance...

Sign in to comment.

Answers (0)

Categories

Asked:

on 23 Jul 2014

Commented:

X D
on 9 Mar 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!