TestGpo.Tool 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. A2 on ARM
  2. For Zynq/ZedBoard targets, the compilation line is:
  3. Compiler.Compile -b=ARM --traceModule=Trace --destPath=arm.bin
  4. ARM.A2/Initializer.Zynq.Mod
  5. ARM.A2/Runtime.Mod
  6. ARM.A2/Zynq.ARM.Platform.Mod
  7. ARM.A2/FPE64.Mod
  8. ARM.A2/ARM.ARMRuntime.Mod
  9. ARM.A2/Trace.Mod
  10. ARM.A2/Zynq.Uart.orig.Mod
  11. ARM.A2/ARM.Machine.Mod
  12. ARM.A2/Heaps.Mod
  13. oc/Generic.Modules.Mod
  14. ARM.A2/Objects.Mod
  15. ARM.A2/Kernel.Mod
  16. ARM.A2/TestGPO.Mod
  17. ~
  18. StaticLinker.Link --fileName=Test.Bin --displacement=100000H -a --path=arm.bin
  19. Initializer
  20. Runtime
  21. Platform
  22. FPE64
  23. ARMRuntime
  24. Trace
  25. Uart
  26. Machine
  27. Heaps
  28. Modules
  29. Objects
  30. Kernel
  31. TestGpo
  32. ~
  33. V24.Scan
  34. WMV24Component.Open 15 115200 8 1 none ~
  35. /!\ NOTE that the Initializer module, which provides processor and chip initialization is linked before Runtime.
  36. The reason for that is that Initializer does some sensitive operations, like setting up a stack, that do not mix
  37. well with the automatic inclusion of a call to Runtime.Publish. Therefore Runtime IMPORTS Initializer.
  38. Moreover, the TCL initialization and interrupt vectors form a second, smaller executable for the Zynq/ZedBoard platforms,
  39. as the main image is loaded in external memory. You can generate it as follows:
  40. Compiler.Compile -b=ARM --metaData=simple --destPath=arm.bin
  41. ARM.A2/Initializer.TCL.Zynq.Mod
  42. ~
  43. StaticLinker.Link --fileName=Init.Bin --displacement=0H -sa --path=arm.bin
  44. ZynqInitializer
  45. ~
  46. FoxARMInstructionSet.Disassemble Test.Bin -a=00013DEB4H ~
  47. FoxARMInstructionSet.Disassemble Test.Bin ~
  48. Test.Log
  49. FoxARMInstructionSet.Disassemble Init.Bin -a=40H ~
  50. Compiler.Compile -b=TRM --objectFile=Intermediate --activeCells
  51. oc/TRM.TRMRuntime.Mod
  52. oc/TRM.Heaps.Mdf
  53. Fox/AxisChannels.Mod
  54. Fox/Engines.Mdf
  55. ARM.A2/TestGpo.Mdf
  56. ~
  57. ActiveCellsComponents.AddPath "ActiveCells-HWL"~
  58. ActiveCellsComponents.BuildHardware --target="ActiveCells-HWL/Zedboard-Hybrid.achc.xml" --outputPath="TestGpo" TestGpo ~