Some questions about Using SX52 and SX-Key
ieSX52
Posts: 15
··Hi every one.
··· I have only learned·assembly ·language for·one month and read a lot of information of the SX. Well, there are some questions which has puzzled me for a long time. Fortunately, I find this forum and successively decide to post these questions just to you to help me understand the SX52.
··· 1.·I bought a SX52BD/PQ AB0326AB·chip and a SX-Key.When I·compiled my source code in SX-Key 2.02 and SX-Key 3.0, it can not be compiled successfully and errors comed out. But it can be done well in SXKey52. ·I think it may be wrong with syntax.Well,The main problem is that I bought a board called 'SX52·embedded MCU network protocol solving design' and this board is not like SX tech or other board in the manuals provided in·Parallax's·site.
··· 2. can i program my SX chip with BASIC by using SX-Key?What is Basic Stamp, a type of chip or card?·I should buy a··Basic Stamp, shouldn't I?
··· 3. what are the differences between··BASIC and assembly in terms of·the usage?
·· ·I hope some of you can help me and give me some advice.Thanks in advance.
··· Foxboy
·
··· I have only learned·assembly ·language for·one month and read a lot of information of the SX. Well, there are some questions which has puzzled me for a long time. Fortunately, I find this forum and successively decide to post these questions just to you to help me understand the SX52.
··· 1.·I bought a SX52BD/PQ AB0326AB·chip and a SX-Key.When I·compiled my source code in SX-Key 2.02 and SX-Key 3.0, it can not be compiled successfully and errors comed out. But it can be done well in SXKey52. ·I think it may be wrong with syntax.Well,The main problem is that I bought a board called 'SX52·embedded MCU network protocol solving design' and this board is not like SX tech or other board in the manuals provided in·Parallax's·site.
··· 2. can i program my SX chip with BASIC by using SX-Key?What is Basic Stamp, a type of chip or card?·I should buy a··Basic Stamp, shouldn't I?
··· 3. what are the differences between··BASIC and assembly in terms of·the usage?
·· ·I hope some of you can help me and give me some advice.Thanks in advance.
··· Foxboy
·
Comments
Parallax is a company that created the BS1 and BS2. The BS2 is a 24-pin wide DIP module, which has a PIC 16C54 on it programmed with the PBasic run-time library. In addition, it has an on-module EEPROM for Basic Token and Data storage, an on-module resonator for clock generation, an on-module voltage regulator so you can power the module with 7 to 24 volts DC, and a couple of on-module transistors which implement an RS-232 level shifter for the programming port.
This module is incredibly useful. With all these resources on a single 24-pin wide DIP, all you add is a 9-volt battery and you are in business. The programming environment is a serial cable to a PC running the PBasic IDE. For ease of prototyping Parallax sells a "BOE" (Board Of Education) platform which accepts the BS2 and provides a DB-9 connection to your PC. It also has some prototyping space (one of those white-plastic plug-boards).
However, this module only runs at about 2000 Basic Instructions per second. So while fast for a human, it's slow for a microprocessor. Even so, it's incredibly easy to program, and provides a nice real-time interface.
Now, recently Parallax has been porting certain Basic keywords to their SX/B platform. This is a compiler/assembler that supports the SX chips. This platform is NOT 'interpreted' as the BS2 is, instead they generate SX assembly code from Basic keywords in-line. The SX chip runs at 50 Mhz, so gets 50 Million assembly instructions per second -- quite a lot faster than the 2,000 Basic instructions per second of the BS2.
So, it depends where you are in your learning/application and what you want to do. If you want to have a simple module to try stuff out, the BS2 is really easy to use. If you know how to apply microprocessors already, you might want to proceed with the SX-Key and SX/B IDE.
They are VERY different devices and platforms. The BS2 has LOTS more documentation and tutorials available than the SX, at this point.
To answer your question:
1. SX/B does not yet support the SX52. It does support the SX-18 and SX-28. The SX-Key and SX assembler DOES support the SX-52.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"SX-Video Display Module" Available Now.
www.sxvm.com
"A problem well defined, is a problem·half solved."
·
does anyone know the product called 'IESX52 embedded network singlechip'?
Post Edited (Foxboy) : 4/28/2005 1:57:16 PM GMT