tricks with B registers
Bobb Fwed
Posts: 1,119
I have hear mention of some tricks that may be performed (at least with PASM) using the DIRB, OUTB, and INB registers. The thing I was reading (don't remember what) said they were going to right some info on it later. Seeing as I don't remember where I read it, it is difficult to follow up on it.
Are there any special things you can do with them. I was hoping for being able to use WAITPEQ with it, but that only works on input changes (it appears).
I have a couple days here while my project is being printed and delivered to learn some new mastery of the Prop.
Are there any special things you can do with them. I was hoping for being able to use WAITPEQ with it, but that only works on input changes (it appears).
I have a couple days here while my project is being printed and delivered to learn some new mastery of the Prop.
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Need to make your prop design easier or secure? Get a PropMod has crystal, eeprom, and programing header in a 40 pin dip 0.7" pitch module with uSD reader, and RTC options.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
April, 2008: when I discovered the answers to all my micro-computational-botherations!
To what I have herd though they need to be able to sell at least 10,000 units to make worth while. May be more not sure.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Need to make your prop design easier or secure? Get a PropMod has crystal, eeprom, and programing header in a 40 pin dip 0.7" pitch module with uSD reader, and RTC options.
Putting the Prop I in a BGA pack or any other package wouldn't help you. The chip itself does not have the "B" I/O circuitry. It doesn't exist on the chip. There's nothing to connect to.
There was a message some time ago that Parallax was in the process of designing a Prop I that did have the 2nd set of I/O. There is a bug in the chip design software that Parallax is using for the Prop I and it's impossible to verify the design with the current software. Without the verification, they can't go on to build prototypes and the software vendor is in no hurry to fix it for some reason. Basically it's on hold and the Prop II may be done before the Prop IB.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Need to make your prop design easier or secure? Get a PropMod has crystal, eeprom, and programing header in a 40 pin dip 0.7" pitch module with uSD reader, and RTC options.
A cog running PASM ordinarily must wait for hub access to get at the shared longs in hub memory.· As I read the manual, however, the B I/O registers can be accessed at any time by any cog without waiting for a hub window.· So, if I'm interpreting the manual correctly, some time can be saved by using these I/O registers for trading info among cogs.· Care would be required, of course, to avoid errors resulting from simultaneous accesses.· But frankly that's pretty easy if the same guy is writing the code for all the cogs, and that guy is any good at it.
O ye who know more than I do (several of you), am I correct in this?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
· -- Carl, nn5i@arrl.net
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
· -- Carl, nn5i@arrl.net
-Phil
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
· -- Carl, nn5i@arrl.net
I used the first 4 shaddow memory longs in my debugger to execute code from there -see PASM and SPIN debug with Zero Footprint http://forums.parallax.com/forums/default.aspx?f=25&m=290946 for more information.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:
· Home of the MultiBladeProps: TriBladeProp, SixBladeProp, website (Multiple propeller pcbs)
· Prop Tools under Development or Completed (Index)
· Emulators (Micros eg Altair, and Terminals eg VT100) - index
· Search the Propeller forums (via Google)
My cruising website is: ·www.bluemagic.biz·· MultiBladeProp is: www.bluemagic.biz/cluso.htm
Even if If they do sync every hub window, it would allow you to pass 2 longs to hub, 1 address + 2 longs to the next cog, ect allowing for 1 cog to get uninterrupted access to the main ram or allowing it to only have to wait a single window no matter where in the cycle the hub is?
I have been wracking my brain for months for a way to expand the cog ram size with out going LMM and being forced to wait for the hub sync.
TJ
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I owe everyone here a bunch, So thanks again for answering my dumb questions.
Projects. RG500 ECU system. PropCopter. Prop CanSat. Prop Paste Gun.
Suzuki RG500 in a RGV 250 frame.
Bimota V-Due (Running on the fuel injection system)
Aprilia RS250
-Phil