Shop OBEX P1 Docs P2 Docs Learn Events
[Solved] Program works only when connected to PC via USB -- but I want to cut the cord! — Parallax Forums

[Solved] Program works only when connected to PC via USB -- but I want to cut the cord!

mparkmpark Posts: 1,305
edited 2024-02-26 03:02 in Propeller 1

I am dusting off an old project built on a USB protoboard. The program emits a lot of serial data that shows up in the Parallax serial terminal; so far so good. I actually don't care about the data and want to run the program disconnected from the PC, but when I try, the program does not work reliably. It'll do its thing for a little while, then stop briefly, then start working again, then stop... Not sure if it's rebooting or what. I assume the problem is related to the serial data having no place to go.

I vaguely recall that this was a known issue back in the day. Anyone remember what's going on and how to work around it?

I tried commenting out the term.init call (term being fullduplexserial) but that didn't help. In fact I think the program stopped working altogether, though it's hard to tell.

Any help appreciated!

Comments

Sign In or Register to comment.