Parallax Serial Terminal interferes with program.
Harprit
Posts: 539
I am running a PST as a part of a program
It runs in its own Cog
It has plenty or memory and I am not displaying much
If I comment out the PST cog everything runs fine
If I run it things go nuts
I am running motor on pins 4, 5 and 6 there is nothing on pins 30 and 31 except the standard eprom
It calls no I/O, it defines no I/O.
The PST cog changes no variables in any way, it displays them only
This is my second time using the PST, I had no problems the first time.
Harprit.
It runs in its own Cog
It has plenty or memory and I am not displaying much
If I comment out the PST cog everything runs fine
If I run it things go nuts
I am running motor on pins 4, 5 and 6 there is nothing on pins 30 and 31 except the standard eprom
It calls no I/O, it defines no I/O.
The PST cog changes no variables in any way, it displays them only
This is my second time using the PST, I had no problems the first time.
Harprit.
Comments
What other issues do I need to know about
H
Your comment that nothing is on P30,31 except the standard eeprom - you mean the eeprom is on P28,29 don't you?
When you say it does not use any I/O or pins. What pins did you configure PST to use (30,31) ?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:
· Home of the MultiBladeProps: TriBlade,·RamBlade,·SixBlade, website
· Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
· Prop Tools under Development or Completed (Index)
· Emulators: CPUs Z80 etc; Micros Altair etc;· Terminals·VT100 etc; (Index) ZiCog (Z80) , MoCog (6809)·
· Prop OS: SphinxOS·, PropDos , PropCmd··· Search the Propeller forums·(uses advanced Google search)
My cruising website is: ·www.bluemagic.biz·· MultiBlade Props: www.cluso.bluemagic.biz
You might have hit it on the head.
Harprit
You are right on the 30 31 and 28 29
I tried figuring 30,31 and input and output and visa versa, nothing works
Tried them both as inputs and both outputs, nothing works
tried ignoring both, nothing works
I have nothing connected to these pins
Reading some of the registers seems to get screwed up
Only thing that works is commenting out the Cog start up for the PST.
Then it work fine but the PST is dead so I cant see what is going on.
H
Entire code attached
H
You should be able to merge e.g. StrtFlag and Mov_Mtr. It's SPIN after all.
Post Edited (kuroneko) : 6/26/2010 6:37:21 AM GMT
Thank you so much
I was oblivious to the fact that there is that first Cog! (Newbie!)
There were no other issues
The thing runs fine now
There are some really stupid mistakes in my book too but no one has caught them yet!
They will.
Thank you so much.
H
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Propeller Pages: Propeller JVM
They are tiny things like getting some drawn in LEDs backward. (copied in AutoCAD and then not rechecked)
Some minor errors in commenting (again from copying code from place to place).
There are 124 pages of code! A slip or two got by me.
There are no big problems so it will be quite all right
Nothing to get yucked out about. No crashers.
So far there have been no complaints, quite the contrary.
Do you have a copy of the book or this a third party yuck!
H
I've seen your code. Why should I think the rest would be any more enlightening?
Still, everyone is allowed stupid mistakes.
Some of the comments I've seen you make about what you don't know are curious.
Seriously, are those comments self-deprecating humor or attempts at humility?
I'll try to avoid further non-constructive comments since I don't really want to hurt you.
--Steve
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Propeller Pages: Propeller JVM
Non-constructive comments (your words) are not moving it forward.
I am pretty much sure that there in nothing in the book that would teach you anything. Its really simple stuff.
It is not for guys like you. On the other hand guys like you have not written a good beginners book. I think
you dropped the ball. I can hardly blame myself for that relapse.
My book is for beginners. Beginners seem to like it. That gives me some satisfaction but more importantly
it moves the conversation forward. More Propellers will be used. There will be happy learners. Parallax will make
money and so bring forth bigger, faster and more interesting goodies. I will have been a part of it!!
And I really don't know, its not a joke and its not humility. My undergrad work is as a mechanical engineer
My graduate work is in materials. I spent a lot of time working in refractories for the steel industry. Electronics
if pretty much Greek to me. I have to think twice about what the flat on the LED indicates. On the other hand
I am a scientist and it is a part of my training to find and use information effectively. In the book I found what
what I thought beginners needed to know and put it down in an orderly manner. Its not rocket science and
beginners seem to rather like it. I am pleased, you are not, and I wonder why.
The more books there are about the Propeller the better it is for all of us. Where does getting all yucked out about a
seemingly popular book you have not even seen much less read fit it. Me thinks you need to reconsider.
Regards
Harprit
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:
· Home of the MultiBladeProps: TriBlade,·RamBlade,·SixBlade, website
· Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
· Prop Tools under Development or Completed (Index)
· Emulators: CPUs Z80 etc; Micros Altair etc;· Terminals·VT100 etc; (Index) ZiCog (Z80) , MoCog (6809)·
· Prop OS: SphinxOS·, PropDos , PropCmd··· Search the Propeller forums·(uses advanced Google search)
My cruising website is: ·www.bluemagic.biz·· MultiBlade Props: www.cluso.bluemagic.biz
Yes indeed.
I am working on it for the encodergeek.com website even as we type.
They will be posted as they are discovered and/or relayed to me.
They will not be on the McGraw Hill site as it is too inconvenient and bureaucratic to do daily.
Once the list looks mature it will be added to the McGraw Hill site.
Harprit
http://encodergeek.com/PropError.html
This list will be updated from time to time as more information becomes available.
Harprit
Post Edited (Harprit) : 6/27/2010 7:00:55 PM GMT