Xilinx / embeddedsw

Xilinx Embedded Software (embeddedsw) Development
Other
926 stars 1.06k forks source link

freeRTOS hello world issue #236

Open michaell12 opened 1 year ago

michaell12 commented 1 year ago

Hello, i tried to the following freeRTOS hello world application using Zynq Ultra Scale 96 v1 and microblaze. On windows the example worked as expected, then i installed ubuntu using virtualbox and tried to run the same example on the vitis installed on the ubuntu. but there i failed because the rx counter is 8 instead of 9 so i get Hello World Example FAILED

any suggestions how to fix this? it seems like a timing problem regarding using the vitis throught a virtual box but i don't know how to fix this

NghiSpectrohm commented 1 year ago

Zynq system registers/words are Little Endian as with Windows. Linux/Mac/Virtual box could be Big Endian, so you need to take care of read/write registers with correct Endian format.