Hi,
I am new to codewarrior 10.6 and trying the demo code "emeter demo".
1) i want to know the time to execute a loop.I tried as per the "profile and trace guide.pdf".But it is reporting error.
please help to solve this.How to include sa_mtb.c in an existing project.
2) I want to use 16x2 LCD and nead delay loops in micro and milliseconds with respect to CPU frequency.Please
help me how to configure.
3) Is there any method to convert a project made for MKL series into MKM series.As the projects were looking totaly different.
Thanks/regards,
K.Venkatavaradhan
Hello ,
1) What about the steps? Or how to reproduce your error ?
You can directly add the file you used.
2) You can use one timer to create the delay function.
3)I recommend you create one new project about your KM chip,then copy the applicaiont
code from the KL to KM .
Hope it helps
ALice
Hi,
Thank you for your reply.I tried it.But still the error comes.I attached the screen shot.
Hello Venkat,
So have you rebuild your project ?
And also i recommend you one DOC about the usage of Trace on CW :
https://mcuoneclipse.com/2013/01/13/debugging-arm-cortex-m0-hard-fault-with-mtb-trace/
Hope it helps
Alice
Hello Alice,
Thanks for your support.
I rebuild the project and click the "debug" command.It show the report as below.Pls Help me to solve this.
Also i want to know the way to reduce the reponse time of volatge and current readings(currently too slow) in this project.
Where to find the meterlib.c?.
Thanks/regards,
K.Venkatavaradhan
Hello Venkat ,
Please check the .ld file whether mtb_buf is added to the m_data section.
Also check whether the project includes the file of "sa_mtb.c"
You can also create one simple project , then test this function ,
if it still have error , you can send the project to me .
BR
Alice