4078 views|20 replies

35

Posts

0

Resources
The OP

Here I am again. Although there are examples on the Internet, I have tried many ways but still can't solve it. [Copy link]

My graduation project is to make a single-chip microcomputer. The address of the last help post is this https://bbs.eeworld.com.cn/thread-487710-2-1.html I learned slowly and did it slowly, and then built a minimum system according to this. I also have a passive crystal oscillator, a capacitor, and a reset. After connecting it to the computer with a USB to 232 interface, the author wrote a C language program and wanted to use the STC burner to write it in to test the waters, but the first step hung here I have been detecting the single-chip microcomputer, tried cold start, and adjusted the highest and lowest baud rates, but I can't figure it out. I want to ask the master for help
This post is from MCU

Latest reply

This post was last edited by huo_hu on 2016-4-24 11:47Oh, the stc15f directly simulated by hardware is a chip suitable for beginners. There is no need to go back to 10 years ago.  Details Published on 2016-4-24 11:46

1647

Posts

1

Resources
2
Please post the hardware connection diagram.
This post is from MCU

Comments

God, please help me  Details Published on 2016-4-21 15:39

35

Posts

0

Resources
3
This is the actual picture. The breadboard I used has the positive and negative wires opposite to the positive and negative markings on the breadboard because I plugged in the power module.
This post is from MCU

35

Posts

0

Resources
4
tianshuihu posted on 2016-4-21 14:37 Please post the hardware connection diagram
Can someone please help me?
This post is from MCU

1647

Posts

1

Resources
5
Why is there no power supply to the VCC pin 40?
This post is from MCU

1647

Posts

1

Resources
6
Pin 31 is connected to VCC. Why are the three pins 18, 19, and 20 so close to each other so far away? Why?
This post is from MCU

1647

Posts

1

Resources
7
"Use USB to 232 interface to connect to the computer" - need to share the ground. I don't seem to see you connect the serial port.
This post is from MCU

Comments

The ground is shared. I removed the wiring when taking the photo because I was afraid that there were too many wires and it would be hard to see clearly. I saw on the Internet that it is not necessary to connect the power supply VCC pin when writing to the microcontroller, so I did not connect it.  Details Published on 2016-4-21 19:01

35

Posts

0

Resources
8
tianshuihu posted on 2016-4-21 16:09 "Use USB to 232 interface to connect to computer" - need to share ground. I don't seem to see you connect the serial port
Shared ground, I was afraid that there were too many wires and I couldn't see clearly, so I removed it when taking pictures. I saw on the Internet that when writing to the microcontroller, don't connect the power supply vcc pin, so I didn't connect it.
This post is from MCU

1647

Posts

1

Resources
9
"I saw on the Internet that the power supply VCC pin should not be connected when writing to the MCU" Don't take it out of context. The normal burning of the STC MCU must have a power-off and power-on process. After power-on, the power supply must remain stable to work normally.
This post is from MCU

Comments

Then I'll try again  Details Published on 2016-4-21 19:56
Then I'll try again  Details Published on 2016-4-21 19:37

35

Posts

0

Resources
10
tianshuihu posted on 2016-4-21 19:08 "I saw on the Internet that when writing to the microcontroller, do not connect the power supply VCC pin." Don't take it out of context. The normal programming of the STC microcontroller must be powered off and then on...
Then I will try again
This post is from MCU

35

Posts

0

Resources
11
tianshuihu posted on 2016-4-21 19:08 "I saw on the Internet that the power supply vcc pin should not be connected when writing to the MCU" Don't take it out of context. The normal programming of the STC MCU must be powered off and then on...
After the 40 pin is connected to the power supply, it still stays at the MCU detection point when burning the program:Sad:
This post is from MCU

16

Posts

0

Resources
12
Connect pin 20 to the negative pole of the power supply and the GND of the downloader. Connect the reset and crystal oscillator circuits according to the circuit diagram given by STC. Connect pin 40 to the positive pole of the power supply. Leave the positive pole of the downloader empty and do not connect anything. Connect the RXD TXD of the MCU and the downloader with different signs together. After clicking download, unplug the positive pole and plug it in again.
This post is from MCU

Comments

I will modify the circuit and try it tomorrow. I think it looks very clean. I may have plugged too many wires.  Details Published on 2016-4-21 23:14

35

Posts

0

Resources
13
tyyhzcm posted on 2016-4-21 20:34 Connect pin 20 to the negative pole of the power supply and the GND of the downloader. Connect the reset and crystal oscillator circuits according to the circuit diagram given by STC. Connect pin 40 to the positive pole of the power supply and the downloader...
I will modify the circuit and try it again tomorrow. I think it looks very refreshing. I plugged too many wires.
This post is from MCU

4002

Posts

0

Resources
14
With the new model, all peripheral circuits can be saved, just connect the power supply
This post is from MCU

Comments

New model, does it mean single-chip microcomputer? Is there any recommended single-chip microcomputer model? What I want to do is transparent transmission between single-chip microcomputer and gprs module. Please recommend it to me.  Details Published on 2016-4-22 18:50

283

Posts

1

Resources
15
Did you draw the board yourself? Or did you buy a development board online? Is the USB to 232 interface driver installed?
This post is from MCU

Comments

I bought a development board for reference, but my teacher insisted that I build one myself, using a breadboard  Details Published on 2016-4-22 18:49

35

Posts

0

Resources
16
liaoyuanhong posted on 2016-4-22 18:01 Did you draw the board yourself? Or did you buy a development board online? Is the USB to 232 interface driver installed?
I bought a development board for reference, but my teacher insisted that I build one myself. I used a breadboard and installed the driver. The stc burner can detect the USB port, but it just stays at the detection of the microcontroller.
This post is from MCU

35

Posts

0

Resources
17
huo_hu posted on 2016-4-22 11:43 If you use the new model, you can save all the peripheral circuits and just connect the power supply
Does the new model refer to the microcontroller? Are there any recommended microcontroller models? What I want to do is transparent transmission between the microcontroller and the gprs module. Please recommend some.
This post is from MCU

Comments

12C series are all OK, compatible  Details Published on 2016-4-22 19:30

4002

Posts

0

Resources
18
This post was last edited by huo_hu on 2016-4-22 19:32
kisssibaby posted on 2016-4-22 18:50 New model, does it mean single-chip microcomputer? Are there any recommended single-chip microcomputer models? What I want to do is transparent transmission between single-chip microcomputer and gprs module. Please recommend one...
12C series are all OK, they are compatible. 89 series is a very old model.
This post is from MCU

Comments

[attachimg]237749[/attachimg] I reconnected the line and it is better than before. Can someone please help me see if there is any problem with the wiring?  Details Published on 2016-4-22 21:33

35

Posts

0

Resources
19
huo_hu posted on 2016-4-22 19:30 12C series are all OK, they are compatible. 89 series is a very old model.
I reconnected the line and it is better than before. Please help me see if there is any problem with the wiring.
This post is from MCU

Comments

Oh, the stc15f that is directly hard-emulated is a very suitable chip for beginners.  Details Published on 2016-4-24 11:46

4002

Posts

0

Resources
20
This post was last edited by huo_hu on 2016-4-24 11:47
kisssibaby posted on 2016-4-22 21:33 I reconnected the line and it is better than before. Please help me see if there is any problem with the wiring
Oh, the stc15f directly simulated by hardware is a chip suitable for beginners. There is no need to go back to 10 years ago.
This post is from MCU

Find a datasheet?

EEWorld Datasheet Technical Support

Related articles more>>

    EEWorld
    subscription
    account

    EEWorld
    service
    account

    Automotive
    development
    circle

    Robot
    development
    community

    Copyright © 2005-2025 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
    快速回复 返回顶部 Return list