Page 1 of 1

include binary test data

Posted: April 26th, 2018, 2:06 pm
by pgartside
Im trying to create a video display and wanted to use some test data to see if it's working and was woundering if there is a way to include the binary data in my lucid project or would i need to create some memory and then send the data over the usb port?

Re: include binary test data

Posted: May 9th, 2018, 12:05 pm
by embmicro
You can store it in a ROM. Check out how we stored instructions for the CPU in this tutorial https://embeddedmicro.com/blogs/tutorials/basic-cpu

If you have a lot of data (or stuff that changes a lot) you can write a small script to generate the file.