how to drive a stepper motor without using stepper driver?. I know that stepper motor can be driven using pulse width modulation and it can be achieved by using port pins. what are all the other requirements we have to consider?(timer channel...)
how to drive a stepper motor without using stepper driver?. I know that stepper motor can be driven using pulse width modulation and it can be achieved by using port pins. what are all the other requirements we have to consider?(timer channel...)
Can anyone pls help me in writing the following lines in C
Var1 DATA 40h org 0100h mov A,#45h mov Var1,A END
To make a lookup table in c,I've tried like this
static code unsigned char T[]={0X01,0X02,0X03};.But is it possible to prepare one as we do in assembly.org 3000h db 01h,02h,03hi.e assigning some address to the variable T in the example given…
I am writing a code in embedded C.I would like to know how much should be my stack? How to calculate it?.
Hi everybody
I am using ADuC7026, I have just written two program(i.e fft...). but it isnt downloading to flash after setting debug it is saying like code size limit exceed. Is there any code or any intialization so that i can able to download it to…
hi everybody
I have used hyper terminal and set baudrate to view my processor output. Is it possible to create an file in keil(any command) in which we can directly print the output instead of viewing in hyper terminal.
thanks in advance
From keil code examples
C:\ADuC_Beta702x\Code\Keil Code Examples\UART\UART1
#include <ADuC7026.h>
extern int write (int file, char * ptr, int len); // Functions used to
extern int getchar (void); // to output data
extern int putchar(int); //…
Hi everybody
I have opened this Keil example problem UART1.c and compiled it...with Aduc7026
But this program is not giving output(Like printf("hello") on the serial port). I dont know why?
Thanks in advance
hameed
what is mean of the key word "XBPSTACK" in the startup.a51 and how uses it!
This is my #1 irritant with uVision, does anyone have ideas how to
avoid it (is not, but could be, always move cursor left first)
Win7 pro/chrome
e.g. see watch1 and watch2 at the same time
I can find hide, tab etc, but no clear of a watch window. It is rather cumbersome to clear entries one by one
signal function have no infinite loop.it will exit after the last sentence?
if yes ,why i can't call the signal function twice?
Using the 'Close All But This' option will prompt to save any changes in the file not being closed!
Harmless, I suppose, but caused a little chuckle
Hello,
The system in place to prevent spam is highly ineffective. I urge Kiel to change it to a registration / moderation based system. Note how the number of useful posts has dropped. There are no longer open and meaningful discussions here. What…
I have in two separate threads multiple times tried to write comments relating to wat ch dog - which is a very important subject on this forum.
Only problem is that it always fails with a server error 500.100.
You shouldn't block so obvious embedded…
... and now it's got really bad!!
Perhaps we should meet up for some Pier-to-Pier networking?
Next time you're working on uVision, would you PLEASE put a timer on the Ctrl+Tab handler such that if the interval between events is longer than X, it only toggles between the last two tabs viewed?
Thanks,
-RW
( if this is already available…
Sorry for my limited English ability and Technical ability.
It is very common in our company that, the engineers don't care about (or don't know) the termination resistors on a CAN-Bus. They just simply put one 60-Ohm resistor between two or several…
Hi,
I'm using the Keil uVision V4.03q.
I wonder if there's any setting to be able to watch all variables
during debugging?
If I want to watch a function argument in a function it says: 'out of
scope' so I have to define a static copy of that…
Hi,
My sourcecode files start with numbers like F12_xxx, F13_yyy,
e.t.c. So F12 is a higher hierarchical file than F13.
I open my files in the IDE (uVision4) starting with the lowest
filenumber on the left adding next sequential filenumbers to the…
Hi,
I have to store variable length data in a FIFO.
The main program puches and pops lots of data on/from that FIFO. Data
is only pushed
when there is space in in the FIFO-buffer.
Is it a good idea to use dynamic memory allocation (malloc, free)…
http://www.keil.com/condb/ says,
"Consultants are listed in the Device Database on the pages of the chips with which they claim to have experience"
But that is no longer true - there are no Counsultant links on the Device Database pages…
The recent thread
http://www.keil.com/forum/19213
is now locked.
Is this a silent moderator action, or one of many errors with this forum - like old threads allowing one (1) post to be added before they get locked, or our regular problems that we…