Re: using openocd

2008-09-18 Thread Hypnotize
Hi again,

Sorry for my late answer but I havent had time to answer you before now.

Yes the cable does fit in to the GTA02 and the Debug Board and the Reset
button on the Debug Board does reset the GTA02 (it does a hard restart of
the device or something?) but it still does not work. :(

The openocd.conf that I use is the one from
http://wiki.openmoko.org/wiki/OpenOCD#OpenOCD_and_Debug_Board

libftdi is version 0.13
openocd is r130 (from svn)

-Morten

On Fri, Sep 12, 2008 at 9:06 PM, Michael Shiloh [EMAIL PROTECTED]wrote:

 andi wrote:
  Lynn Nguyen wrote:
  Does the cable fit completely into your neo? Because my cable doesn't
  go straight in. Is there a technique to make it fit? Did you have any
  problems making it fit? Because I think my problem is that my cable
  doesn't go all the way in.
 
  When you look at the contacts on the cable, you can see that there are
  two rows, so you have to plug the cable pretty deep into the connector.
  (I think I had only the first row in at the beginning...)  On the
  connector you can see how far you have to push the cable into the
  connector.
  There is no special technique. Just push it in.
 
  andi


 What I am seeing on a couple of connectors and phones is that the cable
 is a bit wider than the opening in the connector. Yes, I know that it
 has always been a tight fit, but I wonder if it has gotten worse, as I
 can't get the cable in at all now.

 Michael

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: using openocd

2008-09-12 Thread Lynn Nguyen
Does the cable fit completely into your neo? Because my cable doesn't go
straight in. Is there a technique to make it fit? Did you have any problems
making it fit? Because I think my problem is that my cable doesn't go all
the way in.

Lynn

On Thu, Sep 11, 2008 at 8:47 AM, andi [EMAIL PROTECTED] wrote:

 Hypnotize wrote:
  I have tried that to and get the same error messages! :(

 Hi!

 I go the debug board working the first time just a minute ago, but I had
 the same errors.
 Make sure, you have the flat flexible cable between debug board and
 freerunner completely plugged into
 the small connector on the freerunner.
 This solved my problems ;-)

 andi
 
  On Sun, Sep 7, 2008 at 3:52 AM, Holger Freyther [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] wrote:
 
  On Sunday 07 September 2008 02:22:40 Hypnotize wrote:
   Hi,
  
   I cant get openocd working (with Debug Board v3 and GTA02), I
  just get this
   error message:
  
   $ openocd -f /etc/openocd/openocd.conf
   Info:openocd.c:84 main(): Open On-Chip Debugger (2007-01-31
  12:00 CET)
   Error:   ft2232.c:1351 ft2232_init(): unable to open ftdi device:
   ftdi_usb_reset failed
 
  sudo openocd?
 
  z.
 
  ___
  Openmoko community mailing list
  community@lists.openmoko.org mailto:community@lists.openmoko.org
  http://lists.openmoko.org/mailman/listinfo/community
 
 
  
 
  ___
  Openmoko community mailing list
  community@lists.openmoko.org
  http://lists.openmoko.org/mailman/listinfo/community
 


 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: using openocd

2008-09-12 Thread andi
Lynn Nguyen wrote:
 Does the cable fit completely into your neo? Because my cable doesn't 
 go straight in. Is there a technique to make it fit? Did you have any 
 problems making it fit? Because I think my problem is that my cable 
 doesn't go all the way in.

When you look at the contacts on the cable, you can see that there are 
two rows, so you have to plug the cable pretty deep into the connector.
(I think I had only the first row in at the beginning...)  On the 
connector you can see how far you have to push the cable into the 
connector.
There is no special technique. Just push it in.

andi


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: using openocd

2008-09-12 Thread Michael Shiloh
andi wrote:
 Lynn Nguyen wrote:
 Does the cable fit completely into your neo? Because my cable doesn't 
 go straight in. Is there a technique to make it fit? Did you have any 
 problems making it fit? Because I think my problem is that my cable 
 doesn't go all the way in.

 When you look at the contacts on the cable, you can see that there are 
 two rows, so you have to plug the cable pretty deep into the connector.
 (I think I had only the first row in at the beginning...)  On the 
 connector you can see how far you have to push the cable into the 
 connector.
 There is no special technique. Just push it in.
 
 andi


What I am seeing on a couple of connectors and phones is that the cable 
is a bit wider than the opening in the connector. Yes, I know that it 
has always been a tight fit, but I wonder if it has gotten worse, as I 
can't get the cable in at all now.

Michael

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: using openocd

2008-09-11 Thread andi
Hypnotize wrote:
 I have tried that to and get the same error messages! :(

Hi!

I go the debug board working the first time just a minute ago, but I had 
the same errors.
Make sure, you have the flat flexible cable between debug board and 
freerunner completely plugged into
the small connector on the freerunner.
This solved my problems ;-)

andi

 On Sun, Sep 7, 2008 at 3:52 AM, Holger Freyther [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 On Sunday 07 September 2008 02:22:40 Hypnotize wrote:
  Hi,
 
  I cant get openocd working (with Debug Board v3 and GTA02), I
 just get this
  error message:
 
  $ openocd -f /etc/openocd/openocd.conf
  Info:openocd.c:84 main(): Open On-Chip Debugger (2007-01-31
 12:00 CET)
  Error:   ft2232.c:1351 ft2232_init(): unable to open ftdi device:
  ftdi_usb_reset failed

 sudo openocd?

 z.

 ___
 Openmoko community mailing list
 community@lists.openmoko.org mailto:community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


 

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community
   


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: using openocd

2008-09-08 Thread Hypnotize
I have tried that to and get the same error messages! :(

On Sun, Sep 7, 2008 at 3:52 AM, Holger Freyther [EMAIL PROTECTED] wrote:

 On Sunday 07 September 2008 02:22:40 Hypnotize wrote:
  Hi,
 
  I cant get openocd working (with Debug Board v3 and GTA02), I just get
 this
  error message:
 
  $ openocd -f /etc/openocd/openocd.conf
  Info:openocd.c:84 main(): Open On-Chip Debugger (2007-01-31 12:00
 CET)
  Error:   ft2232.c:1351 ft2232_init(): unable to open ftdi device:
  ftdi_usb_reset failed

 sudo openocd?

 z.

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


using openocd

2008-09-06 Thread Hypnotize
Hi,

I cant get openocd working (with Debug Board v3 and GTA02), I just get this
error message:

$ openocd -f /etc/openocd/openocd.conf
Info:openocd.c:84 main(): Open On-Chip Debugger (2007-01-31 12:00 CET)
Error:   ft2232.c:1351 ft2232_init(): unable to open ftdi device:
ftdi_usb_reset failed

Can anyone please help me?

messages from dmesg:

[  275.629104] usb 1-1.1: new full speed USB device using uhci_hcd and
address 9
[  275.684969] usb 1-1.1: configuration #1 chosen from 1 choice
[  275.692679] ftdi_sio 1-1.1:1.0: FTDI USB Serial Device converter detected
[  275.692726] /build/buildd/linux-2.6.24/drivers/usb/serial/ftdi_sio.c:
Detected FT2232C
[  275.692879] usb 1-1.1: FTDI USB Serial Device converter now attached to
ttyUSB0
[  275.700444] ftdi_sio 1-1.1:1.1: FTDI USB Serial Device converter detected
[  275.700488] /build/buildd/linux-2.6.24/drivers/usb/serial/ftdi_sio.c:
Detected FT2232C
[  275.700613] usb 1-1.1: FTDI USB Serial Device converter now attached to
ttyUSB1
[  328.625095] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now
disconnected from ttyUSB0
[  328.625562] ftdi_sio 1-1.1:1.0: device disconnected
[  328.626567] usb 1-1.1: usbfs: interface 1 claimed by ftdi_sio while
'openocd' sets config #1
[  328.627572] usb 1-1.1: usbfs: USBDEVFS_CONTROL failed cmd openocd rqt 64
rq 0 len 0 ret -71

-Morten Freberg
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: using openocd

2008-09-06 Thread Holger Freyther
On Sunday 07 September 2008 02:22:40 Hypnotize wrote:
 Hi,

 I cant get openocd working (with Debug Board v3 and GTA02), I just get this
 error message:

 $ openocd -f /etc/openocd/openocd.conf
 Info:openocd.c:84 main(): Open On-Chip Debugger (2007-01-31 12:00 CET)
 Error:   ft2232.c:1351 ft2232_init(): unable to open ftdi device:
 ftdi_usb_reset failed

sudo openocd?

z.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: using openocd

2008-09-01 Thread Neng-Yu Tu (Tony Tu)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Lynn-

Lynn Nguyen ??:
 Yeah it's loading the correct openocd.cfg file. I even added random
 commands to it and i saw those commands in the error messages. I even
 used -f to be sure.
 


* Could you check the .cfg file is comes with, it should called
openocd-debugv2.cfg :

1. ft2232_vid_pid 0x1457 0x5118

2. And adjust jtag_speed to higher number (4 or 8, default is 0)

* And is your debug board UART (terminal console) is working?

If still not working, you might could erase the EEPROM content in the
debug board again, return the default USB ID 0403 6010. They see if the
UART and openocd could work.

Regards,

- --
Neng-Yu Tu (Tony Tu)
Openmoko, Inc.
Support.

Some questions could be answered by reference following link:

Wiki - http://wiki.openmoko.org
Download - http://downloads.openmoko.org

Freerunner Introduction -
http://wiki.openmoko.org/wiki/Getting_Started_with_your_Neo_FreeRunner



 I was wondering if anyone was using the Neo1973 (GTA01v4) with Debug
 board v3. I used the openocd.cfg available on the wiki and I get this
 problem:
 Info:openocd.c:82 main(): Open On-Chip Debugger (2006-08-01
 12:00 CEST)
 Info:configuration.c:50 configuration_output_handler(): Command
 ft2232_device_desc not found
 Info:configuration.c:50 configuration_output_handler(): Command
 ft2232_layout not found
 Info:configuration.c:50 configuration_output_handler(): Command
 ft2232_vid_pid not found
 Error:   jtag.c:1219 jtag_init(): No valid jtag interface found
 (ft2232)
 
 It seems like openocd is having some trouble with ft2232 because I
 don't
 see anything wrong with those commands.
 
 
 Does your openocd load neo1973 specific config? like tmp/openocd -f
 tmp/openocd-debugv2.cfg
 
 Usually it is because your USB vid/pid setting is not correct in the
 config file(load the wrong config file)
 
 Hope this helps.
 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAki7nRcACgkQmV6sZhhBn2/jIACgjEh/KVZXXdhD4sLyZh17d9gA
DG4AnAmOZwoBDKSqNn3mua2WQnvi9xCp
=wz/W
-END PGP SIGNATURE-

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: using openocd

2008-09-01 Thread Lynn Nguyen
Why would I want to do that to the debug board?
http://wiki.openmoko.org/wiki/Debug_Board_v3 . If the usb id is
0403:6010 then its wrong isn't it?

Also I don't understand this section of the wiki page:
http://wiki.openmoko.org/wiki/OpenOCD#Known_Bugs_and_Troubleshooting

 Did you turn it on ?

An easily made but devastating mistake is to forget to actually activate the
CPU. Just connecting power is not enough ! Press and hold the power button
until the boot loader does its count-down, or, in case there is no runnable
boot loader, the CPU keeps itself busy.

is the 'it' this part referring to the openmoko? I mean, isn't the whole
point of a bricked openmoko the fact that it can't turn on? How am I
supposed to activate the CPU if it won't turn on at all? I know the battery
is fully charged because I checked the voltage.

this is the openocd.cfg i am using:

telnet port 
gdb_port 

# interface
interface ft2232
jtag_speed 8
ft2232_device_desc Debug Board for Neo1973
ft2232_layout jtagkey
ft2232_vid_pid 0x1457 0x5118
reset_config trst_and_srst
jtag_device 4 0x1 0xf 0xe
daemon_startup attach
target arm920t little reset_run 0 arm920t
working_area 0 0x20 0x4000 backup
run_and_halt_time 0 5000

How do I check my debug board's uart console? I can't remember how to do it
but I'm pretty sure I was able to screen onto it once.

Actually maybe it is something with my debug board, I looked in the logs and
saw this:

[  459.596147] usb 3-1.3: new full speed USB device using uhci_hcd and
address 27
[  459.744465] usb 3-1.3: device not accepting address 27, error -71

Do you know what to make of this error? Google search finds nothing =/.

Lynn
On Mon, Sep 1, 2008 at 12:43 AM, Neng-Yu Tu (Tony Tu) [EMAIL PROTECTED]wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi Lynn-

 Lynn Nguyen ??:
  Yeah it's loading the correct openocd.cfg file. I even added random
  commands to it and i saw those commands in the error messages. I even
  used -f to be sure.
 


 * Could you check the .cfg file is comes with, it should called
 openocd-debugv2.cfg :

 1. ft2232_vid_pid 0x1457 0x5118

 2. And adjust jtag_speed to higher number (4 or 8, default is 0)

 * And is your debug board UART (terminal console) is working?

 If still not working, you might could erase the EEPROM content in the
 debug board again, return the default USB ID 0403 6010. They see if the
 UART and openocd could work.

 Regards,

 - --
 Neng-Yu Tu (Tony Tu)
 Openmoko, Inc.
 Support.

 Some questions could be answered by reference following link:

 Wiki - http://wiki.openmoko.org
 Download - http://downloads.openmoko.org

 Freerunner Introduction -
 http://wiki.openmoko.org/wiki/Getting_Started_with_your_Neo_FreeRunner



  I was wondering if anyone was using the Neo1973 (GTA01v4) with Debug
  board v3. I used the openocd.cfg available on the wiki and I get this
  problem:
  Info:openocd.c:82 main(): Open On-Chip Debugger (2006-08-01
  12:00 CEST)
  Info:configuration.c:50 configuration_output_handler(): Command
  ft2232_device_desc not found
  Info:configuration.c:50 configuration_output_handler(): Command
  ft2232_layout not found
  Info:configuration.c:50 configuration_output_handler(): Command
  ft2232_vid_pid not found
  Error:   jtag.c:1219 jtag_init(): No valid jtag interface found
  (ft2232)
 
  It seems like openocd is having some trouble with ft2232 because I
  don't
  see anything wrong with those commands.
 
 
  Does your openocd load neo1973 specific config? like tmp/openocd -f
  tmp/openocd-debugv2.cfg
 
  Usually it is because your USB vid/pid setting is not correct in the
  config file(load the wrong config file)
 
  Hope this helps.
 

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (MingW32)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iEYEARECAAYFAki7nRcACgkQmV6sZhhBn2/jIACgjEh/KVZXXdhD4sLyZh17d9gA
 DG4AnAmOZwoBDKSqNn3mua2WQnvi9xCp
 =wz/W
 -END PGP SIGNATURE-

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


using openocd

2008-08-31 Thread Lynn Nguyen
Hey All,

I was wondering if anyone was using the Neo1973 (GTA01v4) with Debug board
v3. I used the openocd.cfg available on the wiki and I get this problem:
Info:openocd.c:82 main(): Open On-Chip Debugger (2006-08-01 12:00 CEST)
Info:configuration.c:50 configuration_output_handler(): Command
ft2232_device_desc not found
Info:configuration.c:50 configuration_output_handler(): Command
ft2232_layout not found
Info:configuration.c:50 configuration_output_handler(): Command
ft2232_vid_pid not found
Error:   jtag.c:1219 jtag_init(): No valid jtag interface found (ft2232)

It seems like openocd is having some trouble with ft2232 because I don't see
anything wrong with those commands.

lsusb shows that the debug board is connected:
Bus 003 Device 003: ID 1457:5118
Device Descriptor:
  bLength18
  bDescriptorType 1
  bcdUSB   2.00
  bDeviceClass0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 8
  idVendor   0x1457
  idProduct  0x5118
  bcdDevice5.00
  iManufacturer   1 OpenMoko
  iProduct2 Debug Board for Neo1973
  iSerial 0
  bNumConfigurations  1
  Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength   55
bNumInterfaces  2
bConfigurationValue 1
iConfiguration  0
bmAttributes 0x80
  (Bus Powered)
MaxPower  100mA
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber0
  bAlternateSetting   0
  bNumEndpoints   2
  bInterfaceClass   255 Vendor Specific Class
  bInterfaceSubClass255 Vendor Specific Subclass
  bInterfaceProtocol255 Vendor Specific Protocol
  iInterface  2 Debug Board for Neo1973
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81  EP 1 IN
bmAttributes2
  Transfer TypeBulk
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0040  1x 64 bytes
bInterval   0
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02  EP 2 OUT
bmAttributes2
  Transfer TypeBulk
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0040  1x 64 bytes
bInterval   0
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber1
  bAlternateSetting   0
  bNumEndpoints   2
  bInterfaceClass   255 Vendor Specific Class
  bInterfaceSubClass255 Vendor Specific Subclass
  bInterfaceProtocol255 Vendor Specific Protocol
  iInterface  2 Debug Board for Neo1973
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83  EP 3 IN
bmAttributes2
  Transfer TypeBulk
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0040  1x 64 bytes
bInterval   0
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x04  EP 4 OUT
bmAttributes2
  Transfer TypeBulk
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0040  1x 64 bytes
bInterval   0
Device Status: 0x
  (Bus Powered)

Any ideas? Thanks!

Lynn
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: using openocd

2008-08-31 Thread Neng-Yu Tu (Tony Tu)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Lynn-

 I was wondering if anyone was using the Neo1973 (GTA01v4) with Debug
 board v3. I used the openocd.cfg available on the wiki and I get this
 problem:
 Info:openocd.c:82 main(): Open On-Chip Debugger (2006-08-01 12:00 CEST)
 Info:configuration.c:50 configuration_output_handler(): Command
 ft2232_device_desc not found
 Info:configuration.c:50 configuration_output_handler(): Command
 ft2232_layout not found
 Info:configuration.c:50 configuration_output_handler(): Command
 ft2232_vid_pid not found
 Error:   jtag.c:1219 jtag_init(): No valid jtag interface found (ft2232)
 
 It seems like openocd is having some trouble with ft2232 because I don't
 see anything wrong with those commands.
 

Does your openocd load neo1973 specific config? like tmp/openocd -f
tmp/openocd-debugv2.cfg

Usually it is because your USB vid/pid setting is not correct in the
config file(load the wrong config file)

Hope this helps.

=
- --
Neng-Yu Tu (Tony Tu)
Openmoko, Inc.
Support.

Some questions could be answered by reference following link:

Wiki - http://wiki.openmoko.org
Download - http://downloads.openmoko.org

Freerunner Introduction -
http://wiki.openmoko.org/wiki/Getting_Started_with_your_Neo_FreeRunner
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAki7c4MACgkQmV6sZhhBn29BwQCfSRPiSVTPKhPeUAGd1R6m0D80
1sIAn1dFiXdIuulTTCqYM6mmfPsRvjJD
=ubFB
-END PGP SIGNATURE-

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: using openocd

2008-08-31 Thread Lynn Nguyen
Yeah it's loading the correct openocd.cfg file. I even added random commands
to it and i saw those commands in the error messages. I even used -f to be
sure.

Lynn

On Sun, Aug 31, 2008 at 9:45 PM, Neng-Yu Tu (Tony Tu) [EMAIL PROTECTED]wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi Lynn-

  I was wondering if anyone was using the Neo1973 (GTA01v4) with Debug
  board v3. I used the openocd.cfg available on the wiki and I get this
  problem:
  Info:openocd.c:82 main(): Open On-Chip Debugger (2006-08-01 12:00
 CEST)
  Info:configuration.c:50 configuration_output_handler(): Command
  ft2232_device_desc not found
  Info:configuration.c:50 configuration_output_handler(): Command
  ft2232_layout not found
  Info:configuration.c:50 configuration_output_handler(): Command
  ft2232_vid_pid not found
  Error:   jtag.c:1219 jtag_init(): No valid jtag interface found (ft2232)
 
  It seems like openocd is having some trouble with ft2232 because I don't
  see anything wrong with those commands.
 

 Does your openocd load neo1973 specific config? like tmp/openocd -f
 tmp/openocd-debugv2.cfg

 Usually it is because your USB vid/pid setting is not correct in the
 config file(load the wrong config file)

 Hope this helps.

 =
 - --
 Neng-Yu Tu (Tony Tu)
 Openmoko, Inc.
 Support.

 Some questions could be answered by reference following link:

 Wiki - http://wiki.openmoko.org
 Download - http://downloads.openmoko.org

 Freerunner Introduction -
 http://wiki.openmoko.org/wiki/Getting_Started_with_your_Neo_FreeRunner
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (MingW32)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iEYEARECAAYFAki7c4MACgkQmV6sZhhBn29BwQCfSRPiSVTPKhPeUAGd1R6m0D80
 1sIAn1dFiXdIuulTTCqYM6mmfPsRvjJD
 =ubFB
 -END PGP SIGNATURE-

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Using openocd

2008-08-11 Thread xiangfu
Lynn Nguyen wrote:
 I believe so. I used the openocd.cfg that is given on the wiki. I've even
 followed the steps here:
 http://svn.openmoko.org/developers/werner/notes/openocd
 which seem to be legit. The step I get stuck on is running openocd. I think
 maybe there is something wrong with the libftdi phase? I'm not sure why I
 think that though. I just think that because I'm installing that by hand as
 opposed to sudo apt-getting it. Is there a way to check that openocd will
 use libftdi?
Hi Lynn Nguyen:
i use sudo modprobe ftdi_sio vendor=0x1457 product=0x5118
to make sure openocd use libftdi so i can use something like 
/dev/ttyUSB0 serial console in the debug board
my system is UBUNTU, hope this help.


 Lynn

 On 8/10/08, Neng-Yu Tu (Tony Tu) [EMAIL PROTECTED] wrote:
 Hi Lynn-

 Hi all,

 I was wondering, has anyone had any luck connecting their debug board
 (v3) to a neo1973? I followed all the instructions here:
 http://wiki.openmoko.org/wiki/Debug_Board_v3 (for linux)
 but I keep getting 'no valid jtag interface found'. But that doesn't
 make any sense because I can see the debug board from my laptop when i
 do 'lsusb'. Any ideas? Thanks!

 Lynn



 Does your openocd using correct setting file? v3 board could connect to
 neo1973, because it basically compatible old boards.

 --
 Tony Tu (Neng-Yu Tu)
 Openmoko, Inc.
 Support.

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Using openocd

2008-08-10 Thread Lynn Nguyen
Hi all,

I was wondering, has anyone had any luck connecting their debug board (v3)
to a neo1973? I followed all the instructions here:
http://wiki.openmoko.org/wiki/Debug_Board_v3 (for linux)
but I keep getting 'no valid jtag interface found'. But that doesn't make
any sense because I can see the debug board from my laptop when i do
'lsusb'. Any ideas? Thanks!

Lynn
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Using openocd

2008-08-10 Thread Neng-Yu Tu (Tony Tu)
Hi Lynn-
 Hi all,
 
 I was wondering, has anyone had any luck connecting their debug board 
 (v3) to a neo1973? I followed all the instructions here: 
 http://wiki.openmoko.org/wiki/Debug_Board_v3 (for linux)
 but I keep getting 'no valid jtag interface found'. But that doesn't 
 make any sense because I can see the debug board from my laptop when i 
 do 'lsusb'. Any ideas? Thanks!
 
 Lynn
 
 

Does your openocd using correct setting file? v3 board could connect to 
neo1973, because it basically compatible old boards.

-- 
Tony Tu (Neng-Yu Tu)
Openmoko, Inc.
Support.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Using openocd

2008-08-10 Thread Lynn Nguyen
I believe so. I used the openocd.cfg that is given on the wiki. I've even
followed the steps here:
http://svn.openmoko.org/developers/werner/notes/openocd
which seem to be legit. The step I get stuck on is running openocd. I think
maybe there is something wrong with the libftdi phase? I'm not sure why I
think that though. I just think that because I'm installing that by hand as
opposed to sudo apt-getting it. Is there a way to check that openocd will
use libftdi?

Lynn

On 8/10/08, Neng-Yu Tu (Tony Tu) [EMAIL PROTECTED] wrote:

 Hi Lynn-

  Hi all,
 
  I was wondering, has anyone had any luck connecting their debug board
  (v3) to a neo1973? I followed all the instructions here:
  http://wiki.openmoko.org/wiki/Debug_Board_v3 (for linux)
  but I keep getting 'no valid jtag interface found'. But that doesn't
  make any sense because I can see the debug board from my laptop when i
  do 'lsusb'. Any ideas? Thanks!
 
  Lynn
 
 


 Does your openocd using correct setting file? v3 board could connect to
 neo1973, because it basically compatible old boards.

 --
 Tony Tu (Neng-Yu Tu)
 Openmoko, Inc.
 Support.

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Using openocd

2008-08-10 Thread Neng-Yu Tu (Tony Tu)
Hi Lynn-

Lynn Nguyen ??:
 I believe so. I used the openocd.cfg that is given on the wiki. I've 
 even followed the steps here:
 http://svn.openmoko.org/developers/werner/notes/openocd
 which seem to be legit. The step I get stuck on is running openocd. I 
 think maybe there is something wrong with the libftdi phase? I'm not 
 sure why I think that though. I just think that because I'm installing 
 that by hand as opposed to sudo apt-getting it. Is there a way to check 
 that openocd will use libftdi?
 
 Lynn

Not only use but also version related, I knew some of the libftdi 
version is not working well with openocd.you could try but the lib 
binary in the same folder (How I use it in Fedora 5 before) if you did 
not install ftdi correctly. Maybe other people could give better suggestion.

Tony Tu (Neng-Yu Tu)

Openmoko, Inc.
Support.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community