Programming an FPGA using the MSP430

Hi all, I?ve read the C code made by Xilinix to program a FPGA using an embedde microcontroller. The application is written to fit the 8051 and I have to port it into MSP430f1232 to program a Spartan 3.

In the application description it says it is easy to port the code int others microcontroller and it is only needed to change few functions i the file ports.c but my GCC refuses to compile the application.. Does anyone know how to port this application into our beloved MSP430??!

I?ve configured the micro to have the TMS wire at port 3 pin 0, the TD wire at port 3 pin 1, the TDO wire at port 3 pin 2 and the TCK at port pin 3.

The application description can be found here

formatting link
And the provided C code can be found here ftp://ftp.xilinx.com/pub/swhelp/cpld/eisp_pc.zip

Thanks in advance to all who will give me a hand fixing this littl issue!

Reply to
Stempio
Loading thread data ...

You're going to have to give a lot more information than just "it doesn't compile" - what are the error messages you are seeing, what is the code that is giving these errors, and what have you done to try and fix them?

mvh.,

David

Reply to
David Brown

Yes. It's an easy three-step process:

  • Read the code
  • Understand the code
  • Change the parts that won't compile without changing their meaning
--
Tim Wescott
Control systems and communications consulting
http://www.wescottdesign.com

Need to learn how to apply control theory in your embedded system?
"Applied Control Theory for Embedded Systems" by Tim Wescott
Elsevier/Newnes, http://www.wescottdesign.com/actfes/actfes.html
Reply to
Tim Wescott

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.