Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wait for the P2 identification response longer to support SD card-based P2s #131

Closed
PropGit opened this issue Mar 9, 2021 · 2 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@PropGit
Copy link
Contributor

PropGit commented Mar 9, 2021

When an SD card (with code?) is connected to the P2, the P2's boot process takes longer to respond after reset. This causes the Propeller Tool to fail to identify the P2 upon download.

@PropGit PropGit added the bug Something isn't working label Mar 9, 2021
@PropGit PropGit self-assigned this Mar 9, 2021
@PropGit
Copy link
Contributor Author

PropGit commented Mar 13, 2021

Added P2 Post-Reset Delay preference setting. Post-Reset Delay imparts an extra delay between the reset pulse (DTR or/and RTS) and the start of the serial transmission (Tx). Range of 1 to 500 ms; default is still at 10 ms.

Found that 100 ms to 120 ms successfully identifies and programs the P2 when either flash or SD is enabled; however, the window is too tight to be dependable across PC hardware. Opted to leave it as the default and user can adjust as-needed to meet their needs.

image

@PropGit
Copy link
Contributor Author

PropGit commented Mar 15, 2021

This is fixed; however, there may be a more automatic and robust solution. Created issue #140 to address that at a later time.

@PropGit PropGit closed this as completed Mar 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant