
Analog Essentials
Getting Started Guide
13
c. Make an edit to the maximPMOD.c file. We will uncomment a line of code to add a printf statement to
the boot-up screen. This printf statement is located about half-way through the file maximPMOD.c.
d. After un-commenting the “Hello World” line, select File > Save from the menu. This will force the IDE to
recompile with the code change. The contents of the console should be as shown below.
e. The last two lines are critical. If elfcheck passes, then the (.elf) executable for the Microblaze has been
built successfully and is ready for download via the XMD window and “dow” command. Note: if the
Microblaze is already running, the XMD command “stop” can be issued to stop the Microblaze. “Run”
will then redownload the Microblaze and run the program.
Komentáře k této Příručce