3193 views|5 replies

1

Posts

0

Resources
The OP

I am a beginner, please give me some advice [Copy link]

I am a beginner, please give me some advice. It is like this, I bought a single-chip microcomputer learning board, and I am doing a running light experiment. Before, the result of the last experiment would not appear as soon as the power was turned on. I don’t know how my classmates made it happen, but now the result of the last experiment will appear as soon as the microcontroller is powered on. I guess the program is left in the microcontroller. Please tell me, what should I do so that I will not see the last experimental results before downloading the program every time I power on? This is very annoying. I hope that there will be no phenomenon when I power on, and I will see the phenomenon after downloading the program. I am a beginner, please give me some details (as for those who pretend to know: change the microcontroller. Let the last phenomenon remain. Write a 0XFF program. This method does not solve the problem at all. I have heard enough of such replies) Thank you for your advice. My QQ number is 506283184
This post is from 51mcu

Latest reply

My microcontroller will retain the last program every time it is turned on. I guess it is a problem with your board...  Details Published on 2011-10-23 09:39

2737

Posts

0

Resources
2

Originally posted by jichongxing on 2011-10-21 14:18 I am a beginner, please give me some advice. I bought a microcontroller learning board and am doing a running light experiment. Before, the results of the last experiment would not appear as soon as the power was turned on. I don’t know how my classmates made it happen. Now the results of the last experiment will appear as soon as the microcontroller is powered on. I guess the program is left in the microcontroller...

:funk: The original poster's request is against common sense. When you make a product, do you have to provide a downloader, program files, and download software to users, and let them download the program every time they turn on the computer? !

This post is from 51mcu

314

Posts

0

Resources
3

“Before, the results of the previous experiment would not appear as soon as the power was turned on.”

I am curious about how LZ did it before. The program is usually stored in the ROM inside the microcontroller, and it will not be lost when the power is off. So powering on again will only reset it, and will not erase the program.

This post is from 51mcu

9

Posts

0

Resources
4
Haha, write a program that turns off all lights. Burn them after each end. Next time you power on, this program will achieve the effect you want. . . Hehe: lol
This post is from 51mcu

535

Posts

0

Resources
5
I guess you want the effect of clearing last year :) But I know that AVR has this function! I don't know about STC! Because I am a newbie, even newer than a newbie :titter:
This post is from 51mcu

96

Posts

0

Resources
6
My microcontroller will retain the last program every time it is turned on. I guess it is a problem with your board...
This post is from 51mcu

Guess Your Favourite
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