Shop OBEX P1 Docs P2 Docs Learn Events
propeller 40 pin ic testing — Parallax Forums

propeller 40 pin ic testing

gopalsvsgopalsvs Posts: 5
edited 2010-03-29 19:29 in Propeller 1
hi......

I have prepared circuit by taking reference to the basic probstick stamp kit schematic

every thing is fine
but i got the error "no propeller chip found on any serial port scaned COMX"

we used BAFO usb to serial adapter which is 9-pin DB-9 connector
resen pin is connected via npn-transistor(emitor ground,collector to rest pin via reset switch of)
and base is conncted to resistor(10k-oteher end GND) ,capacitor(10n) Capacitor other end connected to DTR of DB-9 connector

whats the problem i dont get it
and lastly how can i confirm that my controller is working propperly
is there any simple tests 40pin dip propeller is using here

Comments

  • SRLMSRLM Posts: 5,045
    edited 2010-03-26 04:21
    You definetely don't want to use the propstick schematic. That particular product has a bunch of extra stuff onboard that simplifies development. What you want is the schematic found for this product: www.parallax.com/Store/Microcontrollers/PropellerProgrammingKits/tabid/144/CategoryID/20/List/0/SortField/0/Level/a/ProductID/415/Default.aspx

    Secondly, the propeller reset pin should be connected to the usb to serial CTS (or RTS, or maybe something else. Memory is hazy...). Secondly, the USB to serial may not work: it just may not be compatible with the Propeller. Some do, some don't.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Powered by enthusiasm

    Post Edited (SRLM) : 3/26/2010 4:40:28 AM GMT
  • KyeKye Posts: 2,200
    edited 2010-03-26 04:43
    DTR. Not CTS or RTS. This pin can be changed also in the propeller tool.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Nyamekye,
  • pullmollpullmoll Posts: 817
    edited 2010-03-26 05:24
    gopalsvs said...

    resen pin is connected via npn-transistor(emitor ground,collector to rest pin via reset switch of)

    If you want to program the Propeller's RAM and/or EEPROM you definitely need to reset programmatically with DTR, because the time window when an upload will work after a reset is just 100ms. The reset switch can just pull the reset pin to ground, no need for a transistor circuit. The capacitor of the transistor circuit should go to the DTR pin of your DB9 connector, that's ok.

    I had better luck with using a PNP transistor, base to 3.3V with 10k resistor, base through 10k resistor to capacitor, capacitor to DTR. With PNP you connect the emitter to the reset pin, collector to GND.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    He died at the console of hunger and thirst.
    Next day he was buried. Face down, nine edge first.

    Post Edited (pullmoll) : 3/26/2010 5:30:19 AM GMT
  • gopalsvsgopalsvs Posts: 5
    edited 2010-03-29 17:40
    reset pin initally at high voltage around 2.8volts i think programmatically reset occur when i press function key F11 am i right?
    any i can go for F11 key after detecting the hardware properly so what i want to say actually the problem is hardware not detecting
    when i hit function key F7 .Identification of hard ware is failure so can any one guess where the problem actually
  • gopalsvsgopalsvs Posts: 5
    edited 2010-03-29 17:43
    when i press F& key some time its showing "no Propeller chip on any serial port com5"
    or "unable to write on COM5"
  • pullmollpullmoll Posts: 817
    edited 2010-03-29 19:22
    gopalsvs said...
    when i press F& key some time its showing "no Propeller chip on any serial port com5"
    or "unable to write on COM5"

    And you have COM5 connected to the Propeller? You can select the port with the right mouse button from a context menu IIRC. I don't use Parallax' tool, but BradC's command line compiler...
    You might want to try my suggestion using an PNP transistor instead and the base pulled to +3.3V with the 10k resistor instead of to 0V as with the NPN.
    For me this made the big difference. Since I changed that on my board I have no problems with upload or detection.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    He died at the console of hunger and thirst.
    Next day he was buried. Face down, nine edge first.
  • VaatiVaati Posts: 712
    edited 2010-03-29 19:29
    So, you used the schematic from the PropStick Kit that PhiPi made?

    I bought a PropStick Kit board and gathered the parts and it worked just fine! One thing you need to check is if you have the same MAX3232 chip that is called for in the schematic. I think there's a difference between it and some of the others...

    One problem I ran into when I made my own serial programmer was that I had the serial port reversed. Double-check the port itself, and it should have the pins labeled. See if it's the same as what is shown on the schematic.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    MCU Projects·- my new site where I will be posting all projects, code, etc.

    Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!

    SD Card Adapter·- Add extra memory to your next Propeller project with ease!
Sign In or Register to comment.