Shop OBEX P1 Docs P2 Docs Learn Events
How to Start hardware of 2Quick start board ...?? - Page 2 — Parallax Forums

How to Start hardware of 2Quick start board ...??

2456

Comments

  • LeonLeon Posts: 7,620
    edited 2011-07-07 09:36
    If you use a DIL Propeller chip and an EEPROM to store the program you can plug them into a different target board, after the EEPROM is programmed.
  • RITESH KAKKARRITESH KAKKAR Posts: 254
    edited 2011-07-07 21:22
    f you use a DIL Propeller chip and an EEPROM to store the program you can plug them into a different target board, after the EEPROM is programmed.

    OK, how to use this does it require QS board also?? Like PIC we can use it??
  • RITESH KAKKARRITESH KAKKAR Posts: 254
    edited 2011-07-07 21:23
    One more doubt, cam we copy 8bit EEPROM (2864) also by this QS or only serial EEPROM??
  • Mike GreenMike Green Posts: 23,101
    edited 2011-07-07 21:45
    The program is not stored in the Propeller chip. The Propeller has no built-in EEPROM or flash memory, only SRAM which disappears when the power goes off. The Propeller uses an external serial EEPROM to store its downloaded program and that EEPROM (and the Propeller) is soldered onto the QuickStart board. There are other Propeller boards that use a socketed EEPROM and a socketed Propeller like this.

    If you want to do the wiring and the programming, you should be able to copy 8 bit parallel EEPROMs or serial EEPROMs, but the Propeller can only use a 32K or larger serial EEPROM for its program storage. There are no existing programs that I know of to do the parallel EEPROM copying. You can use FemtoBasic or DongleBasic to copy serial EEPROMs one 32K section at a time.
  • Duane DegnDuane Degn Posts: 10,588
    edited 2011-07-07 21:55
    The Propeller should be able to read and write to an 8-bit EEPROM.

    You'll need a program for the Propeller to do it. The only EEPROM I've used are like the ones used to boot the Propeller.

    You might want to see if you can understand a driver for reading and writing to the serial EEPROM I sent you. Once you understand how that driver works you should be able write your own driver for the 8-bit EEPROM.

    I wrote a driver for some stacked SRAM. I stacked eight serial chips which gave the module an 8-bit data bus.

    I posted code in the thread.

    You might be able to adapt it for your other EEPROM.

    At least you can see how to read and write eight bits at a time.

    There's a link to the thread:

    http://forums.parallax.com/showthread.php?131954-My-attempt-at-23K256-SRAM-drivers.-Includes-8-bit-version.

    Duane

    Edit: I hadn't seen Mike's post when I wrote my reply.
  • Duane DegnDuane Degn Posts: 10,588
    edited 2011-07-07 22:00
    @ Mike and others,

    I also sent Ritesh a 64K DIP EEPROM (the kind we use with the Prop).

    Keep that in mind when giving Ritesh suggestions. Maybe it could be useful.

    Duane
  • RITESH KAKKARRITESH KAKKAR Posts: 254
    edited 2011-07-08 02:42
    I think when i want to make project then i have to place whole QS board in box or on robot body like this i need individual QS board for making different projects, is this true??
  • Duane DegnDuane Degn Posts: 10,588
    edited 2011-07-08 07:49
    I think when i want to make project then i have to place whole QS board in box or on robot body like this i need individual QS board for making different projects, is this true??

    I personally plan to use QS boards in many of my projects. It's an easy and relatively inexpensive way to add a Propeller and USB communication to a project.

    I've used other boards with the QS. I just plug the other board into the 40 pin header. I have some pictures of a small board in this thread.

    http://forums.parallax.com/showthread.php?132216-Modified-QuickStart-Demos-and-QuickStart-Projects.

    You could also use the QS with a larger board.

    You don't need to use the QS board though. There are also bare chips.

    You could use the Propeller DIP chips as Leon and Mike have pointed out.

    http://www.parallax.com/Store/Microcontrollers/PropellerChips/tabid/142/CategoryID/73/List/0/SortField/0/Level/a/ProductID/332/Default.aspx

    You also need an EEPROM chip. You want at least a 32K EEPROM. You could also use a 64K or 128K if you want to use the extra memory for data storage.

    This is a link to a 32K EEPROM.

    http://www.parallax.com/Store/Components/AllIntegratedCircuits/tabid/154/CategoryID/73/List/0/SortField/0/Level/a/ProductID/400/Default.aspx

    If you want faster and/or more precise timing than you'd get with the Propeller's internal oscillator, you would also want a crystal.

    A 5MHz crystal is probably the most common used with a Propeller. Here's a link.

    http://www.parallax.com/Store/Components/ResonatorsCrystals/tabid/153/CategoryID/73/List/0/SortField/0/Level/a/ProductID/341/Default.aspx

    6.25MHz crystals can also be used to overclock the Prop.

    If you make your own board using the above components, you could use the wiring diagram in the Propeller Education Kit ebook (PEK) to see how everything should be connected. One thing the PEK doesn't show is the use of 0.1uF decoupling capacitors at each Vdd pin of the Prop. These caps are important.

    As the PEK shows, the Propeller and EEPROM can be programmed using a Prop Plug.

    http://www.parallax.com/Store/Microcontrollers/PropellerAccessories/tabid/786/CategoryID/85/List/0/SortField/0/catpageindex/2/Level/a/ProductID/398/Default.aspx

    I haven't tried using the QS in place of a Prop Plug yet, but I think it might be able to be used as one since it has a USB connection and I think all the needed pins can be accessed from the header.

    As is frequently pointed out by one of our esteemed forum members, there are frequently less expensive microcontrollers than the Propeller that one could use to solve a problem.

    I think the virtue of the Propeller is it is so useful for so many applications that if cost isn't a high priority then a Propeller will probably work just fine.

    I myself don't want to have to learn to program a bunch of different uCs. I think the Propeller is fun to program and I'd rather use it in my project than a different uC even if the Propeller costs more than the other uC.

    There are many applications where the Propeller is the best uC for the job. As I mentioned, it is a great uC for robots. You can use a Prop to show text or graphics on a TV. It can also output to VGA.

    There are a lot of other ways of using a Prop in a project than with a QS board or the DIP chips. I often use Parallax's Propeller Protoboards for my projects. There are lots of different options to choose from when using a Propeller in a project. Many forum members sell boards using Propeller chips they have designed.

    Duane
  • RITESH KAKKARRITESH KAKKAR Posts: 254
    edited 2011-07-08 08:31
    6.25MHz crystals can also be used to overclock the Prop.

    What is of overclock??

    i am learning it instruction from it data sheet but, there should more tutorial video of it, as there are many on others up,uc,etc......................
  • LeonLeon Posts: 7,620
    edited 2011-07-08 08:38
    Running it faster than the clock rate in the specification.
  • RITESH KAKKARRITESH KAKKAR Posts: 254
    edited 2011-07-08 08:39
    In this instruction...
    CLKFREQ :- it is freq. in hz what does this mean, as there is already a crystal in QS board??
    CLKMODE:- current clock mode setting ( byte @ $ 0004) like this i am not clear what is the use of this like $ sign, 0004,etc..............??
  • LeonLeon Posts: 7,620
    edited 2011-07-08 09:04
    If the crystal is changed a higher clock rate can be achieved.

    $ indicates a hex value, $0004 is the same as 0x0004.
  • RITESH KAKKARRITESH KAKKAR Posts: 254
    edited 2011-07-08 21:59
    CLKFREQ :- it is freq. in hz what does this mean, as there is already a crystal in QS board??
    In this instruction, as i am aware the QS board has 5 mhz crystal on it, if i want to decrease the freq. for this CLKFREQ can be used, is this true??
    $ indicates a hex value, $0004 is the same as 0x0004
    .

    what mode are we talking about, what will happen if 0x0004 is used or not??
  • LeonLeon Posts: 7,620
    edited 2011-07-08 23:57
    Why don't you try 0x0004? Or, read the documentation.
  • RITESH KAKKARRITESH KAKKAR Posts: 254
    edited 2011-07-09 01:58
    I am trying to understand it, OK...........
    {...........} this is used for name of prog. or etc.........as it will not compline
    but {{....................}} what the use of this??
  • LeonLeon Posts: 7,620
    edited 2011-07-09 02:04
    A multi-line comment. You really ought to read the documentation, it's all in there! You should stop asking silly questions!
  • RITESH KAKKARRITESH KAKKAR Posts: 254
    edited 2011-07-09 02:18
    A multi-line comment
    A multi line comment mean many lines, but when i write multi line in single {,,,,,,} it work then what the use of it??
    I am asking these question, it is very tough to understand without no video tutorial like this
    .
  • Mike GreenMike Green Posts: 23,101
    edited 2011-07-09 07:31
    Read the documentation. The Propeller Manual has answers to most of your most recent questions. You can download the manual from Parallax's Propeller Downloads webpage or you can find the same information in the Propeller Tool's help files.
  • RITESH KAKKARRITESH KAKKAR Posts: 254
    edited 2011-07-09 08:40
    I have seen it, there is not full description of it.......
    and i have listen about PLL is used to receives signal e.g. FM, etc...........
    so, what the use of it here??
  • LeonLeon Posts: 7,620
    edited 2011-07-09 08:53
    It's in the documentation!
  • RITESH KAKKARRITESH KAKKAR Posts: 254
    edited 2011-07-09 08:57
    OK, please try to upload tutorial video of it.....................!!
  • Mike GreenMike Green Posts: 23,101
    edited 2011-07-09 09:09
    This is the way this sort of thing works:

    1) Parallax spends a great deal of time and effort writing manuals, developing tutorials, producing application notes. The people who do this are very good at what they do. Parallax has been in the microcontroller and robotics education business for a long time.

    2) You have a question? You look up the appropriate section in the documentation or search or browse the extensive collections of information on Parallax's website. The "Resources" tab on their main webpage and the "Documention" button are good starting points. You can also find lots of information on the Propeller under the "sticky threads" at the top of the thread list in this forum.

    3) If you can't find what you want, ask for suggestions. Someone may have a link to an old thread on the subject. Go read the recommended information.

    4) If you still don't understand what you want, ask, but first describe what you do understand, give some idea of what you've looked at, and be specific about what you don't understand.

    5) We are not going to spend the time and effort explaining something that has already been explained very well by people who make that their business. You say "I have seen it, there is not full description of it.......". What's "it"? What do you mean "full description"? Remember, this is not a college course and we don't provide textbooks. There are libraries and you can find almost anything with a Google search. It's easier than you think to find all sorts of detailed information on the web. You have to work a little bit.

    6) Browse Parallax's website. Spend some time becoming familiar with what's available and where it's located. Spend some time browsing the Wikipedia. Become familiar with how these resources work.
  • prof_brainoprof_braino Posts: 4,313
    edited 2011-07-09 09:10
    Guys, the fact that a new user is having an issue understanding the documentation is a clue to improving the documentation, not a flag to say "read the documentation" over and over. Unless you feel the documentation is already perfect and cannot be improved in any way, which is kind of silly and cannot be the case.

    Please point him at the specific page in the manual that covers the information he needs and take it from there, or don't reply at all.
    Saying "its in the documentation" repeatedly is like when Americans repeat the same thing louder when someone does not understand English.
    It sounds far more foolish than any n00b question he could ask.
  • LeonLeon Posts: 7,620
    edited 2011-07-09 09:13
    As Mike and I have said several times, he should read the documentation thoroughly. If he doesn't do that, and doesn't mention the part of the documentation he has problems with, no one will know if the fault lies in the documentation, or his understanding of it! Perhaps he should start with something less complex, like a Basic Stamp.
  • RITESH KAKKARRITESH KAKKAR Posts: 254
    edited 2011-07-09 09:31
    Remember, this is not a college course and we don't provide textbooks.

    you are right sir....!!
    even in my college my teacher also don't clear topic the question i ask....

    OK, .spin Lang is discovered by parallax only??
  • Mike GreenMike Green Posts: 23,101
    edited 2011-07-09 09:39
    Spin is a programming language that was created specifically for the Propeller by Parallax. It has some features that are clearly derived from other programming languages like Pascal and Python. See "Why the Propeller Works" near the bottom of this webpage. Chip Gracey developed Spin as well as the Propeller itself.
  • RITESH KAKKARRITESH KAKKAR Posts: 254
    edited 2011-07-09 09:47
    OK, who has invented this QS schematic is he in this forum??, and how he has gone so deep..................!!

    Can we compare QS with other uc, how??
    because many of people are not aware of this QS board..
  • Mike GreenMike Green Posts: 23,101
    edited 2011-07-09 09:54
    The QS is not a "uc" (microcontroller). It is a demonstration board (reference design) for a specific microcontroller (the Propeller). For information on the Propeller's design, see my previous message (#57). The QS board was designed by one of Parallax's engineers. There are many other boards for the Propeller. You can find them in Parallax's webstore. Some of them were designed and built by Parallax and some by others. Be sure to look through the "Parallax Semiconductor" forum as well. There's a separate website for Parallax Semiconductor with information on the Propeller and how to use it. Use the button on the top of this webpage.
  • AribaAriba Posts: 2,690
    edited 2011-07-09 10:32
    from the Propeller Manual (Page 101):
    Multi-line comments begin with at least one open curly brace ( { ) and end with at least one
    close curly brace ( } ). Unlike single-line comments, executable code can be to the left and
    the right of multi-line comments. Multi-line comments can actually be entirely on one line,
    or can span across multiple lines. ...

    Andy
  • RITESH KAKKARRITESH KAKKAR Posts: 254
    edited 2011-07-09 22:46
    Thanks, for guiding me ...........
Sign In or Register to comment.