# LM3Sxxxx Eclipse error

**URL:** <https://forums.freertos.org/t/lm3sxxxx-eclipse-error/5356>\
**Category:** Kernel\
**Created:** [November 8, 2008, 3:44am UTC](https://forums.freertos.org/t/lm3sxxxx-eclipse-error/5356 "2008-11-08T03:44:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [November 8, 2008, 3:44am UTC](https://forums.freertos.org/t/lm3sxxxx-eclipse-error/5356/1 "2008-11-08T03:44:16Z")

</div>

**[marc\_schafer](https://sourceforge.net/u/marc_schafer/)** wrote on [Saturday, November 08, 2008](https://sourceforge.net/p/freertos/discussion/382005/thread/ee9128da/#ab79):

I am just getting started with my LM3S3748 ev kit.&nbsp; I followed all the instruction to setup up the eclipse + code sourcery toolchain, but I ran into some problems.

The demo application compiles fine.

Downloading the code to the board generates the following messages:  
Info:&nbsp;&nbsp;&nbsp; openocd.c:92 main(): Open On-Chip Debugger (2007-08-17 11:00 CEST)  
Info:&nbsp;&nbsp;&nbsp; target.c:232 target\_init\_handler(): executing reset script ‘program.script’  
Info:&nbsp;&nbsp;&nbsp; configuration.c:50 configuration\_output\_handler(): requesting target halt…  
Info:&nbsp;&nbsp;&nbsp; configuration.c:50 configuration\_output\_handler(): waiting for target halted…  
Info:&nbsp;&nbsp;&nbsp; configuration.c:50 configuration\_output\_handler(): target halted  
Warning: stellaris.c:379 stellaris\_read\_part\_info(): stellaris flash only tested for LM3S811 series  
Info:&nbsp;&nbsp;&nbsp; configuration.c:50 configuration\_output\_handler(): flash ‘stellaris’ found at 0x00000000  
Info:&nbsp;&nbsp;&nbsp; configuration.c:50 configuration\_output\_handler(): #0: stellaris at 0x00000000, size 0x00020000, buswidth 0, chipwidth 0  
Warning: stellaris.c:379 stellaris\_read\_part\_info(): stellaris flash only tested for LM3S811 series  
Info:&nbsp;&nbsp;&nbsp; configuration.c:50 configuration\_output\_handler():  
Info:&nbsp;&nbsp;&nbsp; configuration.c:50 configuration\_output\_handler(): LMI Stellaris information: Chip is class 3 Unknown part vA.0  
Info:&nbsp;&nbsp;&nbsp; configuration.c:50 configuration\_output\_handler(): did1: 0x1049400d, arch: 0x1049400d, eproc: ARMV7M, ramsize:64k,&nbsp; flashsize: 128k  
Info:&nbsp;&nbsp;&nbsp; configuration.c:50 configuration\_output\_handler(): master clock(estimated): 22500kHz,&nbsp; rcc is 0x78e3ad1  
Info:&nbsp;&nbsp;&nbsp; configuration.c:50 configuration\_output\_handler(): pagesize: 1024, lockbits: 64 0xffffffff, pages in lock region: 2  
Info:&nbsp;&nbsp;&nbsp; configuration.c:50 configuration\_output\_handler():  
Info:&nbsp;&nbsp;&nbsp; configuration.c:50 configuration\_output\_handler(): sector number(s) invalid  
Warning: target.c:562 target\_alloc\_working\_area(): not enough working area available  
Warning: stellaris.c:686 stellaris\_write\_block(): Algorithm flash write&nbsp; 1024 words to 0x0, 20724 remaining  
Warning: stellaris.c:686 stellaris\_write\_block(): Algorithm flash write&nbsp; 1024 words to 0x1000, 19700 remaining  
Warning: stellaris.c:686 stellaris\_write\_block(): Algorithm flash write&nbsp; 1024 words to 0x2000, 18676 remaining  
Warning: stellaris.c:686 stellaris\_write\_block(): Algorithm flash write&nbsp; 1024 words to 0x3000, 17652 remaining  
Warning: stellaris.c:686 stellaris\_write\_block(): Algorithm flash write&nbsp; 1024 words to 0x4000, 16628 remaining  
Warning: stellaris.c:686 stellaris\_write\_block(): Algorithm flash write&nbsp; 1024 words to 0x5000, 15604 remaining  
Warning: stellaris.c:686 stellaris\_write\_block(): Algorithm flash write&nbsp; 1024 words to 0x6000, 14580 remaining  
Warning: stellaris.c:686 stellaris\_write\_block(): Algorithm flash write&nbsp; 1024 words to 0x7000, 13556 remaining  
Warning: stellaris.c:686 stellaris\_write\_block(): Algorithm flash write&nbsp; 1024 words to 0x8000, 12532 remaining  
Warning: stellaris.c:686 stellaris\_write\_block(): Algorithm flash write&nbsp; 1024 words to 0x9000, 11508 remaining  
Warning: stellaris.c:686 stellaris\_write\_block(): Algorithm flash write&nbsp; 1024 words to 0xa000, 10484 remaining  
Warning: stellaris.c:686 stellaris\_write\_block(): Algorithm flash write&nbsp; 1024 words to 0xb000, 9460 remaining  
Warning: stellaris.c:686 stellaris\_write\_block(): Algorithm flash write&nbsp; 1024 words to 0xc000, 8436 remaining  
Warning: stellaris.c:686 stellaris\_write\_block(): Algorithm flash write&nbsp; 1024 words to 0xd000, 7412 remaining  
Warning: stellaris.c:686 stellaris\_write\_block(): Algorithm flash write&nbsp; 1024 words to 0xe000, 6388 remaining  
Warning: stellaris.c:686 stellaris\_write\_block(): Algorithm flash write&nbsp; 1024 words to 0xf000, 5364 remaining  
Warning: stellaris.c:686 stellaris\_write\_block(): Algorithm flash write&nbsp; 1024 words to 0x10000, 4340 remaining  
Warning: stellaris.c:686 stellaris\_write\_block(): Algorithm flash write&nbsp; 1024 words to 0x11000, 3316 remaining  
Warning: stellaris.c:686 stellaris\_write\_block(): Algorithm flash write&nbsp; 1024 words to 0x12000, 2292 remaining  
Warning: stellaris.c:686 stellaris\_write\_block(): Algorithm flash write&nbsp; 1024 words to 0x13000, 1268 remaining  
Warning: stellaris.c:686 stellaris\_write\_block(): Algorithm flash write&nbsp; 244 words to 0x14000, 244 remaining  
Info:&nbsp;&nbsp;&nbsp; configuration.c:50 configuration\_output\_handler(): wrote&nbsp; 82896 byte from file ./RTOSDemo/RTOSDemo.bin to flash bank 0 at offset 0x00000000 in 13s 356000us (6.061180 kb/s)

The debug server starts fine, but I get this error when I try to launch the demo in a debugging session.

An internal error occurred during: "Launching RTOSDemo".  
java.lang.NullPointerException

Any help is greatly appreciated.

Thanks,  
Marc

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [November 8, 2008, 5:13am UTC](https://forums.freertos.org/t/lm3sxxxx-eclipse-error/5356/2 "2008-11-08T05:13:18Z")

</div>

**[marc\_schafer](https://sourceforge.net/u/marc_schafer/)** wrote on [Saturday, November 08, 2008](https://sourceforge.net/p/freertos/discussion/382005/thread/ee9128da/#ab79/3f58):

I found 2 problems with eclipse configuration in the FreeRTOS Demo workspace.&nbsp; First, I had to configure the debug settings with the full path to arm-none-eabi-gdb.exe even though it was in my path.&nbsp; This was the cause of the NullPointerException.

Second, openocd\_ftdi is configured to start listening to port 3333 but gdb is configured to connect to port 10000.&nbsp; I changed gdb to 3333 and was able to start a debugging session.

However, I cannot step, hit breakpoints, or really do anything with the debugger.&nbsp; I am seeing errors like these from openocd:

Info:&nbsp;&nbsp;&nbsp; server.c:67 add\_connection(): accepted ‘gdb’ connection from 0  
Error:&nbsp;&nbsp; cortex\_swjdp.c:224 swjdp\_transaction\_endcheck(): SWJ-DP STICKY ERROR  
Error:&nbsp;&nbsp; cortex\_swjdp.c:238 swjdp\_transaction\_endcheck(): dcb\_dhcsr 0x30003, nvic\_shcsr 0x20000, nvic\_cfsr 0x10000, nvic\_bfar 0xe000edf8  
Error:&nbsp;&nbsp; cortex\_swjdp.c:224 swjdp\_transaction\_endcheck(): SWJ-DP STICKY ERROR  
Error:&nbsp;&nbsp; cortex\_swjdp.c:238 swjdp\_transaction\_endcheck(): dcb\_dhcsr 0x30003, nvic\_shcsr 0x20000, nvic\_cfsr 0x10000, nvic\_bfar 0xe000edf8

Thanks,  
Marc

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [October 12, 2010, 8:43am UTC](https://forums.freertos.org/t/lm3sxxxx-eclipse-error/5356/3 "2010-10-12T08:43:36Z")

</div>

**[cee3po](https://sourceforge.net/u/cee3po/)** wrote on [Tuesday, October 12, 2010](https://sourceforge.net/p/freertos/discussion/382005/thread/ee9128da/#abf3):

Hello Marc  
Have you find a solution for this problem in the last two years?  
I have exactly the same problem with CodeSourceryG++ 4.4-104 and a custom board with LM3S9B90.

Any help would be very much appreciated.

Kind Regards,  
cee
