EmbeddedRelated.com

IAR v/s KEIL for 8051

Started by Anonymous in comp.arch.embedded19 years ago 12 replies

Hi All, I will be using 8051 based micro-controller for my project. I want to choose C complier for it between Keil and IAR. Anybody who has...

Hi All, I will be using 8051 based micro-controller for my project. I want to choose C complier for it between Keil and IAR. Anybody who has experience on these compilers please help me in doing this and share your experiences with these compilers. Let me also know any benchmarks, comparisons about the performances of these compilers. Thank you. Regards, Shailendra


Simulation of Microcontrollers

Started by arslan in comp.arch.embedded16 years ago 8 replies

I have been working on microcontrolers like 8051 and intel's 80c196. I have never simulated microcontrolers before starting development, however...

I have been working on microcontrolers like 8051 and intel's 80c196. I have never simulated microcontrolers before starting development, however I know that Proteus can be used to simulate 8051 and few other uControllers. Can Orcad be used to simulate microcontrollers? Are there other softwares which can be used? I normally work with microcontrollers, opamps and A/D converters. Eventu...


IAR 8051 ver 7.51 Compiler

Started by Al Clark in comp.arch.embedded10 years ago 3 replies

I am interested in purchasing a legitimate copy of the IAR 8051 C compiler version 7.51. I belive that IAR licenses are transferrable. This is...

I am interested in purchasing a legitimate copy of the IAR 8051 C compiler version 7.51. I belive that IAR licenses are transferrable. This is an older version that works with some libraries that I have in my application. (I don't have source files for these). Al Clark


8051 or AT51, what did he mean?

Started by Alan Perry in comp.arch.embedded20 years ago 17 replies

I was discussing programming experience with an employment agent when he asked me did I have any "8051" assembly experience. Now the answer to...

I was discussing programming experience with an employment agent when he asked me did I have any "8051" assembly experience. Now the answer to this is Yes, but when I got the details for a cetain Job it stated AT51 assembly. My question, which I will get answered on Monday I assume, is... Is there something out there call AT51 Assembler? Thanks for any help


8051 derivative 2nd sources

Started by george_d in comp.arch.embedded18 years ago 20 replies

I'm starting a new project and I intend to use an 8051 derivative. Specifically, I'm looking for a chip that has at least 3MIPS, 64K FLASH, an...

I'm starting a new project and I intend to use an 8051 derivative. Specifically, I'm looking for a chip that has at least 3MIPS, 64K FLASH, an SPI port, and must be RoHS compliant. The real reason that I'm posting is that I want to use a chip(s) that are truly second sourced. We intend to produce this product for maybe 10 years or so, so we don't want to have to be concerned about having ...


Coverting Asm to C: Metrics?

Started by Alf Katz in comp.arch.embedded18 years ago 22 replies

G'day All, I'm trying to estimate the effort involved in a project converting some well structured and commented (not mine, needless to...

G'day All, I'm trying to estimate the effort involved in a project converting some well structured and commented (not mine, needless to say) 8051 assembler to C. As a first estimate, naturally, I'm performing the task on a small part of the code and extrapolating. Does anyone have (or know of) any metrics for a similar project as a sanity check. Doesn't need to be 8051 to C, any ...


DE FACTO STANDARD 8051 C COMPILER AND PCB LAYOUT S.W.?

Started by justme in comp.arch.embedded13 years ago 40 replies

Getting back into uc after a long Sabbatical. When I ventured into other things, Keil C compiler/assember was the standard 8051 varient s.w. ...

Getting back into uc after a long Sabbatical. When I ventured into other things, Keil C compiler/assember was the standard 8051 varient s.w. Also, Protel was a very viable printed circuit board layout package. I don't know what is best or available and accepted today. Could someone give me their advice? Thank you. Joe


simulator/emulators for 8051/8085 on linux

Started by Hemant Mohapatra in comp.arch.embedded19 years ago 35 replies

Hello Everyone, Is there a good simulator for 8051/8085 muCs on linux? I checked out sourceforge/freshmeat but was not satisfied with the...

Hello Everyone, Is there a good simulator for 8051/8085 muCs on linux? I checked out sourceforge/freshmeat but was not satisfied with the available projects. Most of the currently available limit the stack size. Also, is there a simulator with C compiler bundled together? I am new to embedded programming and would like to start coding in C (and not assembly). Thanks in advance ./h ...


Bit banging for 8051, SPI

Started by methi in comp.arch.embedded19 years ago 21 replies

Hi, Does anybody have any idea about bit banging using SPI interface for microcontrollers....esp the 8051... Thank you, Methi

Hi, Does anybody have any idea about bit banging using SPI interface for microcontrollers....esp the 8051... Thank you, Methi


baud rate autodetection on AVR 8-bit?

Started by Ivan Shmakov in comp.arch.embedded11 years ago 104 replies

BTW, is there an easy way to autodetect the baud rate while using an AVR UART? (Preferably something that works with ATmega8, given that...

BTW, is there an easy way to autodetect the baud rate while using an AVR UART? (Preferably something that works with ATmega8, given that those MCU's are such a cheap thing nowadays.) There're some ideas (and 8051 code) for that on [1], but I'd like to know if there could be any better techniques. TIA. [1] http://www.pjrc.com/tech/8051/autobaud.html PS. It seems that I'm sl...


serial data transmission in 8051

Started by DigitalBug in comp.arch.embedded19 years ago 3 replies

hii, I have been trying in vain to transmit and receive a string in 8051. First character gets displayed on the lcd, but the rest do not. ...

hii, I have been trying in vain to transmit and receive a string in 8051. First character gets displayed on the lcd, but the rest do not. I shorted RXD and TXD pins. The code in c is as follows: void main() { unsigned char char_to_write[] = "hello, this is the data"; RECEIVED = 0; init_timer(); init_lcd(); initialize_serial(); pass_cmd(0x80); display_routine(char_to_write); whil...


ADS1251 and 8051 Code

Started by Bill Davy in comp.arch.embedded14 years ago 12 replies

ADS1251 and 8051 Code Has anyone done this who can share the code? Just to save me time. Any gotchas? I'd also quite like...

ADS1251 and 8051 Code Has anyone done this who can share the code? Just to save me time. Any gotchas? I'd also quite like not to take every sample so I can use just the ADS1251 to interrupt so it is both my clock and a data ready interrupt. I suppose it would be best to at least take one bit of the result. TIA, Bill


MicroC and 8051 pin input

Started by Blaketheturtle in comp.arch.embedded19 years ago 5 replies

Hi. I'm trying to count the number of times P3.3 on the 8051 goes low. The C code I've generated doesn't give me any errors but it isn't working...

Hi. I'm trying to count the number of times P3.3 on the 8051 goes low. The C code I've generated doesn't give me any errors but it isn't working either. Can any of you offer some pointers? The code is as follows: #include #include /* Bit set/clear macros */ #include main() { int i i = 0; InitLCD(); for(;;) { setbit(P3.0);


8051 16k flash + 16k Ram

Started by graeme in comp.arch.embedded16 years ago 7 replies

Hi Can anybody point me to a standard 8051 with at lest 16K program Flash and 16K or more data RAM. USB may be a plus but component count...

Hi Can anybody point me to a standard 8051 with at lest 16K program Flash and 16K or more data RAM. USB may be a plus but component count is the issue. Regards Graeme


Treatment of Data Pointer Select when interfacing C and IAR 8051 Assembly

Started by Keith in comp.arch.embedded17 years ago 2 replies

Hello all, I'm sorry if this topic has been covered, but I've done a lot of searching and not found any mention of it anywhere. Feel free...

Hello all, I'm sorry if this topic has been covered, but I've done a lot of searching and not found any mention of it anywhere. Feel free to point me to existing resources if I've just missed them in my search. I'm working with an 8051 and the IAR Embedded Workbench toolset. I have to write some assembly routines that will be called from C. Looking at the compiler's assembly listing ou...


Compact Flash and 8051

Started by David Fussell in comp.arch.embedded19 years ago 15 replies

Hi, I'm attempting to implement CF based storage on an embedded platform (8051 clone- no OS), and have read a few app. notes on the...

Hi, I'm attempting to implement CF based storage on an embedded platform (8051 clone- no OS), and have read a few app. notes on the subject, but I'm seeing some odd behaviour from the CF devices that I'm using (Kingston, SanDisk and Integral). I've tried both memory mode and IDE modes of operation, with IDE giving me the most satisfactory results (I can read and write to Kingston and I...


8051: square root of unsigned short

Started by Michael Koch in comp.arch.embedded20 years ago 14 replies

Hi, For a 8051 controller, I need a fast algorithm for calculating the square root of an unsigned 16-bit word. The result is unsigned 8-bit....

Hi, For a 8051 controller, I need a fast algorithm for calculating the square root of an unsigned 16-bit word. The result is unsigned 8-bit. I know the fastest method would be a 64kB lookup table, but unfortunately I have only 32kB available. Any ideas? Thanks, Michael


8051 reset circuit

Started by ted in comp.arch.embedded19 years ago 21 replies

I m not much of an expert on this side of things, and there are thousands of reset and power management chips from people like Maxim out there....

I m not much of an expert on this side of things, and there are thousands of reset and power management chips from people like Maxim out there. It would take me ages to go through all that lot...but as there are some experts here, I might as well ask! Can anybody recommend a chip number, or pointer to a discrete circuit for a reset management chip for an 8051 that will: a) produce a clea...


When will the 8051 and othe 8-bits go away?

Started by Paul Marciano in comp.arch.embedded19 years ago 80 replies

This is a bit dumb, but let's discuss it anyway. The 8051 and other 8-bit microcontrollers have had a long and distinguished life so far. As...

This is a bit dumb, but let's discuss it anyway. The 8051 and other 8-bit microcontrollers have had a long and distinguished life so far. As more and more low power devices appear using 32-bit instruction sets such as ARM, I wonder how long it will be before 8-bits are no longer selected for new designs. Some fun questions for a Friday: 1. For NEW DESIGNS ONLY, can you guess at how ...


Rtos Design

Started by pachu in comp.arch.embedded20 years ago 26 replies

Hi folk, We were designing an RTOS for a general 8 bit microcontroller. We have designed a round robin schedular. But i have question...

Hi folk, We were designing an RTOS for a general 8 bit microcontroller. We have designed a round robin schedular. But i have question about the stack on 8051. My doubt is, we have our kernel (data, code) and also applications (data and code) Now we need to allocate seperate memory areas for the kernel and the application. How do we take care of the security in 8051. And als...