Forum Discussion
3 Replies
- Deshi_Intel
Regular Contributor
Hi,
Below scenario may affect sw_reset operation as per TSE user guide doc.
- Ensure all existing data transmission and reception is completed before you perform sw_reset
- After sw_reset is asserted high, wait for the software reset sequence to complete before changing any MAC setting (for instance : operating speed and mode (full/half duplex))
- No interruption on the TSE clocking like cable plug/unplug
You can checkout TSE user guide (page 53, figure 18) to learn about some of operation that may interrupt SW_RESET that you need to watchout
Anyway, you can always rely on TSE IP hardware reset if software reset is not reliable. Hardware reset is the superset of software reset that will reset everything in TSE IP.
Thanks.
Regards,
dlim
- Deshi_Intel
Regular Contributor
Hi Joe,
Thanks for additional feedback but can you use back forum community for future issue update ?
The only explanation that I can think off is stepping through Eclipse debugger gives more time for certain function task execution to complete before proceed to next task.
Based on my earlier feedback, sw_reset got stuck is typically caused by some other operation is interrupting the reset sequence as explained in TSE user guide doc.
- Does any data traffic start to run after you release TSE hardware reset ?
- Can you review you design code on the operation before write and after read sw_reset read via command_config register ?
I presume your design flow is as below.
- release TSE hardware reset
- What operation happened here ? can add more delay or pls stop certain operation ?
- Write to trigger sw_reset
- What operation happened here ? can add more delay or pls stop certain operation ?
- Read back sw_reset status
Also, does it work better if you don't use the API and perform access control to command_config register directly ?
Thanks.
Regards,
dlim
- Deshi_Intel
Regular Contributor
Hi Joe,
I had not hear back from you for sometime.
Hopefully you managed to get your project going.
For now, I am setting this case to closure.
Thanks.
Regards,
dlim