Shop OBEX P1 Docs P2 Docs Learn Events
Pic16c57 — Parallax Forums

Pic16c57

VladimirVladimir Posts: 64
edited 2006-04-17 15:48 in BASIC Stamp
the PIC16C57 suposed to be pre-programed before it can be used, othervise it will not work. If that information is penetrable, how do you guys pre-program it and if it is possible to do so in home conditions?
confused.gif

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Thanks,

Vladimir
·

Comments

  • Jon WilliamsJon Williams Posts: 6,491
    edited 2006-04-17 05:42
    If you're referring to putting the PBASIC interpreter into the chip the answer is no, we have to do that in our office.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
  • VladimirVladimir Posts: 64
    edited 2006-04-17 05:45
    OK, so you guys pre-program the PIC16C57s in your office and only then sell it to mouser.com ('cause thats where I also seen the pre-programmed PIC16C57s)

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Thanks,

    Vladimir
    ·
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2006-04-17 05:51
    Mouser is one of our distributors; you can buy the chips directly from us and probably from others, like Digi-Key, as well.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
  • VladimirVladimir Posts: 64
    edited 2006-04-17 05:56
    iight, thanks a lot

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Thanks,

    Vladimir
    ·
  • allanlane5allanlane5 Posts: 3,815
    edited 2006-04-17 15:48
    Yup, the 16C57 carries the BS2 PBasic 'run-time' engine. This fetches PBasic 'tokens' from the attached EEPROM and executes 'run-time' code to implement the functionality represented by the 'token'.

    And since the 16C57 lets you 'lock' the code inside it, so it can't be viewed from the outside, Parallax's intellectual property (that run-time engine PIC code) is protected -- in other words, NOT 'penetrable'.

    When you 'program' your BS2 through the IDE, the IDE converts your PBasic source code into tokens, and invokes a down-load routine in the 'run-time' engine to read those tokens from the serial port, and load them into the eeprom for later execution. This means the 16C57 is NEVER modified by your code -- only the on-module eeprom.
Sign In or Register to comment.