Hi there,
I am new to the embedded systems and trying to learn. I have a C8051F350-DK that I wrote a program to measure the voltage through one of the analog inputs ( I am using Keil uvision 4). I added a printf to see the result, so I won't use the WATCH window. I downloaded the code then debug it (through the DEBUG mode, not the Simulation mode) and it didn't work. Can anyone give an advice if I am missing something in my settings ?? here is some of my settings :
Project > Option for target > Device > C8051F350 Use extended linker ( LX51)
Project > Option for target > Debug > Use "on the right side" \Silicon Labs C8051Fxxx Driver
Project > Option for target > Utilities > Use \Silicon Labs C8051Fxxx Driver " didn't use *.ini "
Steps: Translate -> Build Target -> Download code to flash memory -> Debug -> Run --------------------------------------------------------------------------------------------- Thanks in advance
Erik,
"does it work when you are not in debug mode?" Yes it does.
"does it work with the SILabs toolset?" Yes it does.
I am not sure anymore if printf is working or not in the DEBUG mode, so I am using HyperTerminal, but whenever I am trying to connect both of them, I can't. Its either Kiel running or Hyper Terminal. I can't run both of them. Do you have any advice about how to run both of them ? is there any option that I have to set ?