include binary test data

General discussion about the Mojo
Post Reply
pgartside
Posts: 1
Joined: April 26th, 2018, 1:58 pm

include binary test data

Post by pgartside » April 26th, 2018, 2:06 pm

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?

embmicro
Site Admin
Posts: 834
Joined: March 24th, 2013, 12:45 pm

Re: include binary test data

Post by embmicro » May 9th, 2018, 12:05 pm

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.

Post Reply