Newbie needs help


Closed Thread
Results 1 to 10 of 10
  1. #1
    igeorge's Avatar
    igeorge Guest

    Angry Newbie needs help

    I have a piece of working code on the Flash-Lab 77 board. What to do to make the same processor to run on a stand-alone PCB? When I removed the serial cable from my PC to the Flash-Lab, and I reconnected the power, nothing did happen. It looks like the processor is not running. Connecting the serial cable again, solves the problem and the chip will run normal. Please help me to solve this problem.
    Thank you
    Ion

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Lightbulb

    I'm not really sure to understand the problem but can you chack this. Voltage on pin 1... must be 5Volt. This is the reset pin of thi MCU. If not 5 volt add an 10K pull up resistor to the supply line.

    hope this help

    regards
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    On your board find the MAX232 IC. close to it you have jumpers. Remove RST one. This maybe the solution.

    regards
    Attached Images Attached Images  
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  4. #4
    igeorge's Avatar
    igeorge Guest


    Did you find this post helpful? Yes | No

    Default

    I did put the pull up resistor and remove the jumper.
    The CPU plays dead until i connect back the serial cable to the PC.

  5. #5
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    What about the voltage on pin 1??? a pure guess remove MAX232 and be sure to have pull up resistor on PIN 1.
    if it's working, try short pin 4 of DB9 to ground.

    Case problem is still there, Bruce know for sure the solution

    e-mail : [email protected]

    regards
    Last edited by mister_e; - 11th October 2004 at 07:49.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  6. #6
    igeorge's Avatar
    igeorge Guest


    Did you find this post helpful? Yes | No

    Default

    pin1 = 5vdc
    The max233 removed ,nothing happen.
    For sure , Bruce will get a call tuesday morning.
    Thank you

  7. #7
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    is by any chance you can post whole code you have???
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  8. #8
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Question

    or try add

    DISABLE DEBUG

    at the begining of the program

    i try help...
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  9. #9
    igeorge's Avatar
    igeorge Guest


    Did you find this post helpful? Yes | No

    Default

    You are a genious.
    Without DEBUG works like a charm
    Thank you
    Ion

  10. #10
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    O.K cool. As you say you're a newbie so here's a few explanation.

    The great FLASH-LAB 77 you buy from Reynolds give you all you need to program/debug your program within MicroCode studio Loader. If you don't include this DISABLE DEBUG line, PIC16F877 will try to communicate with MicroCode Studio at his boot time. Since you're "offline" when you disconnect the serial cable, the PIC16F877 is waiting for MicroCode studio command. That's it.

    happy to help you

    a la prochaine
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. Newbie making an ignition timer
    By ChrisHelvey in forum mel PIC BASIC Pro
    Replies: 17
    Last Post: - 5th August 2012, 17:45
  2. Newbie HELP :(
    By TheOne in forum mel PIC BASIC
    Replies: 3
    Last Post: - 27th March 2009, 17:15
  3. Newbie: Temperature measurements
    By Budda in forum General
    Replies: 10
    Last Post: - 30th March 2007, 09:56
  4. PIC Newbie
    By azmax100 in forum Schematics
    Replies: 7
    Last Post: - 23rd February 2007, 04:52
  5. request for a newbie forum
    By nimonia in forum Forum Requests
    Replies: 1
    Last Post: - 20th May 2006, 09:01

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts