hi
there is no FRDM-K64Z but only FRDM-K64F
you can get source code from KDSK install folder
C:\Freescale\KSDK_1.2.0\examples\frdmk64f\demo_apps
here is KSDK 1.2.0 download link:
Software Development Kit for Kinetis MCUs|Freescale
does this answer your question?
Have a great day,
Zhang Jun
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thanks Jun
I assume that you understand that KDS is new to me.
Your attached doc is helpful it and was needed to me month
ago when I started KDS.
I’m using Freescale docs and a lot of Erich “MCU on Eclipse”
I’m wasting a lot of time doing “Googling” search.
My recommendation is to prepare for unexperienced users like
me a document with collection of: How to manuals, Demos, Application notes … etc.
It will include abstract for each item and location where to find it.
My problem now is to use OpenOSD (onFRDM-K64Z board) as a UART
with RX from keyboard and TX to console (not semihosting).
I want it with Processor Expert and KSDK , I thought that “shell_test”
demo in QSP is good place to start.
Do you have other solution?
Have a nice day,
Shaul
can you please check if this document can help you.
How to use printf() to print string to Console and UART in KDS
If this post answers your question, please click the Correct Answer button. Thank you!
Have a great day,
Zhang Jun
Yes I’m familiar with this post.
Alice solve two TX options:
In my opinion what is missing in this post is the RX option (reception from keyboard).
Based on RX user will have a possibility to selected different activities.
May be this is the best way to solve my problem but I don’t know how to do this
Thanks
Shaul
I think this link should include the answer you need.
If this post answers your question, please click the Correct Answer button. Thank you!
Have a great day,
Zhang Jun
Sorry this link doesn’t help.
Different board (Tower TWR-60) & different tool chain (CW)
The first printf( “ ***** Test ******\n”) to TeraTerm
Then gets(str) does’t work and OpenOCD lose control
Hello,
Maybe this post could help you Writing my first KSDK Application in KDS - Hello World and GPIO Interrupt, it explains how to create a baremetal project from scratch that uses the printf function.
Best regards,
Earl.
hi
please check if this answers your questions:
printf() and scanf() with GNU ARM Libraries | MCU on Eclipse
Have a great day,
Zhang Jun
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hello Zhang;
Thanks
Yes I’m familiar to Erich excellent posts.
This is exactly what I want to implement.
Especially with this post and my little experience I have seen problems that I can’t explain to myself.
I have to two main difficulties: one is test program and the second is project building with the tools.
Test program
The #include definition in the Test program are not clear to me:
#include "Application.h" // ?
#include
void APP_Run(void) {
int value;
char buffer[64];
for(;;) {
printf("Hello world!\r\n");
printf("Please enter a name:\n\r");
scanf("%s", buffer);
printf(" I have received: '%s'\r\n", buffer);
printf("Please enter a number:\r\n");
scanf("%i", &value);
printf(" I have received: '%i'\r\n", value);
}
}
Project Generation:
The post refers to KDS beta tools, I’m using KDS3.0, I do not know if my problems associate them to tools or I’m doing something wrong.
My assumption is that the project is generated with PE enabled and without KSDK?
Using FRDM-K64F Device is selected from Board option, but only 1200 baud is accepted.
Using FRDM-KL25Z Device has to be selected from Processor option (why)?
In generated code I don’t see bugs that are mentioned in the post
I don’t know if the bugs in “generated code” still exist in the new tools version?
After this long story I think that the Test issue is my main problem.
I wrote simple printf and scanf test. I start debug using PEmicro.
The step by step printf is outputting to console, but scanf failed and I don’t know where is the debugger.
B.R
Shaul
hi
there is no FRDM-K64Z but only FRDM-K64F
you can get source code from KDSK install folder
C:\Freescale\KSDK_1.2.0\examples\frdmk64f\demo_apps
here is KSDK 1.2.0 download link:
Software Development Kit for Kinetis MCUs|Freescale
does this answer your question?
Have a great day,
Zhang Jun
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thanks;
Strange in my installation I have only fourteen examples and in yours there are sixteen.
I’m specially interest in UART implementation with RX and TX implementations something equivalent to “shell_test” demo in QSP.
I prefer to have it implemented with KDS3.0 with KSDK1.2 , I don’t want to deal with tool versions compatibilities.
Tanks again
Shaul Dorf
hi
yours screenshot is correct. the redundant her_hello_world and my_hello_word is were created by myself for testing purpose.
I also recommend you this document regarding KDS v3.0 and and KSDK v1.2.0 customized project.
How to start customized KSDK project based on KSDK demo code
can this help you?
Have a great day,
Zhang Jun
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------