MATLAB Answers

8051 Micro-Controller Programming Using Matlab..

22 views (last 30 days)
Arun Sharma
Arun Sharma on 30 Sep 2011
Can i program the Micro-Controllers such as AT89c51 Using MATLAB..
If yes then pls tell me how to do so...
Thanks in Advance

Answers (1)

Walter Roberson
Walter Roberson on 30 Sep 2011
Depends on what you mean by "program".
You would probably need a flash bios or SDRAM to load a program at boot time that would communicate over the serial port and upon command, transfer code in to memory, verify it, and then start it executing. A failsafe timeout that either interrupted or rebooted would probably not hurt ;-)
For some information on the serial port interface, see here. In that thread, Scott recommends highly against using the 8051 with the product that would later get named MATLAB Coder.
Also possibly useful: this
And a warning against the 8051: here

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!