I'm following these instructions to build a executable file using Xilinx SDK under windows and I have some issues as below.
1. I've added API code(v3534.0) and "headless.c" generated by TES to the project, but the definition of functions in common.h seems to be missed. Are these functions "fpga specific files" mentioned in the NOTE part? Can you give me some details about them and how to get them(we are using ZC706 platform and adrv9371 HDL reference design)?
2. We also tried a historic API code(v3528.0) which has the file common.c but four header files("spi.h", "fpga_axi.h", "timer.h", "logging.h") in common.c are missed.
3. Once the API code is built successfully, a executable file can be generated by SDK. I wonder if I can simply move the file to linux OS and run it?
'common.h' list down the functions whose definitions need to be filled with code specific to your platform. You can use older 'common.c' for reference to see how to fill the definition.
other header files("spi.h", "fpga_axi.h", "timer.h", "logging.h") are specific to our implementation and please refer to following post to understand more about them.
you need to run tcfagent on zc706 . Based on project properties
connect via uart serial port
/home/analog# sudo tcfagent -d
Based on what path you mention in debug configuration ( right click project , Debug As-> Debug Configurations..)
Or otherwise you can directly build on zc706 with a normal Linux build with makefile.
Thanks for reply.
Would you please share these header files("spi.h", "fpga_axi.h", "timer.h", "logging.h") that work with ZC706 platform and ADRV9371 evaluation kit? Then we can use this complete API code as a reference to make it easier to customize our own design.
We are working on uploading a working Linux build for zc706 reference platform to save customer efforts. All these header files, along with complete source files will be available soon to download.
We're looking at this and will post if/when the code is completed
Is this some thing that has progressed since January (providing more complete code for reference platform ZC706)? My understanding is that you have implemented the ZC706 specific functions for common.c and the equivalent of headless.c in your linux image and for the AdiCmdServerClient (cmd_server) used by TES and the ZC706, just not released. Releasing these files would get your customers up and running much sooner than currently can. I am fairly new to the the ADI platform (total newbie), but my colleagues that have used no-os and AD9361 in the past were expecting this to be a lot more implemented (since it is a reference platform and you want to get people up and running ASAP).
I'm not sure what order devs are attacking the required items and what resources to implement or how more experienced developers are figuring out what needs to be done and when. I'm at the point where I'm trying to implement the JESD204B initialization. I have the FPGA_setup* and FPGA_resetFpgaIP code that was pasted into this thread (that is what is used in ADI's linux implementation?) as my reference to implement in no-os initialization.
The mykonos_api_source_v3546.0 source includes example files myk_fpga_init.c and myk_fpga_init.h (which were not in the previous API source release), but not mykonos_fpga_ip.h and mykonos_fpga_ip.c (not even skeleton functions and structs like common.c reference), which is a good chunk of the work. At this point, I've used the myk_fpga_init example files and the Mykonos_TCPIP_Client_Library.chm document found in the RadioVerse folder to create the skeleton files for mykonos_fpga_ip. When comparing the generated python script, I can match up the python commands with the pasted FPGA commands provided except for the serializer/deserializer config. I am suspicious of RadioVerse missing these in the generated python file as a bug, but not sure (initJESD section has 3 commands for framing and none for de/serializer).
In the Mykonos_TCPIP_Client_Library.chm document, Classes->Class List->FpgaMykonos->* list all the functions implemented in your TES/Linux code. I'm hoping that using these descriptions and ZC706 userguide, I can implement the required FPGA initialize functions (task for tomorrow). But there appears to be a lot more FPGA related functions in the Mykonos_TCPIP_Client_Library.chm document, so I'll probably implement them as they are deemed necessary (gets through initialization, and then whatever to support other devs testing their FPGA code).
So in the absence of complete reference platform no-os source code, having more verbose instructions/details on implementing all the functions other than "Add API code along with file contains the main function e.g. ‘headless.c’ generated by GUI, device HAL and platform HAL specific into project" and "You will see compilation errors related to platform and fpga specific files, which need to implement as per interface defined in ‘common.h’ on customer platform."
Unless I really misunderstand and I DON'T need to do any FPGA initialization in headless.c nor implement myk_fpga_init or mykonos_fpga_ip files, these files are not mentioned in the AD9371 Software Build Instructions.docx. I would also suggest changing your response to the no-os build instructions "Build steps on reference fpga platform to be added" if you're not actually going to. Otherwise, the customer is under the impression it is coming, and not in 6+ months to never (sounds like it was cancelled and no plans to release).
I would love to hear from anyone who has successfully implemented AD9371 with no-os please chime in with a little summary of the integration efforts or what got you past your blocking point that wasn't obvious (or in my case, obvious to anyone else but a newb).
Thanks for your patience. We are working on a No-OS build and you can expect a release in coming 3 to 4 weeks of time frame.
This will be a complete build with open FPGA design, complete HAL layer source code and bare metal tool chain and a dedicated e-zone forum.
Not to be pushy, but is this no-OS build still going to be released in the next week or two? Our team has been struggling and this would be immensely helpful in getting us up and running. My understanding from your post is that source code will be provided and so fully modifiable? SW and HDL? Thanks.
Thanks for your patience. Your understanding is correct. Please wait for few more weeks.
AD9371 No-OS code is released and is available at below link.
Please note that related queries will be handled by No-OS e-zone forum.
Retrieving data ...