marc_schafer wrote on Saturday, November 08, 2008:
I am just getting started with my LM3S3748 ev kit. 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: openocd.c:92 main(): Open On-Chip Debugger (2007-08-17 11:00 CEST)
Info: target.c:232 target_init_handler(): executing reset script ‘program.script’
Info: configuration.c:50 configuration_output_handler(): requesting target halt…
Info: configuration.c:50 configuration_output_handler(): waiting for target halted…
Info: configuration.c:50 configuration_output_handler(): target halted
Warning: stellaris.c:379 stellaris_read_part_info(): stellaris flash only tested for LM3S811 series
Info: configuration.c:50 configuration_output_handler(): flash ‘stellaris’ found at 0x00000000
Info: 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: configuration.c:50 configuration_output_handler():
Info: configuration.c:50 configuration_output_handler(): LMI Stellaris information: Chip is class 3 Unknown part vA.0
Info: configuration.c:50 configuration_output_handler(): did1: 0x1049400d, arch: 0x1049400d, eproc: ARMV7M, ramsize:64k, flashsize: 128k
Info: configuration.c:50 configuration_output_handler(): master clock(estimated): 22500kHz, rcc is 0x78e3ad1
Info: configuration.c:50 configuration_output_handler(): pagesize: 1024, lockbits: 64 0xffffffff, pages in lock region: 2
Info: configuration.c:50 configuration_output_handler():
Info: 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 1024 words to 0x0, 20724 remaining
Warning: stellaris.c:686 stellaris_write_block(): Algorithm flash write 1024 words to 0x1000, 19700 remaining
Warning: stellaris.c:686 stellaris_write_block(): Algorithm flash write 1024 words to 0x2000, 18676 remaining
Warning: stellaris.c:686 stellaris_write_block(): Algorithm flash write 1024 words to 0x3000, 17652 remaining
Warning: stellaris.c:686 stellaris_write_block(): Algorithm flash write 1024 words to 0x4000, 16628 remaining
Warning: stellaris.c:686 stellaris_write_block(): Algorithm flash write 1024 words to 0x5000, 15604 remaining
Warning: stellaris.c:686 stellaris_write_block(): Algorithm flash write 1024 words to 0x6000, 14580 remaining
Warning: stellaris.c:686 stellaris_write_block(): Algorithm flash write 1024 words to 0x7000, 13556 remaining
Warning: stellaris.c:686 stellaris_write_block(): Algorithm flash write 1024 words to 0x8000, 12532 remaining
Warning: stellaris.c:686 stellaris_write_block(): Algorithm flash write 1024 words to 0x9000, 11508 remaining
Warning: stellaris.c:686 stellaris_write_block(): Algorithm flash write 1024 words to 0xa000, 10484 remaining
Warning: stellaris.c:686 stellaris_write_block(): Algorithm flash write 1024 words to 0xb000, 9460 remaining
Warning: stellaris.c:686 stellaris_write_block(): Algorithm flash write 1024 words to 0xc000, 8436 remaining
Warning: stellaris.c:686 stellaris_write_block(): Algorithm flash write 1024 words to 0xd000, 7412 remaining
Warning: stellaris.c:686 stellaris_write_block(): Algorithm flash write 1024 words to 0xe000, 6388 remaining
Warning: stellaris.c:686 stellaris_write_block(): Algorithm flash write 1024 words to 0xf000, 5364 remaining
Warning: stellaris.c:686 stellaris_write_block(): Algorithm flash write 1024 words to 0x10000, 4340 remaining
Warning: stellaris.c:686 stellaris_write_block(): Algorithm flash write 1024 words to 0x11000, 3316 remaining
Warning: stellaris.c:686 stellaris_write_block(): Algorithm flash write 1024 words to 0x12000, 2292 remaining
Warning: stellaris.c:686 stellaris_write_block(): Algorithm flash write 1024 words to 0x13000, 1268 remaining
Warning: stellaris.c:686 stellaris_write_block(): Algorithm flash write 244 words to 0x14000, 244 remaining
Info: configuration.c:50 configuration_output_handler(): wrote 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