try changing to.
 
ft2232_device_desc "Stellaris Evaluation Board A"

Also the interface and target configs have been split up, and the way to
configure now is.
openocd -f interface/luminary.cfg -f target/lm3s6965.cfg -c init -c "reset
halt"
 
Cheers
Spen


  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Anne van
Rossum
Sent: 20 November 2008 11:49
To: [email protected]
Subject: Re: [Openocd-development] LM3s8962 & Working Area


Dear Spen, dear all,

On the moment I am using the OpenOCD trunk from SVN, there are some problems
now in finding the device!

cd /opt/openocd
svn update
/bootstrap
/configure --enable-ft2232-ftd2xx --with-ftd2xx=/opt/libftd2xx0.4.15/
make
cd src
sudo ./openocd -f target/target/lm3s811.cfg -d 3

Ends with:

  Debug:   67 1 ft2232.c:1382 ft2232_init_ftd2xx(): 'ft2232' interface using
FTD2XX with 'evb_lm3s811' layout (0403:bcd9)
  Error:   68 226 ft2232.c:1427 ft2232_init_ftd2xx(): unable to open ftdi
device: 2
  Error:   69 238 ft2232.c:1442 ft2232_init_ftd2xx(): ListDevices: 2
  Error:   70 238 ft2232.c:1444 ft2232_init_ftd2xx(): 0: Stellaris
Evaluation Board A
  Error:   71 238 ft2232.c:1444 ft2232_init_ftd2xx(): 1: Stellaris
Evaluation Board B
  Debug:   72 238 command.c:416 run_command(): Command failed with error
code -100
  User:    73 238 command.c:616 openocd_jim_vfprintf(): Runtime error, file
"command.c", line 445:
  User:    74 238 command.c:616 openocd_jim_vfprintf():     

To the lm3s811.cfg file I added this:

  interface ft2232
  ft2232_device_desc "LM3S811 Evaluation Board"
  ft2232_layout evb_lm3s811
  ft2232_vid_pid 0x0403 0xbcd9

Because if not, it gives the error:

  Error:  JTAG interface has to be specified, see "interface" command
  Runtime error, file "command.c", line 445:

Regards,

Anne


On 20/11/2008, Spen <[EMAIL PROTECTED]> wrote: 

Hi,
 
you need to be using the main openocd trunk for cortex_m3 support - the
cortex_m3 branch was for early dev work.
http://svn.berlios.de/svnroot/repos/openocd/trunk

You also need to increase the working area to at least 16k
 
Cheers
Spen


  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Anne van
Rossum
Sent: 20 November 2008 10:10
To: [email protected]
Subject: [Openocd-development] LM3s8962 & Working Area



Dear all,

On the moment I am programming a Cortex M3 processor on an LM3s8962 board. I
checked out the OpenOCD version from SVN using the Cortex M3 processor
branch: http://svn.berlios.de/svnroot/repos/openocd/branches/cortex-m3

When I comment the working_area line in openocd.cfg it works, but very slow,
more than 5 minutes! It can not use block writes...

If I don't comment it and leave it as it is, the programmer quits just as
described at
https://lists.berlios.de/pipermail/openocd-development/2008-October/003414.h
tml 

The working_area parameters are "working_area 0 0x20000800 0x1200 nobackup".
What can I do? Change those parameters? Do something else?

Kind regards and thanks a lot in advance!

Anne





-- 
MSc./Ir A.C. van Rossum
Researcher
Almende B.V.
Westerstraat 50
3016 DJ Rotterdam
The Netherlands
Phone:   +31 (0)10 85 119 25
Skype:   annevanrossum
Mobile:  +31 (0)6 168 365 07
Website: http://www.almende.com/ 

_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to