Build error for multiprocessor sytem.

Hi,

My basic version of design has two interconnected microblaze, FSL has been used for interconnection.

There is one application on each microblaze such that frist writes to second then the second microblaze sends some data back to the first one.

My problem is that while performing Build all user application, it builds the application present in first microblaze but throws errror while building the application in second microblaze.

I am using EDK 9.1i, please throw some expert comments on this problem.

Regards, Shant Chandrakar

Reply to
Shant
Loading thread data ...

Sounds reasonable.

Details of the error message would be helpful!

John

Reply to
John Williams

Hey John,

Thanks for the reply...

The problem has been figured out. It was because both the microblazes were using the same Uartlite for their printf function. After removing the printf from the second microblaze, the build process does not error out.

Thanks again.

Shant

Reply to
Shant

Just curious, but was the error concerning the "outbyte" function for the 2nd processor?

If this is the case, I have found a work-around. Just copy the / libsrc directory from the first processor's directory to the 2nd processors. Everything should work out OK.

Reply to
Jason Agron

I had a similar problem using printf on MicroBlazes. I would definitely just use the smaller xil_printf instead for MicroBlazes. It also reduces the size of the program (stdio versus iostream) significantly (since we're talking limited local BRAM), which can be helpful. I also had issues where several MBs were sending data to stdout at the same time, and it's pretty funny to see two messages combined into one when they both use the same UART. Well, it's funny now. It wasn't quite so funny at the time. :)

Reply to
JD Newcomb

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.