Application doesn.t run on FRDM-K22F

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

Application doesn.t run on FRDM-K22F

898件の閲覧回数
Stachu
Contributor I

Hi,

I use KDS 3.2.0 and FRDM-K22F. I create a new project and choose board
FRDM-K22F. Now I add to the project 3 BitIO components, set them as outputs
with initial value '1' and select required pins to control RGB LEDs.
Then, I generate Processor Expert code, compile it and flash the device.
Everything is OK, when I press the reset button, LEDs are ON and when I release
it LEDs go OFF. Everything as expected.

Now, I create a new project and choose processor instead of board (MK22FN512VLH12)
and I treate the board as my own custom project. I select maximal clock frequencys
(core 120MHz) and all the rest I do exactly as above. Unfortunately LEDs are always ON.

What am I missing?

0 件の賞賛
返信
2 返答(返信)

888件の閲覧回数
ErichStyger
Specialist I

Have you looked into it with the debugger and checked that way that the program does what you want?

0 件の賞賛
返信

872件の閲覧回数
Stachu
Contributor I

Hi Erich,

No, I didn't . There is no single line of my own code. In both cases there is only Processor Expert code.

int main(void)
{
PE_low_level_init();
#ifdef PEX_RTOS_START
PEX_RTOS_START();
#endif
for(;;){}
}

Rgds, Stachu

 

0 件の賞賛
返信