2005-09-27 04:24 AM
2005-09-19 09:13 PM
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 Julien2005-09-20 06:03 AM
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 ]2005-09-22 05:10 AM
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...2005-09-22 08:21 PM
This is what I have (EWARM 430A & STR710 MB393 eval board), and I don't have another board.
Regards Julien2005-09-25 01:21 AM
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
2005-09-26 10:10 PM
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. Manu2005-09-26 10:46 PM
Why not,
you can contact me by e-mail or by phone. Regards Julien2005-09-27 03:50 AM
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 ]2005-09-27 04:24 AM
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 ]