Once I have developed my application using my Kinetis based FRDM board, how do I use it standalone?

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

Once I have developed my application using my Kinetis based FRDM board, how do I use it standalone?

718 Views
rnk2014
Contributor II

This may be a newbie-level question so I apologize for putting it out there in advance.

I have been working on a simple application using my new FRDM-K22F module.  I would like to make this a standalone application which incorporates the FRDM-K22F module that would be connected to a second I/O board.  As I've used the IDE it is clear that it is only intended for development and not for actual usage, and I have not come across anything within it that suggests that it can create a standalone application.

How would a developer go about doing that?  Can the IDE create SREC's that can be flashed into the boards resident flash?  I've looked around on the web and I cannot find anything that suggests there is a standalone role for the FRDM modules?  Is the .elf file what executes, and if so, how do you link it and fix it into memory to start when you power on the board.  Am I missing something here?

Rich

0 Kudos
Reply
2 Replies

556 Views
rnk2014
Contributor II

Thanks Mark - I'll check those things out.

Rich

0 Kudos
Reply

556 Views
mjbcswitzerland
Specialist V

Hi Rich

The FRDM boards (with OpenSDA) are very suitable for standalone applications since you can load binary files to them using the OpenSDA's USB-MSD loader, which appears as a hard drive.

There are many projects where the FRDM boards are used together with a shield to become a complete product.

See µTasker Kinetis FRDM-K22F support

The IDEs can generate binary, hex, srec etc.(some support many formats and others only one or two). If you use KDS it can select one of serveral outputs but you can also add a post-buid step that calls a bat file to use GCC objcopy to generate whatever alternative format you may require.

eg.

arm-none-eabi-objcopy  --output-target=binary myProject.elf myProject.bin

[alternatives --output-target=srec, --output-target=ihex etc.]

KDS:
pastedImage_2.png   pastedImage_3.png

Regards

Mark

µTasker Kinetis support

0 Kudos
Reply