This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

i want some example multitasking program to study for 8051 microcontroller (i am new.)

where is i can download example multitasking program? . i have 8051 microcontroller i want to learn for my thesis.


thank you.

Parents
  • "i tested example program(hello.c).it can load and run on my 8051 MC board."

    Good - so now we can have at least some degree of confidence that your build process works, your downloading works, and your target works.
    Of course, this is not an exhaustive test - so there could still be problems lurking...

    "but when i load multitasking program (traffic.hex)to my board it is not run. why?"

    It is impossible to answer that from the information you have given - ie, virtually none at all!

    * Are you sure that this particular example should work on your hardware?

    * Are you sure that the build completes fully & successfully - do you get any error or warning messages?

    * Are you sure that the download succeeds?

    * What do you expect should happen when the download completes?

    * What actually does happen?

    Have you spoken to your tutors about this?
    They are in a far better position to help you than complete strangers far away who don't even share your first language!

Reply
  • "i tested example program(hello.c).it can load and run on my 8051 MC board."

    Good - so now we can have at least some degree of confidence that your build process works, your downloading works, and your target works.
    Of course, this is not an exhaustive test - so there could still be problems lurking...

    "but when i load multitasking program (traffic.hex)to my board it is not run. why?"

    It is impossible to answer that from the information you have given - ie, virtually none at all!

    * Are you sure that this particular example should work on your hardware?

    * Are you sure that the build completes fully & successfully - do you get any error or warning messages?

    * Are you sure that the download succeeds?

    * What do you expect should happen when the download completes?

    * What actually does happen?

    Have you spoken to your tutors about this?
    They are in a far better position to help you than complete strangers far away who don't even share your first language!

Children