movie_freak
Member level 5
microprocessor vs microcontroller
Hi,
I've never made an embedded application program on a processor like 68000, but i have made simple assembly programs on 8085,8086 at college level. I do have made embedded application on Atmel AVR using AVR Studio and GCC.
My questions are:
-- Is there any compiler which can convert the code to machine level that i can write in C to work on 68000, or what is the method of programming a C application on the microprocessor to work it like an embedded system? (I know that i need to consider about external flash, rom eeprom etc when im using a microprocessor)
-- Or else is there any advantage of using a microcontroller family which are generally used for these kind of applications?
The advantages I know using a microcontroller over microprocessor are:
-- no need to handle flash and its addresses in the software
-- no need to handle ram and its software part
-- we get easy library functions for eeprom and for other inbuilt addons that exists inside the controller
Are there any more which I am missing out?
I would like to tell you some of my project requirements are as follows:
-- 4MB of flash
-- 512k of Ram
-- watch dog
-- rtc
-- rs485
which i may not get inside a controller, that is the primary reason that i am considering processor as i cannot get so much of flash and ram with a controller?
the question is: in this case, is there any advantage of using a microcontroller instead of a microprocessor if i need to handle flash and ram in both the cases?
My only fear is that i've never programmed a microprocessor with these kind of applications?:|
waiting for ur valuable suggestions
Many Thanks,
Surya
Hi,
I've never made an embedded application program on a processor like 68000, but i have made simple assembly programs on 8085,8086 at college level. I do have made embedded application on Atmel AVR using AVR Studio and GCC.
My questions are:
-- Is there any compiler which can convert the code to machine level that i can write in C to work on 68000, or what is the method of programming a C application on the microprocessor to work it like an embedded system? (I know that i need to consider about external flash, rom eeprom etc when im using a microprocessor)
-- Or else is there any advantage of using a microcontroller family which are generally used for these kind of applications?
The advantages I know using a microcontroller over microprocessor are:
-- no need to handle flash and its addresses in the software
-- no need to handle ram and its software part
-- we get easy library functions for eeprom and for other inbuilt addons that exists inside the controller
Are there any more which I am missing out?
I would like to tell you some of my project requirements are as follows:
-- 4MB of flash
-- 512k of Ram
-- watch dog
-- rtc
-- rs485
which i may not get inside a controller, that is the primary reason that i am considering processor as i cannot get so much of flash and ram with a controller?
the question is: in this case, is there any advantage of using a microcontroller instead of a microprocessor if i need to handle flash and ram in both the cases?
My only fear is that i've never programmed a microprocessor with these kind of applications?:|
waiting for ur valuable suggestions
Many Thanks,
Surya