Saturday, November 8, 2008

M Stuck! Help me!!

This time it's a question, not a "how to" guide.

How can we execute programs written in HLLs like c++/java in some chip or device apart from our personal computers?? Please elaborate on how to upload program; what all devices n cables do I need for this purpose.

Could I expect some help by genius visitors of this blog?

Note:I need to apply this concept to some image processing application.

5 comments:

divyansh said...

hello,
For image processing you can capture the image using any web-cam.There is no need of MCU's.

Write a routine to convert the image file into binary data file,or a file which will then be used as an interpretation of the image.

However it depends on the software you are using.Software's like VS2008 have features of image processing where you can get the data present at a particular co-ordinate of the image.

Akshay Arora said...

brother,

software ki saaaaaari kahaani mujhe maalum hai..

i just wanted to know, where to upload the software so that i could make a small machine dedicated for my image processing application

divyansh said...

Compilers for Mcu's are different from the software used on the PC side.Its good you have a working code

But...

It all depends in what format you are processing image data.
If you write the software in the MCU, And the image data is not available in the format as required by the software then your effort would be waste.
I would suggest first send the image info. to the mcu from the PC using a RS-232,USB or Parallel Port.
Run your code with that data.
Then attach a device which provides image data to the mcu in the proper format.

Akshay Arora said...

so finally u mean that my program in cpp couldn't be used. i need to write that program again specifically for MCU.

righto.
thanku for ur help

divyansh said...

I didn't mean that.
There might be certain header files like iostream.h,stdlib.h etc.
Let me give u an example..
If you are using a header file for certain functions,that function may or may not be there in the Compiler Header File made or MCU.Usually GNU compilers provide most of the functions.

So no need to write the complete code.U just need to make your code compatible with the Compiler(Basic Architecture Of the Code Remains Same).