...
Requirements (hard/software)
Compiling the BSP demo
Loading & running the demo
Requirements
...
Hardware Tools
To debug and flash new firmware you’ll need either one of the following:
1 x STLink-V3 programmer, or…
2 x STLink-V3MINIE programmer
Note:
Both options include the STDC14-STDC14 flat cable used to program the N6Cam.
...
Toolchain
# | Name (+Link) | Version | Notes |
---|---|---|---|
1 | 1.17.0 | ||
2 | 1.0.0 | CubeIDE extension package | |
3 | 2.18.0 | Required for firmware signing |
...
STM32 tools must be included on the system PATH:
STM32CubeIDE.:
By default:C:\ST\STM32CubeIDE_1.17.0
STM32CubeProgrammer.:
By default:C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin
...
Add the above paths to your system environment variables.
BSP Source
Info |
---|
The BSP source is available from the Board Support Packages (BSP) |
The following steps assume that you have a copy of unzipped the N6Cam BSP sources releasesource package, which contents should look as followslooks like:
...
This working folder will be considered as <ROOT>
for in the following instructions.
Compiling the
...
BSP
Follow these steps to compile:
Open the STM32CubeIDE
Go to
File > Import...
:(1) Select
General > Existing Projects into Workspace
(2) Click Next.
Find and import the projects:
(1) Click
Select root directory
(2) Browse for the sources
<ROOT>
folder(3) Select all projects (FSBL, and Standalone)
(4) Click Finish
Once loaded, your project should look like this:
Build both FSBL and Standalone using the “Release” profile
The generated binaries can be located at:
FSBL:
<ROOT>\Sources\STM32CubeIDE\FSBL\Release\Siana.N6Cam.BSP.FSBL.hex
Standalone:
<ROOT>\Sources\STM32CubeIDE\Standalone\Release\Siana.N6Cam.BSP.Standalone.hex
Loading & running the demo
The BSP comes with the demo that is preloaded when you purchased the N6Cam. This demo consists of a people-detector model and a vider streamer over USB, see the Intro (unboxing).
Signing binaries
Before loading the application to the N6Cam, you must sign the binaries. To achieve this you’ll need to:
...