-
Notifications
You must be signed in to change notification settings - Fork 22
beekit
- A. Check for FTDI drivers
- B. Install Beekit
- C. Install IAR
- get activation code
- D. Build a test example
- E. Erase the econotag
- F. Program the econotag with TestTool
The Econotag contains a two channel USB to general purpose controller chip --- the FTDI FT2232H. You will probably need to install the FTDI driver for this controller.
Navigate to "Usiversal Serial Bus contollers and expand it. You should see "USB Serial Converter A" and "USB Serial Converter B". If you do, double click one of those. It should indicate that the manufacturer is FTDI.
Additionally, if you remove the econotag, these two devices should disappear.
If you do not have these, proceed to step A.3. "Install the FTDI driver"
Follow the directions at http://www.ftdichip.com/Drivers/D2XX.htm
BeeKit is a code framework generator and hardware library provided from Freescale. It generates skeleton code and an IAR workspace that you can then use as the base for your projects.
Download and install it here.
You will need a Freescale account to download Beekit.
Follow the directions under "Getting Started". The most important step is selecting your Codebase. You can select any of the ARM7 codebases.
You'll have to read the Freescale docs to understand the differences between: BeeStack, BeeStack Consumer, MAC, SMAC, and SynkroRF.
Each code base has different examples.
For the remainder of this example, select codebase "ARM7 SMAC"
Go to File -> New Project. You will see a list of projects to generate.
We will select "Generic Application"
This will export a "Solution" (a directory that will contain the example code with an IAR workbench).
Choose MC13224 over MC13226 when prompted. Choose User Defined target when asked for what hardware you are building for.
NOTE: these steps have simply configured BeeKit with information but nothing useful has actually happend yet!
To create the code, you need to now export your solution.
Go to Solution -> Export and Open Solution in IAR EWB.
This will generate the code you configured in set 2. and launch IAR with a preconfigured build environment.
Step 3. should have launched the IAR IDE. Here you can build and edit your code.
On the upper right should be a green play button. This should build your code and create a .out file in the "Output" directory.
Your econotag must be erased to load code on to is with Freescale TestTool.
To erase an econotag, short JP16 (perhaps with a pair of tweezers). While shorted, press the reset button. Wait 2 seconds. Remove the tweezers and press reset again.
The econotag is now erased and ready for new code.
Select the firmware to load at option 2. Browse to your .out file.
Use Coarse Tune: 1b
Fine Tune: 7
It's probably the second one.
Test tool will prompt you to press the reset button. Do so. You should see messages and the progress bar go to conclusion. When you press reset the econotag will now be running your code.
- Overview
- OpenOCD for windows
- GDB for windows
- Using JTAG with IAR debugger
© 2013 Mariano Alvira. Distributed under the GNU FDL v1.3 <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-9770084-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script>