• simulating external memory
    when i execute code for external memory in the simulator it is showing a data abort error.the code compiled without error.i specified the external memory location in the target option.But the problem...
  • sprintf width problem
    I'm having trouble with the C51 sprintf formats. sprintf does not pad the output according to the width field sprintf(rs_send_line,"%2d:%2d -> ",hrs,(int)(m-(hrs*60))); sprintf(&rs_send_line[9],...
  • Assembler and pulse width
    I need to measure a pulse with that is almost faster then C can process with the hardware I'm using, so I think. I'm only getting a count of 26 on a pulse width, Witch has been good for the last four...
  • Pulse width + counting
    While trying to understand some device connection protocol I'v faced a problem: at first simply I need to continosle monitor what happens on CLK pin of device. In sample: ET0 = 1; EA = 1; TMOD...
  • measuring pulse width
    how do i measure a pulse width using the pca in high-speed output mode? not quite sure what registers i need to read when the interrupt is triggered. i am using a 8051f023 chip.