I need to jump from one segment to another
example:
from 0xC01000 to 0xC10000
How can this be done?
I need to jump from one segment to another
example:
from 0xC01000 to 0xC10000
How can this be done?
In my assembling programe why there is the following error?
Athough there are only 16 segments in my programe,yet there is an instruction"exts 17h,#2"
Thank you very much!
Hi everyone
I am working on FFT and IFFT but when I use FFT(fixed point) there is no problem with the timing. But when I want both to work the timing issue is coming in between. Both are fixed point.
So kindly need a suggestion on this
hi,
according manual, when we need a segment to be placed at the end of specified memory we should use linker directive SEGMENTS. Well, in the field "User Segments" of LX51 Locate I have next string:
?PR?LAST(LAST)Then next test program:
Hi Everbody
I am facing problem while transfering data from ADC to DAC in between i have used some buffer logic after execusion it is not working or suddenly stop copying from ADC but What i have tried is copying directly from ADC to DAC is working…
This is a snippet from a general-purpose library function that is (effectively) non-application specific and, by design, can make no assumptions about the context of the calling process.
Hint: The assumption the code makes has to do with interrupts…
Hello
I am an ultra newbie and im currently learning 8051 chip. The question is How can i find out the number bytes in my program before I can buy any microcontroller chip? Is it hex file?
kind regards
Maverickmax
Hi,
I have a pretty big file that during it's performance, in a specific place of the code flow, I would like to wait for exactly 4 clock cycles.
The best way for me to do this, is using the empty line command (; // nop).
Unfortunately, this doesn…
Hi i've just switched from assembly language to c and i've studied a little about RTX51 Real time operating system but i could'nt figure out its purpose for microcontroller applications. Can any one kindly make me understand with examples what difference…
In http://www.keil.com/support/docs/788.htm you described how to change the putchar function.
I have coppied PUTCHAR.C to the project directory, and added it to the project source files (using uVision2). As soon as I started to re-build the project, the…
I meet a confusing problem...
I have to use UART & IIC communication simultaneously.
The internal SCL generator is selected for the I2C clock. data rate is 100Kbit/sec at fosc=12MHz.
Baudrate generator is selected for UART clock. 9600bps is set.
The…
Hi,
I need to save a FLOAT value in a EEPROM. But for that I must break the float in 4 CHAR.
I dont want to mask and shift, I prefer something more fency.
Is there a way using the STRUCT and UNION to be able to access each BYTE in a FLOAT ?
I don…
I'm completely new in this areas.
Can anyone tell me how to do it?
Thank you!
I'm using a MicroConverter ADuC812.and a 512K Flash memory with the space
0x0000--0x07FFFF,
I have the PK51 Professional Developer's Kit and have examined the example in the folder:
Keil\C51\EXAMPLES\FarMemory\16MB RAM on ADuC812.
I have unsuccessfully tried to use the example program on the PWM downloaded from Keil's web site for the Philips 900 CapCom.c. I've created a HEX and downloaded it a MBC900.I've attempted to run it on their development board and also looked at the operation…
I want to split my program in two and locate at differenct addreses.
main program may be located at 0x1000. and only one function called by main shall be located at say 0x8000. how to create that function and compile using CA51 and load it into the Cygnal…
Hello.
I have an Infineon XC167 Step AC Controller and I want to use the CAN-Analyzer Mode for CAN-Baudrate-Detection. The routine detects already the correct baudrate. My problem is, although the CALM-bit is set, that I have error-frames on the bus…
Hello,
I'm using a C167CS-L40M on a PhyCore 167HSE from Phytec. My problem is : how can i use the uart communication.
Thanks a lot
i am a graduate student of china,i got a bachelor's degree of electrical engineering
and will achieve a master's degree of telecommunication,but i have no chance to do any project,because my tutor have not any projects,what shoud i do?
I have an application that runs from FLASH and downloads a second application into RAM, and then jumps into the RAM program. The FLASH application has an interrupt function that is defined as:
void Function1(void) interrupt T0INT=32 using rbank2
{
Hi,
Normally when we use printf to output on RSR232, in which format it outputs.
ascii-hex or binary.How to set the output format.
rutu
tr2 bit 0cah
tf2 bit 0cfh
tl2 data 0cch
th2 data 0cdh
Tis is the assembly code i write to define the timer 2. I'm using that philips 8051 microcontroller. so how to actually define this timer 2 in Keil?
thank u ....
Hi,
If i have option of using either a I2C or a SPI serial EEPROM with microcontroller then which of these two standards is better one ?
Any suggestion will be appreciated.
Regards,
Dravid.
Where i can get the chip can detector us dollar? if you have the data,please tell me !
Thanks . wangjian@censtar.com
this is my code:
timerVal.u16 = (((servoHundredEighty - servoZero) * (degreeValue/180)) + servoZero);
if all the variable are declare in unsigned char...this method can be used? or how i need to proceed with this if i would like to calculate certain…