We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello,
I want to install printf("hallo welt %d\n", intvariable) in my code for debug information. Where can I see this information when I have no usart? Is there a command line in uvision where I can see this?
Bernd
I don't know that it depends on which chip I'm using. I'm working with uvision and ulink2. I have the AT91RM9200, but without using the usart rs232; I've only installed USB - but if there's a way to do that without using a external hardware from the AT91 it would be very nice.
I only want to transmit values of registers e.g. because I'm not really familiar with ASM (debug information in keil).
best regards Bernd
"I'm working with uvision and ulink2"
The whole point of JTAG is that you no longer have to write code that consumes processor resources in order to "push" debug info to the debugger!
Intead, you use the debugger to just view register vlaues, variables, etc - and it all just happens by the magic of JTAG!
I suggest you spend some time reading the uLink and uVision manuals...
I don't know that it depends on which chip I'm using there is a world of difference between an ARM and a '51. The compilers are, as well, quite different.
Weik
ok - that means I'm on the wrong way with printf(). I have to learn to read the ASM debug information.
thanks for your answer
"I have to learn to read the ASM debug information."
No - the tools provide Source-Level debug information.
Again, see the Manuals
Having said that, it will be a distinct disadvantage if you cannot at least read assembler...