Hi All, I am working in a project on MC 89C51. We are working on MCs for the first time, currently we planned to go with Keil demo version. We got our hardware ready. I am struck with a strange problem. To test harware ckt, I wrote a simple program to initalise all the ports with 0xFF and wished to generate clock on each port. When I wrote in Assembly Code I could see the clock generated at each port. Same code When I wrote in Keil, I ended up with no change in output at ports. I have followed the documentation and created project for atmel 89c51. I feel I would have missed some thing in compiler options. Please give me write pointers or a list out a cycle for creating project especially setting options and also how to include assembly code in keil. Thanks a lot, Best Regards, Ravi Kumar CH
If You wrote program in Demo version C51 or others Eval version, linker BL51 using code memory in range 0x1000 - 0xFFFF. MC 89C51 have only code memory in range 0x0000 - 0x0FFF !!!
http://www.keil.com/demo/limits.htm