cancel
Showing results for 
Search instead for 
Did you mean: 

Binary to test USB on MB393

julien239955_stm1
Associate II
Posted on September 27, 2005 at 13:24

Binary to test USB on MB393

9 REPLIES 9
julien239955_stm1
Associate II
Posted on September 20, 2005 at 06:13

Ok, so I still have no answer from the moderators, maybe they don't have a binary to test USB on eval board MB393...

If anyone has a binary I could download on the eval board with WinIdea (ubrof or elf format, or even the project using IAR cross compiler), I would really appreciate.

Thanks

Julien

julien239955_stm1
Associate II
Posted on September 20, 2005 at 15:03

Thanks for the project Zouh,

But I am still stuck in the NOP process in the Mouse_init() routine, in the Interrupt Status Register, I have the RESET and the ERR bit set to 1. So it looks like the USB IP receives a reset request. The CNTR value is set to BF00, so the mask is ok, but it's like the interrupt is not serviced.

Any Idea?

[ This message was edited by: ruliano on 20-09-2005 18:49 ]

julien239955_stm1
Associate II
Posted on September 22, 2005 at 14:10

Zouhair,

if I use your project under IAR workbench IDE and start the debug session it should work straight away?

I thought it was because of the probe that it didn't work, so I decided to try it with the flash programmed.

When I remove the jtag connector and reset the eval board, I can see the message ''STR71x HID Mouse demo'' in my hyperterm, but nothing goes on when I plug the USB. So the same result as in debug mode...

I really don't know what to do right now...

julien239955_stm1
Associate II
Posted on September 23, 2005 at 05:21

This is what I have (EWARM 430A & STR710 MB393 eval board), and I don't have another board.

Regards

Julien

nopti_albe
Associate II
Posted on September 25, 2005 at 10:21

I had the same problem. You need to check with a scope what are the signal levels on D+ and D- of usb. if they are both one you have the same problem that i had. I changed from the 0ohm rezistors on all the usb part and it worked from first try. You need to read more about usb standard and check with a scope

Posted on September 27, 2005 at 07:10

Hello Julien,

It seems we have the same toolchain :

WinIDEA 9.5

EWARM 4.30A

My JTAG debugger is the Ione from Isystem.

I have problems in porting ''ready to use'' projects builded for IAR IDE to WinIDEA.

Maybe we could exchange tips.

Manu

julien239955_stm1
Associate II
Posted on September 27, 2005 at 07:46

Why not,

you can contact me by e-mail or by phone.

Regards

Julien

julien239955_stm1
Associate II
Posted on September 27, 2005 at 12:50

Quote:

On 25-09-2005 at 13:51, Anonymous wrote:

I had the same problem. You need to check with a scope what are the signal levels on D+ and D- of usb. if they are both one you have the same problem that i had. I changed from the 0ohm rezistors on all the usb part and it worked from first try. You need to read more about usb standard and check with a scope

Tudor,

What kind of modifications did you make on the board?

Did you remove the 0Ohms resistors (R13, R14) and put a strap?

Regards

Julien

[ This message was edited by: ruliano on 27-09-2005 16:22 ]

julien239955_stm1
Associate II
Posted on September 27, 2005 at 13:24

PROBLEM SOLVED !!!!!!

So, after truning around in the code, thinking it was a software problem, I decided to look into the Hardware,

ONE OF THE PINS OF THE RESISTOR (R14) ON USB PATH WAS BADLY SOLDERED !!!!!!!!!!!!

So be carefull, if your USB application example doesn't work from first try, it comes from these resistors.

I had another board with the same symptoms, so it could be a whole defective series... (mine is MB393-2.05 SN: 200531017)

I could have spent month trying to debug my software if I relied on the hardware...

ST guys, you should look after your prod...

Regards

Julien

[ This message was edited by: ruliano on 27-09-2005 16:57 ]

[ This message was edited by: ruliano on 27-09-2005 17:26 ]