chipKIT® Development Platform

Inspired by Arduino™

Exporting hex from mpide

Created Sat, 15 Oct 2011 01:52:17 +0000 by house91320


house91320

Sat, 15 Oct 2011 01:52:17 +0000

How do I export hex from the mpide?


lloyddean

Sat, 15 Oct 2011 02:26:23 +0000

Hobbiest here.

Not aware of a way from the IDE but you may be aware that if you hold down the Shift key when you do a compile you'll get some extra output showing the tools used, temp-file locations and files generated for the compile.

As long as the IDE is up and running the temp directory and generated files will exist. So from the command line 'cd' to the temp directory where an 'ls' (UNIX/LINUX) or DIR (Windows) will give you a list of files generated, including the '.hex' file.

Have fun!


house91320

Sat, 15 Oct 2011 04:23:46 +0000

Is there a doc on how to use the mplabx but retain the arduino language?


lloyddean

Sat, 15 Oct 2011 04:39:54 +0000

Wiring, the Arduino language, is C++ based and unfortunately MPLAB X, or any version of MPLAB, does not do C++.


house91320

Sat, 15 Oct 2011 05:07:18 +0000

is there a way in the mp ide to program through a pickit2?


KeithV

Sat, 15 Oct 2011 16:23:40 +0000

You miight want to check out the form topic:

A newer and easier way to debug chipKIT MPIDE sketches from MPLAB.

I think this is a link to the topic:

 http://www.chipkit.org/forum/viewtopic.php?f=6&t=473

And yes, if you hit shift+verify, one of the outputs will be a .hex file and you can go to the temporary directory and get that .hex file.