ARM-USB-OCD

well… i had verified the connection, interface and power many a times (rather, each time when i try to make it on) but the problem is still the same.

Even i burned my testing code into the same chip via the virtual serial port using independent flash utility (flash Magic )… it run fine !

thus we can say that the device arm-usb-ocd is working properly … then what other options do i have to recheck the software settings especially for JTAG interface (instead of modifying the .cfg file )??

please reply …

regards,

mayur

Hello mayur,

I belive there is a hardware problem :!:

  1. Do you use the power supply from the ARM-USB-OCD for

your target? In this case try an other one. Use only the JTAG

functionality from the ARM-USB-OCD.

  1. Can you provide us the schematics from your board?

Michael

hello Michael and Dominic

still the problem is not solved!

i agree with u… there must be the hardware problem… but what other faulty possibilities can exist there?? specially when i verified that

  1. there isn’t any problem of ground loop.

  2. i had used the same power provided by the arm-usb-ocd device

( already tried with independent power supply also ).

  1. i had reinstalled the neccessory usb drivers.

  2. the board is working fine with other downloading utilities (like Flash

Magic )

  1. the serial com port of the arm-usb-ocd device is working properly

(thus there won’t be any issue regarding faulty usb cable)

  1. when i used the par-port wiggler device with IAR IDE to interface with

the same board(lpc 2138) … it worked fine!!

  1. all other usb ports ( from Device Manager) except the one on which i

connected my device are disabled.

  1. and finally … i had also connected self powered usb hub.
what else i can do?? shall i send the board schematic to you ??

please take out a moment of ur precious time to reply me !!

Thanks, 'n

Regards,

Mayur

Hello Mayur,

if your board is working with other JTAG hardware, and you could not

test the ARM-USB-OCD on an other target.

Send the ARM-USB-OCD back, this could be the faulty device.

Hello OLIMEX, perhaps you can help here?

Regards,

Michael

Hi,

I read this topic, but with the available info I can only speculate. I can’t see anything about how mayur connects ARM-USB-OCD nor what is his target board, nor what is his power supply, what voltage levels he measure on the microcontroller core etc.

I see he only mention LPC2138 learning kit which he made himself, no schematic, none info if there are pullups pulldowns on the JTAG lines, is the JTAG enabled/disabled? are the Vcc levels within the JTAG working range?

"6. when i used the par-port wiggler device with IAR IDE to interface with

the same board(lpc 2138) … it worked fine!! "

OpenOCD supports Wiggler too, so why mayur don’t try it? then it will be clear if something is wrong with ARM-USB-OCD or he do something wrong with the openOCD installation/setup?

Best regards

Tsvetan

Hi OLIMEX,

very nice to see u replying. well… now i’ll again try explain you what u may want…

my core power requirement is +5v dc . I was using +5v dc power supply but later on i powered the board through the arm-usb-ocd device itself. And before connecting it through usb hub it supplies +4.78 v dc and after… +5.15v dc.

i don’t understand what is to be done to enable the JTAG ? is there any special provision ?

i installed and tried to interface the Wiggler device with openocd also but it prompted the same error msg.

further, i was succeded in downloading the code through the virtual COM port provided on the arm-usb-ocd device itself.

now when the com port interface is ok , what may go wrong with JTAG interface ?

and even if i dont connect the JTAG connector to the board, still get exactly the same error !! so how do can we say that anything gone wrong with the target hardware (board) ?

well… there might go something wrong with my installation procedure … but i had followed exactly the same steps which are mentioned in the pdf document in the CD

please take a glance over my previously posted threads to read the exact error messages i’m getting…

Thanks 'n

Regards

Mayur

mayur:

i don’t understand what is to be done to enable the JTAG ? is there any special provision ?

this says it all, you try to build LPC2138 board yourself but didn’t read LPC2138 datasheets and you don’t know how to enable the JTAG port

I asked you above questions about your schematic, how do you connect the JTAG to LPC2138, are there pullups pulldowns on the JTAG lines?

I don’t ask what is your power supply on the power jack but on your microcontroller i.e. what are the voltage levels on your LPC2138 ports.

mifi: do you understand where is the problem now?

we got at least 2-3 e-mails per week with content like: “hi, I bought your ARM-JTAG and I have never used linux before but want to build linux kernel for my SAM7X256 board, can you teach me how to do this?”

frankly I don’t know what to tell our peoples how to answer questions like this.

best regards

Tsvetan

well well well… i apologize for that kind of answer from me…!

actually i wanted to say that i had already enabled the JTAG ( by installing the JTAG jumper ) on my board . but if there is any other provision for it on the " arm-usb-ocd " device then i dont know about that.

and even if i dont connect the device to my board, i get the same error msg.

soon i’ll send you the schematics of my board .

i hope you will be kind enough to consider my point .

please dont mind !!

Thanks,

Regards,

Mayur

Hi Tsvetan

mifi: do you understand where is the problem now?

Yes I know, sorry mayur, this is a good thread example for it.

The problem is what you mention before.

“Hello I bought xxx and has problem with it.”

The big problem is now to get all information which is needed for the puzzle.

Perhaps we need a stick note on the forum, like

what to provide for information for faster help.

I will create a new thread that we can discuss the information

which is needed.

Regards,

mifi