Jump to content
43oh

Getting started with MSP430F5529


Recommended Posts

I recently purchased an evaluation kit and followed the instructions to get started, but I've been unable to get any results other than seeing the 'Hello World' or rocket ASCII diagram.

 

Since I use Linux most of the time, I installed Energia on Linux Mint 18. After installation I followed the instructions to open a terminal and enter " ./energia & " The menu I got wasn't the same as the one shown in the documentation. Mine shows 'Serial Monitor' and 'Serial Plotter.' I chose 'Serial Monitor' but it didn't have the same options shown on the documentation. I continued following the instructions. The 'blink' sketch was on the screen, and the instructions said to compile it, which I did. I received an error message that 'Board at /dev/ttyACM0 is not available' probably because the serial option couldn't be selected.

 

On my terminal screen I had a message: "error: MSP430: Error initializing emulator: One of the connected MSP-FETs / eZ-FETs debuggers needs recovery. Select 'Recover' to start the recovery process. Note: Only one MSP-FET / eZ-FET debugger can be connected to your system during recovery."

 

I couldn't find any 'Recovery' option on the Energia menu. After spending several hours attempting to find more documentation about using the MSP430F5529 and searching the 43oh forums, I found a response which indicated Windows had more support than Linux.

 

So I downloaded the latest version of Energia on Windows 7, installed it, and again followed the instructions. When I click on energia.exe, I get a message from Windows saying the provider of the software is unknown, do I want to run it? When I click on 'yes' I get an Energia window which comes up for a couple seconds, then disappears, leaving my screen looking like it did before I attempted to run Energia. Being unable to run Energia, I'm at a dead end.

 

Unless someone can help me out, I'm stuck with an evaluation kit which can only put 'Hello World' and an ASCII picture of a rocket on my screen.

 

Thanks in advance for any assistance you can provide.

 

 

 

 

Link to post
Share on other sites

Hi @@fritzk9,

regarding your Linux tries, have you installed and "activated" the udev rules for your board as explained on energia.nu?

What shows the dmesg after connecting the board to the Linux box? If I connect my Launchpad I see

[327268.534687] usb 1-2: new full-speed USB device number 3 using xhci_hcd
[327268.741651] usb 1-2: New USB device found, idVendor=0451, idProduct=f432
[327268.741654] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[327268.741655] usb 1-2: Product: Texas Instruments MSP-FET430UIF
[327268.741656] usb 1-2: Manufacturer: Texas Instruments
[327268.741657] usb 1-2: SerialNumber: 58FF426C50063918
[327268.741782] usb 1-2: ep 0x82 - rounding interval to 1024 microframes, ep desc says 2040 microframes
[327269.100143] cdc_acm 1-2:1.0: No union descriptor, testing for castrated device
[327269.100145] usbcore: registered new interface driver usbhid
[327269.100146] usbhid: USB HID core driver
[327269.100185] cdc_acm 1-2:1.0: ttyACM0: USB ACM device
[327269.101187] usbcore: registered new interface driver cdc_acm
[327269.101188] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters

From this message I can see my Launchpad is seen as ttyACM0 by the system. Is the serial port I'll choose in Energia.

 

If all the above points are OK, you may try to include your user in the dialout group. It is the group "owning" the serial devices, maybe it helps. It should something like

sudo usermod -a -G dialout yourUserName
Link to post
Share on other sites

I believe I followed the instructions on Energia.nu correctly.

When I plug in my MSP430F5529 LaunchPad Evaluation Kit, my dmesg shows:

 

[  641.196695] usb 2-1.6.1: new full-speed USB device number 5 using ehci-pci
[  641.294192] usb 2-1.6.1: New USB device found, idVendor=2047, idProduct=03fe
[  641.294199] usb 2-1.6.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  641.294203] usb 2-1.6.1: Product: MSC and HID Example
[  641.294207] usb 2-1.6.1: Manufacturer: Texas Instruments
[  641.294210] usb 2-1.6.1: SerialNumber: E7A918471E002400
[  641.295849] usb-storage 2-1.6.1:1.0: USB Mass Storage device detected
[  641.296511] scsi host7: usb-storage 2-1.6.1:1.0
[  641.299348] input: Texas Instruments MSC and HID Example as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6.1/2-1.6.1:1.1/0003:2047:03FE.0003/input/input18
[  641.353058] hid-generic 0003:2047:03FE.0003: input,hidraw2: USB HID v1.01 Keyboard [Texas Instruments MSC and HID Example] on usb-0000:00:1d.0-1.6.1/input1
[  641.552654] usb 2-1.6.2: new full-speed USB device number 6 using ehci-pci
[  641.647340] usb 2-1.6.2: New USB device found, idVendor=2047, idProduct=0203
[  641.647346] usb 2-1.6.2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[  641.649701] hid-generic 0003:2047:0203.0004: hiddev0,hidraw3: USB HID v1.01 Device [HID 2047:0203] on usb-0000:00:1d.0-1.6.2/input0
[  642.298455] scsi 7:0:0:0: Direct-Access     TI       MSC              v3.0 PQ: 0 ANSI: 2
[  642.299160] sd 7:0:0:0: Attached scsi generic sg7 type 0
[  642.300677] sd 7:0:0:0: [sdg] 163 512-byte logical blocks: (83.5 kB/81.5 KiB)
[  642.301971] sd 7:0:0:0: [sdg] Write Protect is off
[  642.301978] sd 7:0:0:0: [sdg] Mode Sense: 03 00 00 00
[  642.303080] sd 7:0:0:0: [sdg] No Caching mode page found
[  642.303085] sd 7:0:0:0: [sdg] Assuming drive cache: write through
[  642.327060]  sdg:
[  642.331468] sd 7:0:0:0: [sdg] Attached SCSI removable disk
 

Link to post
Share on other sites

Sorry to hear you are having difficulty with your installation.  Can't speak much to Linux as I have only done one install and haven't used it much, but it does work.  However, on Windows 7 I have installed multiple versions of Energia and CCS successfully.  One thing that can trip up installations of Energia on Windows is to use long path names, spaces or special characters in the path name.  Best to install it to the root of C: under a folder "energia". 

 

Also, when comparing to Zilog C, Code Composer Studio (CCS) would be the TI C compiler/development environment that would be a full IDE.  CCS is now downloadable at no charge.  Energia, however, is a fork of the Arduino platform and not a full fledged development platform. 

Link to post
Share on other sites

Thanks to all of you who've attempted helping me. I've considered trying Code Composer Studio, but from what I've read, the CCS debugger uses TCP/IP port 55000 for communication, and my MSP430F5529 LaunchPad Evaluation Kit uses a USB link to communicate between the PC and the evaluation kit. Can anyone confirm that the CCS debugger will work on the MSP430F5529?

Link to post
Share on other sites

Hm, it seems to me that your Launchpad is seen as HID & mass storage device, not as a CDC/Serial one. I don't know how it works, sorry.

Correct, the 5529LP is seen as an HID & mass storage device with the installed firmware.

 

@fritzk9 It works well with CCS; with some tweaking it will also compile and load the smaller examples with IAR Kickstart. you should be able to do with it what you need. You will want to download slau533c.pdf to better understand the board, its software, etc. Its onboard USB offers significantly different, powerful options over the other MSP430 devices. I've been working with several of the F5529 boards from TI for the last year. If you need USB, it's very handy.  If you don't, then it's probably overkill. If you do install CCS, look for the USB Developer's Library for a Java-based PC-MSP interface and code examples.  The source is all available and provides a reasonable starting point for developing USB MSP apps without resorting to other vendors for the USB connectivity.  HTH

 

Bob

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...