Run built program on Terminal without Kinetis Design Studio

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Run built program on Terminal without Kinetis Design Studio

跳至解决方案
679 次查看
itr1718
Contributor III

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?

0 项奖励
回复
1 解答
656 次查看
nxf56274
NXP Employee
NXP Employee

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.
-------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
3 回复数
673 次查看
nxf56274
NXP Employee
NXP Employee

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.
-------------------------------------------------------------------------------

0 项奖励
回复
664 次查看
itr1718
Contributor III

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?

0 项奖励
回复
657 次查看
nxf56274
NXP Employee
NXP Employee

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.
-------------------------------------------------------------------------------

0 项奖励
回复