Stellaris (ARM Cortex-M3)

lwIP TCP Server on LM3S8962

This TCP server is setup for Stellaris series (LM3S8962) from TI. The TCP/IP stack is lwIP shipped with enet_io app in StellarisWare.

tcp port connectivity test

First create and add a C file “tcp_server.c” at “..\StellarisWare\third_party\lwip-1.3.2\apps\tcpserver” folder. Include the prototype in enet_io.c file.

//*****************************************************************************
//
// External Application references.
//
//*****************************************************************************
extern void httpd_init(void);
extern void tcp_server_init(void);

In the main function, call the tcp_server_init() function.
(continue reading…)

Share

Getting Started with Stellaris Microcontrollers

Stellaris is micro-controller series by TI. It was first introduced by LuminaryMicro, an independent company which was later acquired by TI. It was the first Cortex-M3 based MCU offering which caught-up the attention. Here is a brief tutorial to get started and creating the very first project in Keil uV4 and using StellarisWare library suite. Following is the step by step procedure. You can download the source code at the end of this post. In my case, am using EKK-LM3S8962 demo kit.

Step-1: Create new project

Getting started with stellaris

Step-2: Select the device

Getting started with stellaris

Step-3: Add startup code

Getting started with stellaris

Step-4: Add a file to source group

Getting started with stellaris

Step-5: Select the c source file this time

Getting started with stellaris

Step-6: Goto project options

Getting started with stellaris

Step-7: Check the crystal frequency from target tab

Getting started with stellaris

Step-8: Choose the debugger from debug tab

Getting started with stellaris

Step-9: Choose driver for flash programming from utilities tab

Getting started with stellaris

Step-10: Choose preprocessor for the part and include path from the c/c++ tab
I have created the new project in the same directory as the stellariware example code i.e, “C:\StellarisWare\boards\ek-lm3s8962″
Getting started with stellaris

Step-11: Linker settings

Getting started with stellaris

Step-12: Add some more files

Getting started with stellaris

Step-13: This time the library files

Getting started with stellaris

Step-14: Write the code in the *.c file

Getting started with stellaris

Download Files:

Share

LM3S811 Breakout Board

The LM3S811 Breakout board is design with the same spirit of PIC32MX1 Breakout Board to make easy to get started. Stellaris is the microcontroller family initially designed by Luminary Micro (LM). LM was acquired by TI, thanks to the recession of 2009-on-wards. It’s a very promising family. TI has included some other members into family including the floating point LM4F based series. The JTAG connector may seem “too big” but this was to keep it compatible with the actual connectors coming from TI; like this board be used along-with LM3S8962 demo kit and same kit can be used to program this board.

         LM3S811 Breakout Board

Download Files:


Share

  • Follow

  • Just a Moment Please

    Did you find what you were looking for on this website?






  • Disclaimer

    The information on this website is based on my personal views which may differ from my employer(s). The free material here to download is the work I have done in my free time and, though may seem resembling, does not belong to my current or previous employer(s). It is solely my own intellectual property.
  • Copyright © Electrodesigns.net 2011-12
    iDream theme by Templates Next | Powered by WordPress