...
In addition the SPI interface needs to be enabled using raspi-config. Under “Interface options” it os is possible to enable the SPI interface.
...
The build system will then start to build the software. The resulting file is stored in the subfolder “build/raspberry_pi_raspi_shieldlinux” named goal02_raspberry_pi_raspi_shieldprofinet_linux.bin.
Code Block |
---|
pi@raspberrypi:~/ugoal/projects/ugoal/02_profinet/gcc $ ./build/linux/02_profinet_linux.bin [AC_I|plat_spiInit:169] spi opened successfully [AC_I|goal_rpcSetStackMax:819] rpc transfer size set to 1024 [AC_I|goal_miMctcDmCbRead:747] peer requested Sync Init [AC_I|goal_miMctcDmCbRead:747] peer requested Sync Init [AC_I|goal_miMctcDmCbRead:747] peer requested Sync Init [AC_I|goal_miMctcDmCbRead:747] peer requested Sync Init [AC_I|goal_miMctcRpcSyncLoop:471] RPC state synchronized, running appl_setup [AC_I|goal_miMctcRpcSyncLoop:474] configuring timeout values for peer [AC_I|goal_pnioNewAc:341] PROFINET Application Core successfully started [AC_I|appl_setup:245] Initializing device structure [AC_I|goal_pnioDmDpAddAc:4132] generic data provider mapped to position 0 [AC_I|appl_setup:302] PROFINET ready [AC_I|goal_miMctcRpcSyncLoop:506] local setup done |
...