Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

All Questions

Tagged with
-1
votes
1answer
249 views

how to create a hex file in keil?

I want to programme at89s52 micro controller...using Keil u5. I searched on youtube googled it tried everything but cannot see the hex file. it says creating a hex file/location but there are no hex ...
1
vote
2answers
187 views

Program counter goes to the end of code and 8051 Restarts

I have an 8051 MCU which I use keil to program it with C. My problem is that the micro-controller restarts at the end of some functions while they should return. Using a debugger I tried to check it ...
0
votes
0answers
118 views

Microcontroller is being restarted on function return [duplicate]

I have 8051 MCU and I use keil to program it with C. But in some functions when the function ends and it gets to the return line the MCU is restated. For example a piece of my code is ...
1
vote
1answer
286 views

Interfacing keypad with 8051 microcontroller in Proteus

I am trying to simulate this project in Proteus using keil C. We are basically interfacing 4x4 keypad with 8051 microcontroller. This is the code for the project: ...
0
votes
1answer
898 views

How to receive strings using bluetooth module in 8051

I am doing a project on bluetooth based notice board. ?In this project, a user sends message using voice to text app. The message is then received by bluetooth module and sends to the 8051 which ...
1
vote
3answers
2k views

How can I find the current position of the stack without a stack pointer in micro controller programming?

How can I find stack position without using stack pointer you were given with upper bound of stack and depth of stack using embedded C or assembly language for 8051. Can anybody please help me finding ...
1
vote
1answer
392 views

AT89S8253 and Keil ULINK2 debugger connection?

I'm trying to connect AT89S8253 with Keil ULINK2. But the documentation is nil about 8051 controllers. As per the web, the pin connection is this. ref: http://www2.keil.com/coresight/coresight-...
0
votes
1answer
561 views

How to print data from register(8051) to terminal(serial monitor)

I have written a program that uses printf statement to write to the TERMINAL program using serial communication. Now, for my actual code, I want to transfer the ...
0
votes
2answers
2k views

Access Variable that is in code space in Assembler

Keil's C51 allows the use of sharing global variables between C and Assembler code. However I need to store a variable in the code space of an 8051 microcontroller. Yet when I try to access the ...
1
vote
2answers
1k views

Function called in ISR and Overlay Directive -Keil / 8051 core

My C code has an ISR, where a decision has to be made to execute a particular function "A". Now I know that its not good to run a function in an ISR. But in this case of my application, I do not see ...
3
votes
1answer
1k views

Writing parameters into Code memory at Run time during Initializations - 8051

I need to make this possibly. I am using keil IDE and the AT89c51RD2 MCU. At initialization, a function will be called to derive about 1500bytes. I want to write this byte to code memory (byte by ...