Hi there, iMX51 + WEC700.
I need to drive a GPIO pin up and down just for debug and i guess the simplest way is to use cspddk lib.
I added the include files and lib and when i compile the application i have no errors.
When I run the application i receive a message: 'Impossible to import CSPDDK.dll' and in the debug log i see:
PID:00EA0122 TID:0C4F005A ERROR: c:\wince700\platform\common\src\soc\common_fsl_v3\cspddk\ddk_sdmav2\ddk_sdmav2.c line 1188:
PID:00EA0122 TID:0C4F005A MmMapIoSpace failed!
PID:00EA0122 TID:0C4F005A ERROR: c:\wince700\platform\common\src\soc\mx51_fsl_v3\cspddk\dll\cspddk.c line 107:
PID:00EA0122 TID:0C4F005A SdmaAlloc failed!
Any idea?
解決済! 解決策の投稿を見る。
Cspddk.dll is kernel dll, user mode application has no permission to access its APIs.
You can write a new driver which can be used to communicate with application by device ioctl, then let this driver call the APIs in cspddk.dll.
Cspddk.dll is kernel dll, user mode application has no permission to access its APIs.
You can write a new driver which can be used to communicate with application by device ioctl, then let this driver call the APIs in cspddk.dll.