- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have written a SDRAM controller for connect the FPGA and SDRAM, my FPGA is openMSP430 core. I want to put the test program hex fire in the SDRAM, how can I let the openMSP430 core know to read the hex fire in the SDRAM? read the instruction and execute it. What should I do? Thank you for reading this and help.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I suppose your project is on an Altera FPGA and it contains an openMSP430 core. I do not know how to set your microcontroller to boot from a particular address, it may boot from a fixed address or it may be configured at compile time (of the verilog); please refer to the opencores.org site and let us know, it may be useful to others.
You should instantiate some internal FPGA memory with the Megawizard tool (for example) and configure it to use the hex file. Then compile the fpga project placing the hex file in the project directory. You may need to write some code to relocate the content of the hex file to the SDRAM: it may be easier to write some C code to do it, maybe you can find some VHDL/verilog code to initialise an external memory using the internal one (or write your own). Hope it helps.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page