Hi guys,
I'm not sure this is the right place to ask this question, but I found no answers to it on xilinx forums. Hope you can help me!
intro: I work with atlys board. using Microblaze processor. Using xilinx EDK and SDK as tools.
For an image processing purpose, I designed a custom coprocessor with FSL bus, which gets a (4,4) pixel window of an image from microblaze and applies a filter on it ,then sends it back to microblaze.I iterate the window on image to apply filter on all of the image.
I put the original image as a header file in C code. And use RS232 to send the resulted image from board to computer. The resulted image is a matrix of numbers between 0 and 255
First I used RS232 with baud rate 9600. it worked perfect and gives the resulted image to computer. the only problem was that the speed of sending image was too low.
problem: I went back to edk, changed RS232 baud rate to 19200 and regenerated everything. it also worked with 19200. but still the speed was too low.
I changed the baud rate to 57600 and regenerated everything. when I tested the design, IT GIVES THE ALPHABET CODES CORRECT BUT THE MATRIX IS ALL ZEROS.
for example main part of my C code is like: xil_printf("hello"); print("Hello Worldnr"); MYCORE_SelfTest(); //the custom IP works here xil_printf("printing final image...rnrn"); for(i=0;i