Please add these features
davids
Posts: 64
Hello everyone,
Just a quick post.· You'll most like get tired before you finish it.
I haven't really used basic stamp much any more, I still program short programs in it to get larger programs debuged in MPLAB.· I wouldn't like to draw reposts like. ·"This is not a simulator/complier" its not the point a user should be able to run a program in the development·enviroment stage·and see the·code extract with pins being openly visible to the·user, a timer function to see how long·a subroutine has taken to extract.·In respect to breakpoints, great idea love it.
I'd·greatly imbrace·a variable clock speed accross the BS2 range,· maybe allow the user to·select the speed of the processor (2Mhz to 20Mhz) to start with.··A function to preform interrupts on maybe two pins, maybe Add a INTERRUPT PIN (A or or even both.
PS hope I don't step on too many·fingers,
David
Just a quick post.· You'll most like get tired before you finish it.
I haven't really used basic stamp much any more, I still program short programs in it to get larger programs debuged in MPLAB.· I wouldn't like to draw reposts like. ·"This is not a simulator/complier" its not the point a user should be able to run a program in the development·enviroment stage·and see the·code extract with pins being openly visible to the·user, a timer function to see how long·a subroutine has taken to extract.·In respect to breakpoints, great idea love it.
I'd·greatly imbrace·a variable clock speed accross the BS2 range,· maybe allow the user to·select the speed of the processor (2Mhz to 20Mhz) to start with.··A function to preform interrupts on maybe two pins, maybe Add a INTERRUPT PIN (A or or even both.
PS hope I don't step on too many·fingers,
David
Comments
I think you can do all of that with the SX microcontroller. Using SX/B it is somewhat similar to PBasic (with some pluses and some minuses).
You can see the code generated.
Timer function - SX has periodic interrupts or you can use SXSim to see how many clocks a routine would take.
Breakpoints - SX has got 'em, along with variable WATCHes
Variable clock speed - SX can run from 32KHz to 75MHz
Interrupt Pins - SX has got 8 of them.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"SX-Video·Module" Now available from Parallax for only $28.95
http://www.parallax.com/detail.asp?product_id=30012
"SX-Video OSD module" Now available from Parallax for only·$49.95
http://www.parallax.com/detail.asp?product_id=30015
Product web site: www.sxvm.com
"Ability may get you to the top, but it takes character to keep you there."
·
I don't think anyone is easily insulted here. The PICs are great, but they have their own draw backs.
One is they have an immense amount of documentation to read. If you are just trying to learn assembly, the many different platforms and variations might really bog you down [noparse][[/noparse]12 bit, 16 bit, 18 bit and so on] The SX comes in merely two versions with the same about of bits [noparse][[/noparse]memory paging is doubled and different].
The other drawback is that you really have to depend on switching hardware to get the functions you want.
Sometimes that is great because you find the right chip and the hardware makes it easy to code. At other times, you might wish that you could make a Virtual Peripheral (tm) in software [noparse][[/noparse]actually you can do that with a PIC, but where do you learn to program Virtual Peripherals (tm) and where do you get the speed to really make them buzz along?].
I think that you will find SX Assembly a bit easier to code too. The mneumonics are more obvious and you don't have that pesky little direction Bit on move instructions.
Still, you can see that I am trying to learn both. After all, nothing bars learning as much as contempt prior to investigation.
As you can see, I put in the (tm) because Virtual Peripherals is a trademarked and original concept of the SX.· You are learning it at the source and not via a second hand interpretation adapted to the PIC.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"When all think alike, no one is thinking very much.' - Walter Lippmann (1889-1974)
······································································ Warm regards,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan
Post Edited (Kramer) : 2/4/2006 3:24:27 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·1+1=10
I don't think it would really cost that much to develop, just modify one of the current BS2 series. But for the user, it would offer the ease of use of the BS2, and the horsepower of the SX when needed. Sure it would cost more than individual SX chips, but for those not interested in starting with a discrete SX chip, it would be a great upgrade.
Edit:
If it isn't feasible to put the programming headers on the chip for dev-board compatibility, an SX-Key to Serial adapter could be used. But the general idea is being able to pull the BS2 and pop in the SX-Stamp with no hardware mods necessary.
Post Edited (Kevin Wood) : 2/4/2006 4:34:50 PM GMT
So the question is... if we put the pads back onto the SX module, would you (or anyone) actually purchase it -- sans PBASIC interpreter -- for use in your own projects and would you accept a fixed clock frequency (likely 20 MHz)? SX/B would be quite useful, you'd have the RB and RC ports, with RA being used for the quasi-serial (Stamp programming) port and I2C interface to the EEPROM.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
I think the BS2 success has shown the viability of the module format, and I think consumers would also see the value. Some benefits would be compatability with current dev boards, increased performance and flexibility, and greater ease of use for the average consumer. One potential market is the educational market, which could offer ASM/C courseware using the same BoEs already purchased, just by upgrading the Stamp module. For the EE types, the SX chips are still available for OEM, or to get full access to I/Os.
I personally think that there are users that might be interested in the performance that the SX gives, but aren't sure about the technical ability overhead that comes with it. There is a lot more that the user needs to be aware of. Some people are interested in the details of the process, others only want the end results.
I'm not trying to talk Parallax into anything, but I do think the idea has merit.
A problem. If you put the 20Mhz resonator on the SX-Stamp you will not be able to debug code [noparse]:([/noparse]
I think the SX52 ConCarne had a 3 pin socket on it for the resonator. That would work [noparse]:)[/noparse]
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"SX-Video·Module" Now available from Parallax for only $28.95
http://www.parallax.com/detail.asp?product_id=30012
"SX-Video OSD module" Now available from Parallax for only·$49.95
http://www.parallax.com/detail.asp?product_id=30015
Product web site: www.sxvm.com
"Ability may get you to the top, but it takes character to keep you there."
·
Just so that I'm not misquoted, my agreement with Kevin's position does not mean this will become a product. Producing modules is expensive and we may not be able to justify the expense for a low-volume product.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
TRUE if you want to use basic stamp software you must buy the hardware e.g BOE BS2 stamps.
TRUE you can't use a different simulator to test code before writting to a chip.
TRUE you can't even debug a program without the board in.
Regards
David
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
I think it would be possible to simply use the BS2p24, using an unprogrammed SX chip & leaving off the interpreter. Jumpers/wires could be soldered on if need be to tie the interpreter pads to ground or other locations. If this is possible, the impact production-wise would be minimal.
I don't think you would have a problem with the learning curve issue. Parallax is already working on that with SX/B, and all of the current SX efforts. Whereas SX/B is an effort to make the software side easier to transition, the Stamp format would (IMO) do the same from a hardware perspective.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax