Can you help me about discussing which is more useful and convenient to use? microprocessor or microcontrollers, i appreciate every replies.. thanks..
the first part of any effect discussion on this topic is to define the bounds of two terms. The second part is to clearly define the scoop of application. You'll then have all your answers.Can you help me about discussing which is more useful and convenient to use? microprocessor or microcontrollers, i appreciate every replies.. thanks..
@debjit625: Actually, I have a microcontroller sitting here on my desk that drives a graphic touch screen and an SD card (and several other goodies), and contains a bootloader that lets you choose which application it will run then load that off the SD card. It is definitely a general purpose device by design.
I said on my earlier post...Microcontrollers ain't just for breakfast anymore!
That doesn't mean I said it can run only one program or do a single job, a mcu can execute a lots of program and its nothing new for microcontrollers ,boot loaders are a very old stuff in mcu mostly used in quick development process. In case of my examples I said that a mcu is used in micro wave oven for timing needs but it also do other essential stuff in a microwave oven like user inputs from keypads.microcontrollers are used to perform specific tasks
It should not be the question which one is better, the question should be which one will fulfill the needs of the application.brandon_boyd19 said:It's just a simple paper work on my subject, but i need to know which one do you prefer using? I would like to thank all of you who commented to my topic.
Yes,but you cant compare a old microprocessor like Intel's 8085 with a new microcontrollers like Microchip's PIC32,Atmel's AVR 32,STMicroelectronic's STM32 and many more,if you really want to compare them ,compare it with new generation's processors like Intel core processors for example Intel Core i3,i5 or i7.ErnieM said:@debjit625: My point is the line between microcontrollers and microprocessors is getting blurrier every day.
Like I have already said in above post that using the CPU of a mcu will have limitation, in this case you have a 32bit processor but the external BUS is of 8bits and could access up to 16bits of address space.ErnieM said:PIC32 have a 16 bit address and 8 bit port that can access external memory.
Of course they will do that, but in contrast the new generation processors will do much more than that.ErnieM said:They also offer sophisticated instruction and memory protections
Yes, they can I have already said that you can implement multitasking, but they will be not able to run modern OS codes like Win7.As both microcontrollers and microprocessor are getting better and more functional every day, softwares are also getting bigger and complex every day. Have you ever asked why Real Time Operating System (RTOS) and not a General Purpose Operating System,in my first post I mentioned that mcu will targets specific tasks and that’s the reason for RTOS.ErnieM said:As far as operating systems go, you can get code to implement multitasking for them. FreeRTOS being one I have a slight familiarity with, it supports threading .
That's a limitation of a mcu, yes some mcu can load code and execute at runtime like Atmel's mcu can but still you can't compare them with the microprocessors. Even Microchip's new mcu are containing "Configurable Logic Cell" like PIC16F1507 but that doesn't mean you can now compare it with Intel Core i7.ErnieM said:The only reason my app uses a bootloader is the compiler is lagging the silicon making it near impossible to burn a kernal in ROM and execute arbitrary application code run-time loaded into RAM. Microchip IS looking to adding that (no time frame noted), and I have not checked if it is possible with the latest 2.0 version release.
So very true, and it's not helped by "marketing terminology" where some companies are marketing their chips as microcontrollers when they are microprocessors...@debjit625: My point is the line between microcontrollers and microprocessors is getting blurrier every day.
...