Assembly Language Programming: Difference between revisions

From Class Wiki
Jump to navigation Jump to search
Line 34: Line 34:
*[http://www.ti.com/lit/an/slaa294a/slaa294a.pdf MSP430 Software Coding Techniques (best practices for low power consumption)]
*[http://www.ti.com/lit/an/slaa294a/slaa294a.pdf MSP430 Software Coding Techniques (best practices for low power consumption)]
*[http://ece382.com/ ECE382, a good self learning site for the MSP430]
*[http://ece382.com/ ECE382, a good self learning site for the MSP430]
*[http://inflab.et.fh-duesseldorf.de/mitarbeiter/TdT/MSP430_LaunchPad_Workshop_v2.21.pdf Launchpad Workshop]
*[http://www.ece.utep.edu/courses/web3376/Notes_files/ee3376-assembly.pdf A good PowerPoint presentation from University of Texa, El Paso, EE3376]
*[http://www.ece.utep.edu/courses/web3376/Notes_files/ee3376-assembly.pdf A good PowerPoint presentation from University of Texa, El Paso, EE3376]
*[http://processors.wiki.ti.com/index.php/MSP430_LaunchPad_PushButton Using Port Pin Interrupts]
*[http://processors.wiki.ti.com/index.php/MSP430_LaunchPad_PushButton Using Port Pin Interrupts]

Revision as of 16:41, 9 July 2015

Useful Links for the Assembly Language Programming Class

ARM7 Links

Raspberry Pi

Depending on the version, your pi may use ARM6 or ARM7. There is actually quite a lot of good assembly language information for programming the raspberry pi.

TI MSP430 Links

Toolchain

  • Code Composer Studio 6 for MSP430 User's Guide At this point CCS will work with Linux and Windows, but is not available for OS X.
  • Assembly Language Tools This manual also has some good data on the linker, including the section "Using Linker Symbols in C/C++ Applications".
  • MSP430 Optimizing C/C++ Compiler (See Section 6.5 and following for how to mix C/C++ and Assembly. It is really best to read the entire chapter though, as it is all pertinent to mixing C and Assembly. It will also help you if you want to program in C, as it tells how the C compiler uses the memory, the stack, the registers, etc., and once you understand the processor as you learn to do when you learn its assembly language, it is very interesting to see how that all works in C.)
  • TI Cloud Tools This includes CCS Cloud which allows you to compile and flash, but not debug. This is a partial solution to the problem that Code Composer Studio is not available natively on OS X.
  • OS X Native Toolchain Installer
GCC Compiler

Evaluation Board Data

CC3100 SimpleLink Wi-Fi Family

Robot Information

  • HSR-1425CR Continuous Rotation Servo Datasheet
  • Schematics These are rather crude schematics of the robot circuit board. There are two cuts and jumps that are not reflected, at least on the last one. The effect is to change the photo transistors from a common emitter to a common collector configuration. You can see the change scratched in just below the word Fairchild on the hand drawn schematic. Basically the resistor and photo transistor are reversed in order. I believe both photo transistors are swapped to common collector configuration.