HOWTO: Create APEX2 Project From Example in S32DS for Vision

Document created by Mike Doidge Employee on Jul 19, 2017Last modified by Mike Doidge Employee on Sep 18, 2017
Version 4Show Document
  • View in full screen mode

S32DS for Vision contains many example projects from which you can learn how S32DS for Vision can be used with the help of the Vision SDK to develop vision applications. The example projects contain generated and hand-written code, which utilize the Vision SDK to demonstrate a workflow using S32DS for Vision. In this document, the procedure for creating a project from one of the provided APEX2 examples through to execution on the EVB is detailed.

 

1) Launch S32DS for Vision

2) Select 'New S32DS Project from example'

 

 

3) Select apu_fast9_bareboard project

4) Click Finish

 

 

5) Change to C/C++ perspective, click on 'Switch to C/C++ Development'

 

 

6) Select apex2_fast9: A53_Bareboard in the Project Explorer panel. Build the project 

 

 

7) Prepare the evaluation board hardware

  • You can use the P&E MultiLink to download code to target
  • Connect P&E Multilink to S32V234 EVB using JTAG connector
  • Connect P&E Multilink to PC via USB cable
  • Connect power cable to evaluation board and switch on the power

 

 

8) Open Debug Configuration. You will see an apex2_fast9_init_PNE_evb<number> and an apex2_fast9_PNE_a53_evb<number>. Both of these are necessary to run a bareboard project.  Further, you may see two sets PNE configurations. The number next to “evb” denotes the version of the EVB corresponding to the schematic number.  You can check it by looking at the sticker on your board.

 

 

9) Both the init and PNE configurations are necessary.  To run both, expand Launch Group. You will see apex2_fast9_group_PNE_evb<number>.  This launch group runs the init configuration first followed by the PNE configuration.  Select this one (corresponding to your EVB version) and hit Debug. It may take a few minutes to complete flashing the executable and launch the debugger.

 

 

10) In the Debug perspective, you can step through the code*

 

*Only debugging of the A53 code is supported by P&E GDB

 

10) Click Resume 

  • Should see something similar to what is pictured below
  • There are green diamonds at the corners in the image as identified by the fast9 corner detection algorithm

 

Attachments

    Outcomes