• How to get an ELF file from Keil C51
    Hi All, I've been using Keil C51 compiler for sometime to compile firmware for an 8051 processor. I recently wanted to use a 3rd party firmware debugger tool and looks like they only accept ELF/DWARF...
  • C51 software
    Hi everyone, I am working with 8051 micro-controller for one of my office project. I have free version of C51 and the file size of my code went more than 2kb so now i am not able to compile my code...
  • C51 - Using Timer 5 on C8051F138X (ISR not firing)
    Hi all, I'm having a problem with something that should be simple: getting a Timer5 ISR to fire on a C8051F1380 MCU. This being my first time using 8051 (I normally use PICs or Cypress PSoC5 controllers...
  • C51 libs: Where is ?C?LSTKXDATA and friends documented?
    I am trying to understand some disassembled code, and encounter instances of ?C?LSTKXDATA. Apparently, that function expects 4 bytes of data following the call instruction. And thus must adjust the stack...
  • Float - uint comparison sometimes succeeding?
    Hello Community! First time poster here :) I am debugging some code and am completely perplexed by a comparison between and integer and a float that sometimes evaluates true. In the following code...