Problems accessing GPIO via cspddk lib

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Problems accessing GPIO via cspddk lib

ソリューションへジャンプ
1,070件の閲覧回数
SteM
Contributor III

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?

ラベル(2)
0 件の賞賛
返信
1 解決策
756件の閲覧回数
king_jin
NXP Employee
NXP Employee

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.

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
757件の閲覧回数
king_jin
NXP Employee
NXP Employee

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.

0 件の賞賛
返信