Hi! I am using codewarrior for device MC9RS08LA8RM(CFT) and I have set up via processor expert to generate an interrupt when timer overflows.
Here are settings and code
http://s21.postimg.org/akegljq3b/1_10_2016a.jpg
http://s27.postimg.org/op6cp5d7n/1_10_2016b.jpg
http://s10.postimg.org/j783m8t4p/1_10_2016c.jpg
It seems that there isn't any ISR at main.c file. When I debug no interrupt occurs to send program execution to ISR. but since ISR doesn't exist it stays at for loop. That's what it seems.
thanks
Solved! Go to Solution.
Hi Alexandros,
Your project is using Device Initialization feature.
This feature is not generated code as Processor Expert but only intialization of the perhipheral which is defined in the MCUinit.c and .h files
Processor Expert includes some function to manage the peripheral.
Some information extracted of help:
To access this help, please click on Help Tab on Device Initialization Component.
If you need more generated code, you need to select Processor Expert instead of Device Initialization.
Another option is to not use these features too.
There are examples in the folder \CodeWarrior for Microcontrollers V6.3\(CodeWarrior_Examples)\RS08\Assembly Examples\
Have a great day,
Pascal
NXP Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Ok see these images:
Where do I find header files for TimerInt project?
Hi Alexandros,
Your project is using Device Initialization feature.
This feature is not generated code as Processor Expert but only intialization of the perhipheral which is defined in the MCUinit.c and .h files
Processor Expert includes some function to manage the peripheral.
Some information extracted of help:
To access this help, please click on Help Tab on Device Initialization Component.
If you need more generated code, you need to select Processor Expert instead of Device Initialization.
Another option is to not use these features too.
There are examples in the folder \CodeWarrior for Microcontrollers V6.3\(CodeWarrior_Examples)\RS08\Assembly Examples\
Have a great day,
Pascal
NXP Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Alexandros,
In addition to Alice comments.
You're using CW for MCU V6.X which is a classic version.
Processor Expert is included and some examples too.
Please have a look to the folder:
\CodeWarrior for Microcontrollers V6.3\ProcessorExpert\Projects\Test projects
You will find an example for each feature beans listed in the folder.
This example can be converted to the processor you're using.
To do that you just need to add a new processor and to select it.
Hope this will help.
Have a great day,
Pascal
NXP Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hello,
Sorry , your pictures are so small that i can not see them clearly.
And what about the version of CW ?
BR
Alice