Hi,
I am new in microcontroller programming. I am using MK64N1M0VLL12 microcontroller in my project. I have to communicate RS 485 with PC or other devices, however, I couldn't find any RS485 example code. How can i write a program? I searched in web, but I didn't.
Could you help me urgently?
Hi Iva,
Thank you for help. I debugged code. However, I don't understand why it didn't work when I run firstly?
Best regards,
mehmet
Hi Mehmet.
The reasons could be following:
- A file does not exist any more or is under a different path. That is something I have to fix in the project.
- I have imported a project from another place.
- I have changed the IDE and now it has a path to the libraries.
- I have generated new/different source files with Processor Expert.
For more details please see https://mcuoneclipse.com/2012/03/12/no-rule-to-make-target/
I hope this helps.
Best Regards,
Iva
Hi Iva,
I am using Kinetis Design Studio 3.0.0 IDE. I had run example "Hello World". however , ı need a uart interrupt sample code. I found a SDK 2.0 FRDM K64F for uart interrupt, but it doesn't work. I have this fault " make: *** No rule to make target `C:/Users/makin/Desktop/SDK_2.0_FRDM-K64F/boards/frdmk64f/driver_examples/uart/interrupt/uart_interrupt.c', needed by `source/uart_interrupt.o" for debug.
I have no problem import demo in KDS.
Thank you, best regards.
Have a nice day
Mehmet
Hi Mehmet.
I tested on my side without problems.
No rule to make target means that the make cannot find the files.
Please, can you clean your project and build it again? right click on your project -> Clean Project
Please let me know, if this helps you.
Thank you.
Best Regards,
Iva
Sorry ivadorazinova, ı wrote your name by mistake.
Hi ivadorazinova,
Thank you for example interrupt code. But, I have a problem, when i debug sample code, i am taking this failure
" make: *** No rule to make target `C:/Users/makin/Desktop/SDK_2.0_FRDM-K64F/boards/frdmk64f/driver_examples/uart/interrupt/uart_interrupt.c', needed by `source/uart_interrupt.o'.
make: Target `all' not remade because of errors."
I don't understand what problem is. Could you help me ?
Hi Mehmet,
please see the thread related to your question:
Can i communicate rs485 via UART with FRDM-k64F?
I hope this helps you.
Best Regards,
Iva