Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] question about microcontroller LM3S9C97

Status
Not open for further replies.

gghhh

Junior Member level 2
Joined
Oct 2, 2012
Messages
20
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,402
Hi all

I have i am a new to circuit designing. I have two question what does this means

1. "which hardware is needed for programming the LM3S9C97 (programming and debug interface)"

2. which software/IDE can be used to develop the firmware for it?
 

Last edited:

If you have a board with that processor on (or almost any other uC), you will need separate hardware like a JTAG or ISP programmer to download your code to the uC or flashmem or to debug your programming.
Something like this for example:
https://www.segger.com/jlink.html

You can also get a development / evaluation board which already contains a bootloader downloaded to the board using a device like the one above.
Then the bootloader will will enable you to download your program onto the board through for example: a serial port.
See some examples of such boards:
**broken link removed**
https://www.mikroe.com/easymx-pro/stellaris/
 
  • Like
Reactions: gghhh

    gghhh

    Points: 2
    Helpful Answer Positive Rating
okay.

what if I make my own PCB design then I would need only JTAG or ISP programmer right?

Also which software/IDE can be used to develop the firmware for it?

Is that KEIL we use to develop the firmware?
 

Yes, if you design your own board you would only need a JTAG or ISP programmer.

Keil is only one of the software IDEs that can be used to develop the firmware for your board. There are quite a few on the market:
www.keil.com
www.rowley.co.uk
www.iar.com

or the GNU tools:
www.gnuarm.com
 
  • Like
Reactions: gghhh

    gghhh

    Points: 2
    Helpful Answer Positive Rating
While the LM3S9C97 does have a ROM based bootloader, to do serious development, you'll need a JTAG programmer/debugger, two of most popular being:

Segger J-Link



Segger offers a noncommercial/educational J-Link, at a fraction of what the commercial version costs:

Segger J-Link EDU

There are, of course, clones and inexpensive alternatives, however at the price of the J-Link EDU, why bother?


KEIL's MDK-ARM is probably the most used IDE/Compiler suite, you can freely download the MDK-lite version which has only has the limitation of 32kB maximum code size.

MDK-ARM Microcontroller Development Kit


BigDog
 
Thanx Bro really appreciated.

Just one last question do u know any tutorial websites for me to learn?
 

There are not many ARM tutorials on the NET.

I can highly recommend the Valvano series of texts which use the TI/Stellaris series of ARMs (LM3Sxxx):

Embedded Systems: Introduction to Arm Cortex-M3 Microcontrollers

Embedded Systems: Real-Time Interfacing to the Arm Cortex-M3

Embedded Systems: Real-Time Operating Systems for the Arm Cortex-M3

I've recently read all three volumes and they are quite good, I've list them in their suggested order of reading above.

I should also mention the KEIL MDK-ARM has an extensive collection of example code and a relatively good online help system.

BigDog
 
  • Like
Reactions: gghhh

    gghhh

    Points: 2
    Helpful Answer Positive Rating
Thanx "Bigdog" and "notamoderator"

REALLY APPRECIATED.
 

I did come across these informative tutorials on the use of CMSIS (Cortex Microcontroller Software Interface Standard).

CMSIS provides a common programming interface and library routines for all ARM Cortex-Mx devices regardless of the manufacturer.

The TI/Stellaris LM3Sxxx series is a ARM Cortex-M3 device and therefore can utilized CMSIS.

**broken link removed**

Getting Started with Cortex M3, CMSIS, and GNU Tools

And the following ARM tutorials, although based on the STM32 series of devices and the GCC toolchain:

ARM Cortex Tutorials

BigDog
 

Just one last question.

My friend wrote the code for MSP430F2416 and can I also use the same code in LM3S9C97?

They are both from Texas Instrument.
 

You maybe able to port some C code or routines to the LM3S9C97, however the ARM Cortex-M3 and the MSP430 are two entirely different MCUs.

So the quick answer would be, the code is not directly compatible.


BigDog
 

Even though there are from the same manufacturer?
 

Yes, even though they are not from the same manufacturer.

The MSP430F2416 is a 16-bit RISC CPU with two built-in 16-bit timers, a fast 12-bit A/D converter, a comparator, four universal serial communication interface (USCI) modules and up to 64 I/O pins.

Typical applications include sensor systems, industrial control applications, hand-held meters, etc.

vs

The LM3S9C97 is a 32-bit ARM Cortex-M3 80-MHz processor core with System Timer (SysTick), integrated Nested Vectored Interrupt Controller (NVIC), Memory Protection Unit (MPU), System Control Block (SCB) and Thumb-2 instruction set
On-chip memory, featuring: 512 KB single-cycle Flash up to 50 MHz; 64 KB single-cycle SRAM; internal ROM loaded with StellarisWare software
Two Controller Area Network (CAN) modules, using CAN protocol version 2.0 part A/B and with bit rates up to 1 Mbps
Highly configurable 10/100 Ethernet Controller that conforms to the IEEE 802.3-2002 specification with full- and half-duplex modes for both 100 Mbps and 10 Mbps operation, with IEEE 1588 PTP hardware support , and automatic MDI/MDI-X cross-over correction with software assist
Universal Serial Bus (USB) controller with USB 2.0 full-speed (12 Mbps) and low-speed (1.5 Mbps) operation, 32 endpoints, and USB OTG/Host/Device mode
Advanced serial integration, featuring: three UARTs with IrDA and ISO 7816 support (one UART with modem status and modem flow control); two Synchronous Serial Interface (SSI) modules, supporting operation for Freescale SPI, MICROWIRE, or Texas Instruments synchronous serial interfaces; two Inter-Integrated Circuit (I2C) modules, providing Standard (100 Kbps) and Fast (400 Kbps) transmission and support for sending and receiving data as either a master or a slave; one Integrated Interchip Sound (I2S) module, containing a transmit module and a receive module configurable for I2S, Left-Justified, and Right-Justified serial audio formats
ARM PrimeCell 32-channel configurable μDMA controller, providing a way to offload data transfer tasks from the Cortex-M3 processor, allowing for more efficient use of the processor and the available bus bandwidth
Analog support, featuring: two 12-bit Analog-to-Digital Converters (ADC) with 16 analog input channels and a sample rate of one million samples/second; two analog comparators; 16 digital comparators; on-chip voltage regulator
Advanced motion control, featuring: three PWM generator blocks, each with one 16-bit counter, two PWM comparators, a PWM signal generator, a dead-band generator, and an interrupt/ADC-trigger selector; four PWM fault inputs to promote low-latency shutdown; two Quadrature Encoder Interface (QEI) modules, with position integrator to track encoder position and velocity capture using built-in timer
Two ARM FiRM-compliant watchdog timers; four 32-bit general-purpose timers (up to eight 16-bit); eight Capture Compare PWM (CCP) pins
Up to 60 GPIOs (depending on configuration), with programmable control for GPIO interrupts and pad configuration, and highly flexible pin muxing
Lower-power battery-backed Hibernation module with Real-Time Clock
Multiple clock sources for microcontroller system clock: Precision Oscillator (PIOSC), Main Oscillator (MOSC), 32.768-kHz external oscillator for the Hibernation Module, and Internal 30-kHz Oscillator

The LM3S9C97 microcontroller is targeted for industrial applications, including remote connectivity and monitoring, electronic point-of-sale (POS) machines, test and measurement equipment, network appliances and switches, factory automation, home and commercial site monitoring and control, gaming equipment, motion control, medical instrumentation, lighting control, transportation, and fire and security.


I can with confidence state, that they are two completely different animals.
 

Hw abt i use TMS320F28069 instead of LM3S9C97?
 

Or you could rather go for the Intel BV80605001911AQ paired with the BD3450 chip for interfacing??
That would be much more scalable.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top