Hello guys,
I am using MKL27Z256 mcu without processor expert. I programmed a code to detect gas concentration and printed values on console from KDS. But I want to advance running this code without KDS program after build. For example, I do not have KDS on other PC, but I have just files which is already built. I want to run just the code and check my values.
I know some terminal programs such as Hyper terminal, teraterm and putty. But I have not a experience between micro controller and terminal programs.
Is there some method to run codes on terminal with KDS?
What do I need for that?
已解决! 转到解答。
Hi,
Software jlink can be used to download bin file. The IDE can generate the hex or bin file. You can configure it to generate bin file. Then your mcu data will output to the pc by mcu serial. The putty is a serial tool. This can't be used to download the program. You can refer this link Jlink usage
It shows you a basic step to download the file.
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 days after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Hi,
KDS is used to download and debug the mcu. If you do not need the kds and you also want to download the program, you need 2 tools. Make sure you board has the jlink connector and you have the jlink emulator. Use software jlink to download the program and other serial software like putty to see the results.
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 days after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Thanks a lot for your answer.
Do you mean, when I have J-link USB connector and did already programming with J-link library or programs, can I show results from MCU on Serial program without kinetis design studio?
Are there some examples or a name about that?
Can I also run the code with .hex or .elf file on terminal?
Hi,
Software jlink can be used to download bin file. The IDE can generate the hex or bin file. You can configure it to generate bin file. Then your mcu data will output to the pc by mcu serial. The putty is a serial tool. This can't be used to download the program. You can refer this link Jlink usage
It shows you a basic step to download the file.
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 days after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------