ADC Problem in MQX Example for Kwikstik

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

ADC Problem in MQX Example for Kwikstik

ソリューションへジャンプ
1,349件の閲覧回数
alexdev83
Contributor II

 

Hi. I'm using Codewarrior 10.1 with the lastest update, MQX 3.7 and

Kwikstik Patch. (I have a Kwikstik REV 4)


I'm trying to use the MQX example relative to ADC converter, but it not work correctly. The various printf in the example doesn't work.

If I make a Debug, it blocks after a printf (where I set a breakpoint). Exactly in io_read.c in this part of the code.

#if MQX_CHECK_ERRORS
if (dev_ptr->IO_READ == NULL) {
file_ptr->ERROR = MQX_IO_OPERATION_NOT_AVAILABLE;
return(IO_ERROR);
} /* Endif */
#endif

Can you give me a solution?

 

Thanks

0 件の賞賛
返信
1 解決策
1,003件の閲覧回数
alexdev83
Contributor II

Hi. I have already resolved this problem, commenting out line 75 of "fio.h" and recompiling PSP and BSP.

 

Happy Critsmas! :smileyhappy:

 



元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,003件の閲覧回数
c0170
Senior Contributor III

Hi alexdev83,

 

i would like to help you, but i might miss some details. It is hard to understand what you are having difficulties with.

What's your user_config and are u playing with ADC example for kwikstik or you modified it ?

0 件の賞賛
返信
1,004件の閲覧回数
alexdev83
Contributor II

Hi. I have already resolved this problem, commenting out line 75 of "fio.h" and recompiling PSP and BSP.

 

Happy Critsmas! :smileyhappy:

 



0 件の賞賛
返信