Forum Discussion
Altera_Forum
Honored Contributor
11 years ago --- Quote Start --- Database error The database has encountered a problem. --- Quote End --- -- if I try to see "Attached Thumbnails". RTFM! 1. Yes, sample "hello world" may run on board as described in "Altera SoC Embedded Design Suite. User Guide" (ug_soc_eds.pdf, see "Getting Started Guides", "Getting Started with Bare Metal Debugging"). Only filename Altera-SoCFPGA-HelloWorld-Linux-GNU.tar.gz is bad -- need import Altera-SoCFPGA-HelloWorld-Baremetal-ARMCC.tar.gz or Altera-SoCFPGA-HelloWorld-Baremetal-GNU.tar.gz. File test.o (or my main.o, hello.o) is intermediate, object format to next linking with system codes, application to run from IDE DS-5 named Altera-SoCFPGA-HelloWorld-Baremetal-ARMCC.axf or hello.axf -- in ELF format. Binary formats to fill in flash get more complicated. 2. The same ug_soc_eds.pdf not divide different Linux-versions, only separate Windows and Linux. If SoC EDS and DS-5 Altera Edition is installed on Ubuntu, then may work. P.S. Pictures not visible so far... And if you want to run non-Baremetal application from embedded Linux (located on SD card), you need read and perform "Getting Started with Linux Application Debugging" from ug_soc_eds.pdf, only use for import archive Altera-SoCFPGA-HelloWorld-Linux-GNU.tar.gz instead Altera-SoCFPGA-HelloWorld-Baremetal-GNU.tar.gz -- more errors present in documentation. Output file is hello.o, DS-5 long connect to board and may debug it execution. P.P.S. Pictures also visible, similar to last Linux-variant, and output of armcc compiler at left, .axf is result to run/debug ! ARMCC may compile and link non-Baremetal application ? In example HelloWorld-Linux-GNU used arm-linux-gnueabihf-*. In other Baremetal examples used armcc or arm-none-eabi-*, in Linux -- only arm-linux-gnueabihf-*.