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

how can i watch the output of LM3S9B92

hi,
i am totally new to microcontroller things. i have an LM3S9B92 microcontroller.with the cd, i got some example program like hello world.but when i connect the microcontroller with the usb cable and run the program in keil4 environment.the procedure i followed are as below:

1.i connect the LM3S9B92 ICDI with usb cable and also the evaluation board with the ICDI.the leds are on.

2. i open the hello program and build target files.

3.then i click the flash tab and click the download button and on the buld output it shows that programming done.verify ok.

4.Next ,i click the debug tab and start debugging and then click the run and after that i click the stop button and my register value is changed but i cannot see the text,"Hello world" in my monitor.
and my question is how can i see the output text?

i know this might be a silly question but i am really stuck in this.so,help me out.thanks in advance.

  • The question is: what do you expect? not knowing your controller/evaluation board, I don't know if you have a system with a LCD. But if you meant the PC side, then in order to have "hello world" displayed on the debugger you need to do much more - it's called "retargeting". Or, you can send the string to a serial port and connect it to your PC. Or, you could send a USB HID report containing it. The options are numerous - in time, if you work hard, you will master them all.

  • So what is your background?

    Are you already familiar with any other form of software development?
    Are you already familiar with electronic hardware?

    Have you tried any of the books here: http://www.keil.com/books

    "i have an LM3S9B92 microcontroller. with the cd, i got some example..."

    OK, if you've got a CD then, presumably, you bought the microcontroller as part of a kit including a board, etc?
    If so, what board, exactly, was it? They usually come with some sort of "quick start" document...

    Did you talk to the supplier before purchasing, and ask them to recommend a beginner's kit? Have you asked them about support, training, etc?
    Many offer seminars, demos, etc...

    What documentation came with the kit? Have you studied it?

  • thanks andy and tamir for your reply.
    i got the answer.
    to see the output on the monitor,first i have to build up a connection with serial output of the evaluation board and PC's COM4 port by a hyper terminal. and then if i run the program,it shows the output on the hyper terminal.

  • it also depends on how accurate you want your code to be, you can substitute it for a thread and a loop, you can allways look for old parts where you can find all kinds of stuff you could be able to use, just use your imagination there are allways solutions for you, in the end it depends on how accurate and what finish you want from you object youre making. you might find what you look for where you least expect it

    regards