Difference between revisions of "2 Kilowatt DC Motor Controller"

From Lofaro Lab Wiki
Jump to: navigation, search
(Instructions on how to flash the MCU)
 
(Flashing the MCU)
Line 1: Line 1:
  
== Flashing the MCU ==
+
== Introduction ==
You can flash and debug the MCU using any JTAG programmer / debugger supported by Code Composer Studio. If you do not already have a JTAG probe, consider using the TI TM4C123 Launchpad development board, which doubles as a JTAG probe. To do so, you must first solder a JTAG header to the Launchpad and connect the pins as described in [http://www.ti.com/lit/an/spma075/spma075.pdf Using TM4C Devices Over JTAG]. Additionally, you will need to buy an adapter to go from the 2.54mm pitch header of the Launchpad to the 1.27mm pitch of the 10-pin ARM JTAG connector on the motor controller. The [https://www.olimex.com/Products/ARM/JTAG/ARM-JTAG-20-10/ Olimex 20-pin to 10-pin JTAG adapter] is convenient for this purpose.
+
fsdflkjsdf
 +
sdf
  
[[File:Jtag-probe.jpg|640px]]
+
== Design Files ==
  
Once you have the JTAG probe hooked up, open up the project in Code Composer Studio. Check that the settings in the "target_config.ccxml" file match the JTAG probe you are using. If using a Launchpad, you must select "Stellaris In-Circuit Debug Interface", as shown below.
+
link to github here
  
[[File:Ccs-target config.png|640px]]
+
== Instructions ==
 +
* [[Building the Motor Controller]]
  
Once this is done, build the project by clicking the 'hammer icon, and then flash the MCU by clicking the 'debug' icon:
+
* [[Flashing the MCU]]
  
[[File:Ccs-build-flash.png|640px]]
+
* [[Using the Python CLI]]

Revision as of 19:19, 2 December 2017

Introduction

fsdflkjsdf sdf

Design Files

link to github here

Instructions