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 <mb_interface.h>
#include <xutil.h>
int main(void){
int i = 0;
while(i<10){
microblaze_bwrite_datafsl(i, 0);
microblaze_bread_datafsl(i, 0);
xil_printf("pong %d\n\r", i);
}
}
In MicroBlaze 1:
#include <mb_interface.h>
#include <xutil.h>
int main(void){
int i;
while(1){
microblaze_bread_datafsl(i, 0);
i++;
xil_printf("ping %d\n\r", i);
microblaze_bwrite_datafsl(i, 0);
}
}
My aim is to let them pass data through FSL. The problem is that I am
able to connect to only One Microblaze_0, I am not able to do setups
for debugging microblaze_1 through Debug -> 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