01-19-2017 08:37 AM
I was wondering if there is any materials on a assembling and running a simple assembly code (Thumb 2 preferred) application on the Zynq. I want to use the Zybo as a platform to teach a basic embedded systems course, and we always start with Assembly.
Please advise. Thanks!
01-19-2017 10:02 AM
01-19-2017 11:33 AM
@balkris I appreciate the response, but none of those resources have anything to do with assembly language programming on the Zynq.
I would like to assemble and link an assembly program using the arm-none-eabi toolchain from the command line, just like you would on another ARM chip, and then use it to run a basic application on the Zynq. I don't want anything to do with PL or Vivado/SDK, just want to run a bare-bones application written in assembly.
01-19-2017 11:51 AM
I guess the title of this thread is a misnomer, since above I said I wanted a way to do it outside SDK. I guess I will rephrase my question as the following two questions:
01-19-2017 02:30 PM
01-19-2017 02:44 PM
@sampat76 thanks for the response.
Hmmm thats interesting, since Xilinx does provide a tailored gcc-arm-none-eabi toolchain, that includes a c compiler, assembler, and linker...all that is missing is a way to get the .elf or .bitfile onto the board.
And I know about the inline assembly, but unfortunately that won't work for what we are looking for.
I find it hard to believe that there is absolutely no way to directly program the processors onboard the zynq, and frankly quite unfortunate :(
01-19-2017 03:23 PM
Xilink's tool-chain is Mentor Graphics branch of GCC called Code Sourcery.
You can also use the Linaro GCC branch or ARM's CC (Keil).
They will all generate code that can run on the Zynq.
If you don't want to us SDK, there are many solutions.
No products that are based on the Zynq require SDK :-)
The program can be loaded from a SD/MMC card, QSPI flash, NAND etc.
A quick search on Zynq Boot should give you plenty of options.