Exact match. Not showing close matches.
PICList
Thread
'[SX] PBasic on BS2px vs. SX/B on SX48/52'
2005\10\10@104530
by
kvwoodn/a
|
|
I was wondering how PBasic for the BS2px compares feature-wise to SX/B on the SX48/52 chips, say for the protoboard? Without reverting to assembly on the SX, how much of the capacity of the SX chip can be readily accessed with each version of basic in the respective IDEs?
Another question, has there been any brainstorming on a hybrid stamp that would allow you to bypass the PBasic interpreter and program directly in assembly, perhaps with conditional compilation?
Thanks.
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=91028
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
2005\10\10@111418 by Chris Savagen/a
|
|
Kevin,
The commands for the BS2px allow the most control of the SX specific features, however you must bear in mind that the BASIC Stamp's PBASIC is still an interpreted language and cannot include assembly. The SX/B is not being interpreted...It's straight assembly in the end. You also get access to the interrupts, even in SX/B, and you can include in-line assembly in the SX/B as well.
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=91028#m91032
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
2005\10\10@123752 by Coriolisn/a
|
|
[Quoting: "Kevin Wood"]This isn't possible because the programs you download to the stamp are stored in an external eeprom, this means it can only be interpreted because the microcontrollers Parallax uses are Harvard architecture (separate program and data space), the microcontrollers cannot execute commands external to the chip (only code stored in the onboard flash). And that is where the interpreter resides, and if you write into that space you will erase over the interpretor, permanently disabling the Stamp from acting like a Stamp.
Another question, has there been any brainstorming on a hybrid stamp that would allow you to bypass the PBasic interpreter and program directly in assembly, perhaps with conditional compilation?
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=91028#m91046
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
2005\10\10@130323 by kvwoodn/a
|
|
Thanks for the replies.
Chris,
I started wondering after looking at the BS2px datasheet; it seemed that the BS2px gives alot of the features of the SX48, without the need to revert to assembly.
Paul,
Initially I was thinking that the PBasic interpreter was on the external eeprom, and could be bypassed. But given that the interpreter is internal to the SX chip on the stamp, would it be possible to store assembly object code in the eeprom, and have the stamp recognize it as assembly, and run it directly, bypassing the interpreter?
I'm not trying to reinvent the wheel here, it just seemed like a neat idea. As I stated, originally I thought the interpreter was seperate, so I figured why not have two eeproms on the stamp, one for PBasic, the other for assembly, and using the appropriate one based on the code.
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=91028#m91056
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
|
|
No because the chip is locked, you can overprogram it by erasing it but again you will loose your interpretor. The SX (and I think the PICs are the same way) doesn't permit locking of portions of the program space, meaning Parallax would have to leave thier interpretor code open for anyone to steal, something they are not going to do.
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=91028#m91060
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
2005\10\10@131425 by Coriolisn/a
|
|
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=91028#m91062
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
2005\10\10@171051 by Chris Savagen/a
|
|
Kevin,
You are correct to an extent...The px gives you access to many SX features, but some things like the timers and the ISR are unavailable and/or used by the interpreter. And then there's the sheer speed of running 75 million instructions per second. On the other hand the BS2px is our fastest BASIC Stamp and I have found it useful in a few places where a BASIC Stamp was preferred but may have been passed over due to being slightly slower. The BS2px can often take up the slack and increase development time, although I'm sure a colleague of mine (Jon Williams) will say the SX/B is quickly taking up slack in that department too!
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=91028#m91113
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
2005\10\11@102922 by Jon Williamsn/a
|
|
SX/B is a great tool and getting better, but as Chris points out if you would rather trade cost for quick development time, the BASIC Stamp family is still king of the castle. As engineers we are always faced with these decisions -- whatever you decide to do we will be there to assist.
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=91028#m91214
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
More... (looser matching)
- Last day of these posts
- In 2005
, 2006 only
- Today
- New search...