Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Yeah I was working in demo version so the linker was placing my code higher beyond the rom size. Got the unlocked version and it works fine now.
Thankz for the reply
wont run as in nothing happens after power and clock is supplied.The code that i gave works fine in other 8051 microcontrollers just not this one.
Srry for any mistakes i m new to this site.
I saw the manual but i dont think the problem is with optimization of code coz this works in other 8051...
a simple c code like blinking a port or a pin doesn't work but the same code written in assembly works just fine.
I have used keil c51 compiler and sdcc as well but the code simply wont run.#include<reg2051.h>
void delay(int n); //delay routine
void delay(int n)
{
int i,j...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.