Jump to content
43oh

MSP430Andy

Members
  • Content Count

    26
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by MSP430Andy

  1. From the TI CCS Cloud FAQ ... Which devices and boards are supported? A: Support for more boards is continually being added. Currently the following LaunchPads are supported: "MSP-EXP432P401R", MSP-EXP430G2, MSP-EXP430FR5969 and MSP-EXP430F5529LP. Q: Is there any debug functionality? A: Currently the only debug functionality provided is printf() via UART. I was hoping, at least, to use the Launchpad debugger on Energia.
  2. Cannot import Energia v15 sketch into CCS I have installed the latest "whole" CCS download from TI - CCS version 6.1.0.00104 I have also installed the latest Energia Version 0101E0015. (Platform: PC/Windows 8.1/64 bit) Under CCS "file"/ "import"/ "Energia sketch or example" the device target dropdown does not show the MSP432 or the board dropdown does not show "launchpad" MSP-EXP432P401R (48 MHZ)? Any help is appreciated
  3. Read page 26 of Launchpad 5969 user manual. The 5969 is only 2k SRAM device. The calculation shows more than 2k for the 128x128 display. Now if only Energia could dynamically partition or allocate this device's FRAM?
  4. Got any Energia demo code for The Terminal using the 2553? ;-)
  5. @@grahamf72 the library file format from the zip file folders are not in the proper Arduino/Energia file/folder format? aka examples files and header files... running the test files fails compile due to Energia not finding the header files? I am using ver 10 on windows /xp/sp3 on a 2553
  6. I am using Zipgenius and on each folder extract requires a password? I will try another unzipper.
  7. Here is my updated Command Line Interface with parameters. (Beta) :ugeek: /*********************************************************************************/ /*! THIS SOFTWARE IS PROVIDED BY THE THE HOLDERS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
  8. Hardware and Software Application Notes Using the Command Line Interface: The "Poor Mans Command Line" interface is a simple shell that can be run on an MSP430G2553. It's nothing fancy and its main purpose is to allow users to easily call their functions on a running MSP430G2553 via a simple serial terminal. It also allows users to pass in arguments from the command line into the functions they wrote so they can easily toggle pins, set blinking speed, set pwm duty cycles, or whatever else might need command line user input. For software, you'll need to use a serial terminal progra
  9. Breaking news ... The Poor Man's Command Line Shell WITH PARAMETERS is now in beta testing! The format will be comma separated variables with the last character being the command. Typing in 123,100,25,a will execute case/switch 'a' command with buf[0}, = 123, buf[1] = 100 and buf[2] = 25. Up the 12 character parameters can be entered. (0-255) Having the ability to communicate serially to the "2553" and setting up internal parameters in protected flash will alter the operation of the microcontroller without using the development IDE to re-program the chip. Your application
  10. Oops... I forgot to include my example code snippets for reading, writing, and clearing protected flash segment D for my RFM12B ISM RF node setup configuration parameters. Enjoy /*********************************************************************************/ /*! THIS SOFTWARE IS PROVIDED BY THE THE HOLDERS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE FOR ANY DIR
  11. The "2553" with 16 K of flash provides plenty for extra program space in flash memory but TI should try to increase the size of RAM from 512 bytes to 2K. :ugeek:
  12. WARNING ... After importing the project into your workspace, do the following FIRST. Click on the main.cfg file (GRACE) to edit and wait ... wait until all processing is done! (see bottom right progress bar). After you can see the GRACE overview screen then rebuild the project. This would stop any compile problems with the project files. Project compiles best with CCS v 4.1. Poor_Mans_Command_Line_Shell.zip
  13. Why did I call this program a Poor Man's Command Line Shell? :?: Using the case/switch command only allows one command (char letter) per menu selection to run the user defined code snippet. There is also a "Rich Man's Command Line Shell" that can be seen by the following link tutorial: http://freaklabs.org/index.php/Tutorials/Software/Tutorial-Using-CmdArduino.html From this tutorial, a user can type in a pre-defined function name with parameter(s) at the command prompt. For instance, PWM 50 would tell the microcontroller to output PWM at 50%. The user function would then pars
  14. I needed to serially input data in my "2553" LaunchPad using the hardware Uart. I hacked together some code which has Printf(), a receive ring buffer, Uart routines, and the case/switch Poor Man's Command Line Shell. You need to criss-cross the tx/rx on the LP header and use the terminal program in CCS 4.1. Please Note: CCS 5 does not have the terminal program installed ! :evil: Note: GRACE was used to setup the USCI_A0 hw UART at 9600 8 N 1 Enjoy Edited. 1/27/12 Ti took out the terminal program in CCS v 5 but you can add it back into the software. http://processors.wiki
  15. Newbee Question - How to save precious MSP430 RAM? :?: I have a lots of long text strings to output on the 2553 using printf. I need to know how to easily store / retrieve the text strings in program flash? (Not protected flash - seg. a-d) :?: Note: The long text strings are fixed. No changes will needed to them. I have search every place, even the TI forum, to no avail. and using text in a variable depletes RAM very quickly. :x Note: In the Arduino there was the PROGMEM command.
  16. @alvarop I am an MSP430 newbee, so in layman's terms can you explain your receive callback function? There are SPI code in the functions. :?: Also, how do you use the following functions in an application?: uart_write_escaped() hex_to_string()
  17. Bitlash was ported to an ATtiny85, sometime ago, but I cannot find this reduced Bitlash source code. Any board user ever seen this CLI?
  18. Thanks ... I am looking for just calling functions but your flow control uBasic @ 600 bytes is interesting. How much Ram memory does it take?
  19. I am trying to hack or piece together code for a low resource CLI on the 2553. My application is to turn a 2553 into a "RF ISM Basic Stamp" (MSPNode = 2553 + RFM12B) The MSP430G2553 has a hardware UART that can be easily configured. Unlike the Arduino, it is lacking an interrupt receive "ring buffer" and printf embedded routines. Note: Due to Opossum latest released of Tiny Printf() for the MSP430 - scratch one module. Note: There is also Tiny Printf() with sprintf. Link: http://www.sparetimelabs.com/tinyprintf/index.html Note: For a ring buffer - I am leaning to Rick Kimball'
  20. Another alternative, to keep this LaunchPad mod very simple, is to use 2 female 0.025 square breadboard jumpers.
  21. You should really think about going to the MSP430G2553. It is the top of the TI's "value line" series and has a hardware UART, hardware SPI (for speed) 16K flash and 512 bytes. For $2.80 it can't be beat for price/performance.
  22. Paul, to save some time, here is the protocol for the MSPNode based on the JeeNode. MSPNode_JeeNode_Protocol_R2.pdf
  23. Paul goto the JeeLabs website and find the topic that has over 3800 hits. There is code examples, boards and plenty of valuable information using the MSP430 with the RFM12B. Hope this helps.
  24. Thanks, but I found a similar product by Hope RF. The RFM12B for about $6. Also, I would like to note that Hope RF is a packager of RF ICs. The RFM12B is really a Silicon Labs RF chip eg Si4420. So using the RFM70 you need to go to the "source" for the docs. There is a person on this board eg SimpleAVR, which made a spectrum analyzer using the RFM12B, he also ported a complete, MSP430Gx library for this RFM12B using the JeeNode protocol. The JeeNode protocol/library has been around for several years of testing. It has a enum TX & RX mode states with interrupt driven RX & Tx for a 1
×
×
  • Create New...