How to trigger usb reset from the host

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
CSK10
Level 3
Level 3
First like received First like given 50 sign-ins

Hello ,

I want to make use of the interrupt ISR_Ures(void) interrupt 0.
In the TRM it is mentioned that USB host signals a bus reset 
How is that done ?

0 Likes
1 Solution
narolkarvarun
Moderator
Moderator
Moderator
5 likes given 100 solutions authored 250 replies posted

Hi CSK10,

please follow Renumeration in firmware for FX1/FX2LP - Infineon Developer Community 

when you are using mentioned command will re-enumurate device and the host will reset the device.

Thank You

Varun Narolkar

 

 

View solution in original post

5 Replies
narolkarvarun
Moderator
Moderator
Moderator
5 likes given 100 solutions authored 250 replies posted

Hi CSK10,

please follow the TRM document for sending USB BUS Reset please check TRM Document chapter 7.5.

https://www.infineon.com/dgdl/Infineon-EZ-USB_TECHNICAL_REFERENCE_MANUAL-AdditionalTechnicalInformat...

for  handling interrupt please follow chapter  4.

please let me know that exactly what you want to implement.

 

Thank you 

Varun Narolkar

0 Likes

i want to implement a eepromread inside the  ISR_Ures(void) interrupt 0.
For that i want to know how could a reset be signalled from the host side.
I know about the reset but i dont want the firmware that is flashed to be lost 

0 Likes
narolkarvarun
Moderator
Moderator
Moderator
5 likes given 100 solutions authored 250 replies posted

Hi CSK10 ,

can you please let us know which is your host system windows or Linux?

Thank you

Varun Narolkar

0 Likes

Its windows 

0 Likes
narolkarvarun
Moderator
Moderator
Moderator
5 likes given 100 solutions authored 250 replies posted

Hi CSK10,

please follow Renumeration in firmware for FX1/FX2LP - Infineon Developer Community 

when you are using mentioned command will re-enumurate device and the host will reset the device.

Thank You

Varun Narolkar