Post spin2gui problems here
ersmith
Posts: 6,053
in Propeller 2
Here's a thread for talking about problems using spin2gui.
Comments
Did you read my second message in the thread? The screenshot you posted in the p2gcc thread showed that you had commented out the definition of the "ser" object. That was a mistake, because you were still trying to use it.
If you have some other problem, please describe it fully. "Spin2gui won't let me do it" isn't enough to go on, I'm afraid. I have definitely run plenty of programs in multiple cogs, and so have other people, so it is possible to achieve.
I use spin2gui for development of that driver (just broke it again last night) and my test files are included in where you got the driver itself.
The testrunner uses multiple copies of the driver, but since you just need two ports you do not need two copies of cogserial, one copy can run both ports independent from each other.
all commands provide a optional 'port' parameter, which can be 0 for port 0 and 1 for port 1. Use start2 to start 2 ports.
Enjoy
Mike
PUB start(rxpin, txpin, mode, baudrate)
return startExt(rxpin, txpin, baudrate, baudrate, _rxmode, _txmode)
PUB startExt(rxpin, txpin, rxbaudrate, txbaudrate, rxmode, txmode)
stop
This all I see. I have looked at all of the code and do not see "start2"
Martin
Is there a newer version??
the one I have says this at the top:
buffered smart pin serial object for P2 Eval board, buffering rx/tx in the Cog
I will look at github
http://forums.parallax.com/discussion/comment/1465088/#Comment_1465088
you will need cogserial.spin2 and cogserialpasm.spin2
Enjoy!
Mike
High speed USB works with both Fastspin and Pnut.
But, low speed only works with PNut.
This is PNutv_32j.
Could you be more specific than "only works with", please? If you mean "it does not compile", then that's probably the issue with missing if_01, if_10, etc., which was reported elsewhere and is fixed in github. If you mean "compiles but does not work" then that's a head scratcher, because when I tried it PNut and fastspin produced the same binary. But that is the most recent fastspin, which hasn't made it into a release yet.
Even works like it should for with high-speed mouse.
Doesn't work with low-speed mouse or keyboard...
Have you had a chance to compare the binaries and/or listing files that PNut and fastspin create? I only have PNut_v32i, not j, but I thought the only difference was an increase to the symbol table size, and when I tried compiling USBBootMouseKbdLite.spin2 I got the same results for PNut and fastspin.
I've attached my latest fastspin.zip, which is a pre-release -- it should be fine for PASM and Spin, but I've modified some of the internal code for C and BASIC so those need a bit more testing before I release it.
@ersmith
For msrobots I will look at the link.
for ersmith, I understand that fastspin is part of spin2gui???
How do I link your new fastspin code to the existing code??
Thanks to all.
Martin
It's not a high priority though -- I posted the beta fastspin.zip for Rayman to try to make sure that it did fix his USB compilation problem (the specific issue was that the IF_1X and IF_X1 condition codes were mixed up). There will be an official release of both spin2gui and fastspin in the next few days.
Martin
I was successful with the upgrade of fast spin. Thank you.
Someone told me that I could change the baud rate for spin2gui by going to the configure commands window. I do not see anything regarding the serial terminal and baud rate.
Any suggestions??
Thanks
Martin
what is going on??
basic examples please
You're going to have to give us more details here. What routines were you trying to run? What errors did you get? Start with one example and show us what went wrong, and we can go from there.
Are you able to run the example programs that come with spin2gui, in the samples/ folder?
Martin
What am I missing? Been away for years and would like to play with Prop 2 when avail for people like me.
Thanks in advance!
Ken
Here's the latest:
https://github.com/totalspectrum/spin2gui/releases/download/v1.3.9/spin2gui.zip