Which compiler is used for codewarrior 10.7 and where can I get the manual ?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Which compiler is used for codewarrior 10.7 and where can I get the manual ?

1,403 Views
kyuwonjeong
Contributor II

Pleas help me.. I'm beginner for the Codewarrior..

Tags (1)
0 Kudos
8 Replies

1,049 Views
kyuwonjeong
Contributor II

Hi Alice

I'm studying using examples...

I'm using TWR-K70F120M kit and Codewarrior V10.7 and TWR-SER is connected to Hyperterminal on another PC.

I succeeded on several processor expert examples such as CRC, RNG, etc...

However for the RTC example I have tried it for several days but I can not make it and I don't know what the problem is.

Here I attached  the pictures; one of Codewarrior workspace and the other is the captured screen of the Hyperterminal.

It is suspended forever at the line in the main()
  while(!alarmTrig);

So, I think the rtc component does not  work.

rtc_codewarrior.JPG

RTC.JPG

Sorry I cannot the zipped file here.

Thank you for our help..

0 Kudos

1,049 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Kyuwon,

I test the RTC demo on my side, it can work well :

pastedImage_1.png

Please waiting some seconds, and do not step over to debug it , directly use "Resume" button.

  Also you can disconnect the debugger ,then  press reset button to have a try.

Hope it helps,


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

1,049 Views
kyuwonjeong
Contributor II

Dear Alice_Yang;

Thank yoy for your reply...

I tested my system again using fully reinstalled Codewarrior and import example project..

However this situation is same..

I waited for about 5 minute after the message "Waiting for alarm ..", but "Alarm triggered !" not came out.

So, I stopped it, then resume at the line: AlarmTriggered();

At the time, I got the message which showed the same time as the setting time; 10/19/2010 17:37:50.

I attached the captured image here.

As you recommend, I did unplug the usb cable from TWR-MK70 board, then pressed the reset button.

But it is not fixed.

 

So, I think there is no software problem but its time to check the hardware.

Can you recommend how to check whether the RTC is working ?

 I mean the jumper setting or how to hook an oscilloscope to test points.

And, when build the program I got three warnings..

RTCoutput.JPG 

I have tried again the project from a blank scratch.

from "New MCU project" not  "import example project".. then add components same as the example.

After that I did "generate" and examine the generated code.

There are rtc.h and rtc.c, However, there are no code for "RTC1_SetAlarm()"  and "RTC1_GetAlarm" .

There are only three functions; RTC1_Init(), RTC1_GetTime(), RTC1_SetTime()

What happened to my CW 10.7 Standard package ?

Does the project needs MQX RTOS ?

0 Kudos

1,049 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello  Kyuwon,

- I just use the TWR-K70 board without  TWR-SER, please have a look at my attached picture for jumper setting:

pastedImage_1.jpg

-  Please choose "Advanced" in RTC_LDD component inspector , you will see SetAlarm and GetAlarm functions:

pastedImage_2.png

- This has nothing with MQX.

Hope it helps,


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

1,049 Views
kyuwonjeong
Contributor II

Dear Alice Yang;

Thank you for your reply...

I checked every jumper and disassem and unplug my tower system..

As you can see in the attached photos, the jumpers are same as yours. and instead TWR-SER board I used PuTTy  now.

However the problem is same as before. not fixed.

I have already spent much time on this project and very much depressed..

20180808_180329.jpg

 

20180808_180341.jpg

20180808_180409.jpg

I'm sorry there is Moire pattern in the photos..

I hope something good answer..

Bye..

0 Kudos

1,049 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Kyuwon Jeong,

Which product ? Different mcu use different compilers.

You can find it on "Compiler":

pastedImage_1.png

And manuls are under CW installer with "Compiler" name:

pastedImage_2.png

Hope it helps,


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

1,049 Views
kyuwonjeong
Contributor II

Thank you for your answer..

Actually I have TWR-K70F120M kit and Codewarrior V10.7.

The Quick Start Demo is with IAR IDE. But, I need example demo projet like Quick Start Demo, which can be used with Codewarrior.

Unfortuantely I cannot find such Demo projects.

0 Kudos

1,049 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Helklo Kyuwon,

There are some demos under CW installer :

pastedImage_1.png

pastedImage_2.png

Also when if you create project withe Processor Expert  , add component (for example UART, ADC...),

there is demos under "help on component -> typical usage".

pastedImage_3.png

Hope it helps,


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------