Skip to content

Identify/Download Function Breaks Frequently #177

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

Closed
PropGit opened this issue Jul 8, 2015 · 4 comments · Fixed by irkenjs/bs2-programmer#16
Closed

Identify/Download Function Breaks Frequently #177

PropGit opened this issue Jul 8, 2015 · 4 comments · Fixed by irkenjs/bs2-programmer#16
Assignees
Milestone

Comments

@PropGit
Copy link
Contributor

PropGit commented Jul 8, 2015

Very frequently, the Identification and/or Download function stops functioning correctly. I've seen a similar behavior in a previous version but it stopped before I could capture it.

With a BASIC Stamp 2 plugged in and powered up, here's what a good Identification sequence looks like from v0.5.0 on my Chromebook:

image

The Host DTR (Reset) signal and Host Tx break condition (and reflection on Host Rx) looks great, then about 130 ms after break ends, the Host Tx transmits "B", "S", "2" and the Host RX receives the reflections as well as the responses from the module. All is well and the Parallax IDE's Identification overlay looks perfect.

When things go bad, every time I try to Identify, it looks like this:

image

The Host DTR (Reset and Host Tx break conditions still have the same timing as in the good case, but there is no serial transmission (Host Tx of "B", "S", "2", or anything else) at all. Then it seems to reset again. Here's a zoomed-out view. Five resets, like it's trying to identify a BS2, BS2e, BS2sx, BS2p, and BS2pe... but there's no serial data transmitted by Parallax IDE.

image

The only way to recover from this seems to be to close Parallax IDE and restart it.

@PropGit
Copy link
Contributor Author

PropGit commented Jul 8, 2015

This condition happens at seemingly random times. Once it starts, it seems to continue on forever during that session. I haven't figure out all the steps that lead to this issue, but one thing I noticed that creates the failure predictably is:

  • Close and restart Parallax IDE while the BS2 is plugged in and powered
  • Press Ctr+I to do an Identify
    • It should properly identify the Stamp each time you do this
  • Power down the Stamp (do not disconnect it)
  • Click Refresh button [# 1]
    • It can't find the BS2 (understandably)
  • Power up the Stamp
  • Click Refresh button again [# 2]
    • It can't find the BS2 ever again, until Parallax IDE is restarted

[# 1] - Capture from powered-down refresh click. Looks good, it's trying to find each possible model
image

[# 2] - Capture from powered-up refresh click. Parallax IDE fails to send serial data ever again
image

@PropGit
Copy link
Contributor Author

PropGit commented Jul 24, 2015

Doesn't appear to be fixed, or there may be other leaks. See "a more in-depth video" in Issue #194.

@PropGit
Copy link
Contributor Author

PropGit commented Aug 18, 2015

I'm reopening this issue because the repair performed, while it must have improved things, did not fix this problem.

@PropGit
Copy link
Contributor Author

PropGit commented Aug 18, 2015

Closing this issue as it is referenced by a similar issue, #194.

@PropGit PropGit closed this as completed Aug 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants