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

Learning to program with MCB-STR9 Evalution board by uVision3. HOW TO DO?

I am a starter in microcontroller programming. I understand programming but first I am starting with Keil uVision3-software and Evaluation board MCB-STR9. Is there any user guide or tutorial which could help me to start and program and see results on board. I could not find online. Can someone help me please?...
Thanks...

Parents
  • I would suggest a slightly different order:

    1. configure a port pin as output pin and turn it On & Off.

    2. configure a port pin as output pin and turn it On & Off after some delay, use timer to generate delay. (To learn Timer)

    3. Use the UART to transmit "HELLO WORLD", and learn how to receive & view the transmitted data on a PC

    4. configure UART to transmit the last received data. (To learn UART)

    5. write "HELLO WORLD" on 16*2 character LCD.(To learn LCD interface)

    6. Display the data received form UART on LCD. and so on....
    after these basic exercises, you can start learning I2C protocol, SPI protocol, etc...

    At each stage practice using the Debugger to follow the execution of your program, examine variables, registers, etc.

    The Debugger is an essential tool - it is important that you learn to use it well as soon as possible!

Reply
  • I would suggest a slightly different order:

    1. configure a port pin as output pin and turn it On & Off.

    2. configure a port pin as output pin and turn it On & Off after some delay, use timer to generate delay. (To learn Timer)

    3. Use the UART to transmit "HELLO WORLD", and learn how to receive & view the transmitted data on a PC

    4. configure UART to transmit the last received data. (To learn UART)

    5. write "HELLO WORLD" on 16*2 character LCD.(To learn LCD interface)

    6. Display the data received form UART on LCD. and so on....
    after these basic exercises, you can start learning I2C protocol, SPI protocol, etc...

    At each stage practice using the Debugger to follow the execution of your program, examine variables, registers, etc.

    The Debugger is an essential tool - it is important that you learn to use it well as soon as possible!

Children
  • The Debugger is an essential tool - it is important that you learn to use it well as soon as possible!

    But do not forget that the most important and powerful development tool is the one between your ears.

    I've seen way too many developers who have got into the habit of scratching together some code and then reaching straight for their debugger to find their bugs. A little though, care and understanding at the start can dramatically reduce the need for later bug hunting.