Run built program on Terminal without Kinetis Design Studio

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Run built program on Terminal without Kinetis Design Studio

Jump to solution
803 Views
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 Kudos
Reply
1 Solution
780 Views
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.
-------------------------------------------------------------------------------

View solution in original post

0 Kudos
Reply
3 Replies
797 Views
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 Kudos
Reply
788 Views
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 Kudos
Reply
781 Views
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 Kudos
Reply