Multiple Micorblaze instantion problem solved, Facing debugging related problem.

Hello All,

Thanks for your precious suggestion; finally the problem of instantiating more than one MicroBlaze is being solved. Now I am facing next set of problem, i.e. debugging my code.

I have interconnected my two MicroBlazes through FLS so as to have two way communications. I have loaded following programs:

In MicroBlaze 0:

#include #include int main(void){ int i = 0; while(i XMD options ->

Microblaze_1 and so I am not able to connect to Microblaze_1. A blank panel appears when followed the above mentioned path with a Tip saying Please choose a Connection Type.

I had been told that we can connect to only one Microblaze at a time. And for successful execution of my code in first Microblaze_0 I want the program in Microblaze_1 to be up and running, but I am not able to start the program in Microblaze_1.

Can anyone tell me:

  1. How to start the program in Microblaze_1 so that the program in Microblaze_0 can successfully send data to Microblaze_1, and get the reply from the same.
  2. How to connect to Microblaze_1.
  3. Is it possible to have a program in any of the microblazes which can start running automatically, soon after doing the reset of the FPGA Board.

Please throw some light on this problem of mine.

Thanks and Regards, Shant

Reply to
Shant
Loading thread data ...

Hi,

You can connect to upto 8 MicroBlazes using the opb_mdm You can only control one at the time using XMD but switch from one to another using a command.

  1. You have to connect to target 1 or target 0 in XMD Read chapter 12 about XMD commands in "Embedded System Tools Reference Manual"
  2. See above, It's all in the documentation
  3. Yes, You can have code initialized in the BRAM which the processors will start to execute after reset. Just click on your application in XPS and set "Mark to Initialize BRAMs"

Göran

Reply to
Göran Bilski

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.