你的浏览器版本过低,可能导致网站不能正常访问!
为了你能正常使用网站功能,请使用这些浏览器。

基于STM32F767ZI AI 应用工程创建----转载  

[复制链接]
木木&点点 发布时间:2019-1-6 17:29
赞 收藏 3 评论33 发布时间:2019-1-6 17:29
33个回答
xujiantj 回答时间:2019-2-1 09:12:30
多谢分享,学习了
单片机爱好者 回答时间:2019-5-25 21:11:26
配置好的工程报错..
单片机爱好者 回答时间:2019-5-25 21:11:53
Build target 'STM32F767_AI'
6 a0 h& Z  [9 j3 I! E/ ?- Massembling startup_stm32f767xx.s...' [  y1 q8 Q3 g  A: c- ~* \0 w/ W
compiling main.c...* L3 g# z0 w8 F! W+ o3 ~0 b
../Inc/app_x-cube-ai.h(77): error:  #5: cannot open source input file "network.h": No such file or directory2 {" j, C* C, X7 O  B: X2 o
  #include "network.h"
) a% b: g6 K( h- D3 I7 k4 q../Src/main.c: 0 warnings, 1 error
4 e' r+ K& F: e0 Acompiling app_x-cube-ai.c...) G- Y" v% @( |' C; b
../Inc/app_x-cube-ai.h(77): error:  #5: cannot open source input file "network.h": No such file or directory
  {0 M4 A, [, S+ O( n  #include "network.h"
/ _+ |. R' v% G../Src/app_x-cube-ai.c: 0 warnings, 1 error
$ j4 f5 }# A! D- ]compiling stm32f7xx_it.c...
1 F8 |+ v3 x0 t* kcompiling stm32f7xx_hal_msp.c...
  R2 U7 b, \5 j/ A% icompiling stm32f7xx_hal_cortex.c...
& X6 h  G- T  d" \# Rcompiling stm32f7xx_hal_crc.c...* c0 x6 D! N7 Y: {6 }
compiling stm32f7xx_hal_crc_ex.c...
5 l- T' e* v1 F! mcompiling stm32f7xx_hal_tim.c...6 l; F! u0 {" H3 l! R
compiling stm32f7xx_hal_tim_ex.c...2 d3 N9 j! Y: z( Y9 n! _) m. F
compiling stm32f7xx_hal_uart.c...* u4 O9 x; h4 m
compiling stm32f7xx_hal_uart_ex.c...9 k# a9 ?, C. e) B$ M
compiling stm32f7xx_hal_rcc.c...
# \+ R: h/ M7 c+ E$ K: G$ I/ V& Ecompiling stm32f7xx_hal_rcc_ex.c...
, O9 G1 e8 Q6 ecompiling stm32f7xx_hal_flash.c...
! O" _6 V+ Q6 [( gcompiling stm32f7xx_hal_flash_ex.c...9 ?! B0 Y6 E. t0 K4 T! u
compiling stm32f7xx_hal_gpio.c...6 I8 D3 j* i  H
compiling stm32f7xx_hal_dma.c...7 a/ f: J: i3 E) D0 D
compiling stm32f7xx_hal_dma_ex.c...
8 a% \6 ^( W$ t; s9 {compiling stm32f7xx_hal_pwr.c...
# }4 w) r4 O8 l6 _compiling stm32f7xx_hal_pwr_ex.c...
% K9 C0 b. V' s0 a6 L; l$ Ocompiling stm32f7xx_hal.c...
+ e- T& J  G0 m: H) B5 dcompiling stm32f7xx_hal_i2c.c...
/ z, k/ _2 H# x4 B8 `  Z9 x5 fcompiling stm32f7xx_hal_i2c_ex.c..." B* J+ p1 l* O+ w  G
compiling stm32f7xx_hal_exti.c...4 h6 y  o6 r& `# D5 v( W4 G
compiling system_stm32f7xx.c..., N. Q5 s5 Z  ?6 _+ _
compiling aiPbMgr.c...
& ^9 e# g! A3 o: N0 y$ s../Inc/app_x-cube-ai.h(77): error:  #5: cannot open source input file "network.h": No such file or directory
' T  F9 _+ S  m( ^8 S  #include "network.h"/ w# j( b9 [$ c
../Middlewares/ST/X-CUBE-AI_Application/Validation/Src/aiPbMgr.c: 0 warnings, 1 error4 O2 @& S1 m0 `5 i) b. Z  |% {) X
compiling aiTestUtility.c...
; b, a  P* }5 j- i' d7 P../Inc/app_x-cube-ai.h(77): error:  #5: cannot open source input file "network.h": No such file or directory9 o$ N% e0 n4 @
  #include "network.h"
! b' ^7 [4 l7 x1 w+ U../Middlewares/ST/X-CUBE-AI_Application/Validation/Src/aiTestUtility.c: 0 warnings, 1 error9 \% {+ ~8 Z9 h- e3 Q8 h. h
compiling aiValidation.c...
7 p# f# s* M1 I8 {  r../Inc/app_x-cube-ai.h(77): error:  #5: cannot open source input file "network.h": No such file or directory! N$ c$ @7 c0 V5 d$ o) L/ _
  #include "network.h"
- l- y, A3 y5 {+ A& ^../Middlewares/ST/X-CUBE-AI_Application/Validation/Src/aiValidation.c: 0 warnings, 1 error7 Z8 I' C+ l/ u' x6 J; \4 }: @: Y
compiling pb_common.c...
" h6 t3 I  t' o) x3 d5 {5 `$ Qcompiling pb_decode.c...7 ^& F+ h& N+ \, ~
compiling pb_encode.c...9 S: a/ n# X( U1 b# e3 j
compiling stm32msg.pb.c...2 P  E; G  d5 }  B
"STM32F767_AI\STM32F767_AI.axf" - 5 Error(s), 0 Warning(s).
& G6 ^0 w: M8 i2 P1 uTarget not created.
单片机爱好者 回答时间:2019-5-25 21:12:11
Build target 'STM32F767_AI'; q8 Y& d% Y; A
assembling startup_stm32f767xx.s...
+ Y6 p: V& G/ M/ w+ a3 d; Acompiling main.c...
+ k% D% ^9 R& e; t' p../Inc/app_x-cube-ai.h(77): error:  #5: cannot open source input file "network.h": No such file or directory
6 C! |  y+ K  @) a; A  #include "network.h": u! R4 g' w3 }/ |
../Src/main.c: 0 warnings, 1 error
: z6 @: S. D  \# M) Bcompiling app_x-cube-ai.c...
5 n: D3 q2 ?5 e( h9 O; r7 L, ]: y../Inc/app_x-cube-ai.h(77): error:  #5: cannot open source input file "network.h": No such file or directory
7 F- t% A1 K9 Y& R- \% S2 x7 }  #include "network.h"
' P( C/ `  o( h& z../Src/app_x-cube-ai.c: 0 warnings, 1 error
8 D- b7 q" n3 X# G* Zcompiling stm32f7xx_it.c.... B9 b5 C- i" W  I- C
compiling stm32f7xx_hal_msp.c...7 o' W. P. w  m' N  ]; J
compiling stm32f7xx_hal_cortex.c...# f- ^+ K+ D: s$ q% M& X% w7 j
compiling stm32f7xx_hal_crc.c...* v; `$ a) C, j% u; `4 v1 m
compiling stm32f7xx_hal_crc_ex.c...* R2 u. Y" C$ k2 R/ {- B
compiling stm32f7xx_hal_tim.c...2 y$ k+ N3 ?7 S* c
compiling stm32f7xx_hal_tim_ex.c...# G$ n+ J! ^/ f$ m) |5 R; f
compiling stm32f7xx_hal_uart.c...4 @0 D  Y2 A6 ]# j  a& B/ J3 l
compiling stm32f7xx_hal_uart_ex.c...2 |3 d9 b( @9 T, v
compiling stm32f7xx_hal_rcc.c...
1 L  C0 m7 {1 @! Ucompiling stm32f7xx_hal_rcc_ex.c...) y/ H% ?7 n8 y$ R; ]$ x# D4 c
compiling stm32f7xx_hal_flash.c...
' D( x+ q; O* M+ r8 }2 lcompiling stm32f7xx_hal_flash_ex.c..." H& e5 Q- C5 T5 `  \; e; b
compiling stm32f7xx_hal_gpio.c...7 F% r* N" o) I2 P3 ?# ]- F
compiling stm32f7xx_hal_dma.c...
: f5 q' |# O* ?& J' L* R- o" f4 ~compiling stm32f7xx_hal_dma_ex.c...1 J8 U, u1 o4 d' X/ `
compiling stm32f7xx_hal_pwr.c...$ W" p) P" N- B3 J8 ~, ~1 |
compiling stm32f7xx_hal_pwr_ex.c...2 F; Z0 ~* }7 R$ b  _; Y1 x
compiling stm32f7xx_hal.c...; l0 `7 U: Y1 d. y1 y, r2 H
compiling stm32f7xx_hal_i2c.c...
" A5 {$ I8 ?. F" l2 qcompiling stm32f7xx_hal_i2c_ex.c...
3 b$ q* J; ?; b  L$ Q3 ocompiling stm32f7xx_hal_exti.c...
& [4 y+ Q9 h& u* D1 i, N+ Lcompiling system_stm32f7xx.c...* i( b$ x5 {" N7 g
compiling aiPbMgr.c...
# @- K: }; Q4 `* t../Inc/app_x-cube-ai.h(77): error:  #5: cannot open source input file "network.h": No such file or directory
) g( x" ]7 j: H. I& e# F! F  #include "network.h"
& w+ o4 i# m+ P# |' {- U+ W../Middlewares/ST/X-CUBE-AI_Application/Validation/Src/aiPbMgr.c: 0 warnings, 1 error
3 M$ l5 c4 S" Q0 H; j4 _: E8 ucompiling aiTestUtility.c...
/ P7 l$ B: w  G# Y9 v$ u. `; L$ u../Inc/app_x-cube-ai.h(77): error:  #5: cannot open source input file "network.h": No such file or directory, V  ~8 b6 R" P) E+ m- N( p
  #include "network.h"4 C( u  B2 N" i$ L1 w2 ?+ _
../Middlewares/ST/X-CUBE-AI_Application/Validation/Src/aiTestUtility.c: 0 warnings, 1 error. X$ ^, p. s0 j; }2 w) r' ^; y5 N' [; f
compiling aiValidation.c...& l4 L0 Z7 M8 \4 p
../Inc/app_x-cube-ai.h(77): error:  #5: cannot open source input file "network.h": No such file or directory
  Z! y3 a, G" G4 u# i) _5 X  #include "network.h". B$ t' o% w* j2 V
../Middlewares/ST/X-CUBE-AI_Application/Validation/Src/aiValidation.c: 0 warnings, 1 error
! I9 U/ x% [$ H: M5 lcompiling pb_common.c...6 }: |! d- l$ N* [1 w5 |; h! K  C
compiling pb_decode.c...: W- e/ r/ U8 l+ [0 q) s
compiling pb_encode.c...! n, a5 @# a  [! Q6 q5 ~$ ~
compiling stm32msg.pb.c...
7 a  M! [6 q3 E! ^"STM32F767_AI\STM32F767_AI.axf" - 5 Error(s), 0 Warning(s)./ [" m0 [$ P; _: s3 O
Target not created.
じ太阳当空照 回答时间:2019-7-12 17:12:51
点点&木木 发表于 2019-1-23 15:230 J. e& T( n  u, b. B, H2 b
输出吗   这是去使用库的AI神经算法

& z( P: l" B% _/ Q你们用的是哪一版的CUBE呢,为什么我按照步骤来都做不出了
じ太阳当空照 回答时间:2019-7-12 17:13:15
hu-jian-li 发表于 2019-1-28 11:02
: @4 |5 X4 N0 I. q0 Q* B  ~我导入model.h5就没反应了,没有出现他教程中的STM32F767AI.H5,请问要怎么操作 ...

' {. ~' m/ I8 {. o6 A我也是这种情况,请问您解决了吗?
じ太阳当空照 回答时间:2019-7-12 17:14:03
点点&木木 发表于 2019-1-31 19:42
4 S$ T% P' {/ E8 d; U9 `导入到工程的时候,没出现STM32F767AI.h5吗
; I$ H, w. d$ f2 X1 Y
我也是,只出现了model.5,然后就没反应了。我们是哪里出问题了啊。我都不知道
Beatle 回答时间:2019-7-12 22:03:33
じ太阳当空照 发表于 2019-7-12 17:14
3 K9 n4 m" t8 N6 F. I: Z! f: o我也是,只出现了model.5,然后就没反应了。我们是哪里出问题了啊。我都不知道 ...
; J$ s3 V$ r( A0 [1 c1 y3 q  Q3 a( U
导入model.h5就行,我今天试了下没问题的。
じ太阳当空照 回答时间:2019-7-14 09:15:34
Beatle 发表于 2019-7-12 22:031 x% D2 o+ Y' X( [1 Z3 Y+ Q$ k
导入model.h5就行,我今天试了下没问题的。

7 m6 J6 A, T$ S% G" H我真的不知道是哪出了问题,求大神指导,我导入以后,选好芯片,然后点击Additional Software进去,里面是空的,什么都没有。我该如何解决呢,求大神指导。
Beatle 回答时间:2019-7-14 14:55:07
じ太阳当空照 发表于 2019-7-14 09:157 d; u/ f4 n0 a9 t+ T1 \
我真的不知道是哪出了问题,求大神指导,我导入以后,选好芯片,然后点击Additional Software进去,里面 ...

- b' Y1 A" R1 `$ G首先确保已经安装了AI库0 ^! f% N, Y) j4 S
8 t6 B/ C+ \: M
1.png 9 N- P! A! q, y, ?* ]! @4 {, ?' M
使能Atificial intelligence后,配置好参数,确保自己使用的单片机是在列表中的。. [3 q6 c8 K; n- Y

2 r5 S* `& q3 H2 ~0 v# ]* M; V% o/ Y8 x& a' v0 _/ K" V
2.png ) s; K! _2 x2 p  {* D3 s: p
% q' |8 L: A3 L8 x
  m/ b- Z$ C" e8 J/ r

* y* W# t3 ?! Q# Y$ J0 \如果确定上面操作无误,界面还是空的话那就看看这里的配置是否和你真实的路径是一致的。
4 @4 p1 h$ g3 T& h' w% ^
# J- ^" [, D. V5 U) t 3.png
/ k# S" U) Q, K/ [# |8 O
じ太阳当空照 回答时间:2019-7-14 20:37:06
[img][/img]
1563107727(1).png
1563107734(1).png
1563107755(1).png
じ太阳当空照 回答时间:2019-7-14 20:46:32
Beatle 发表于 2019-7-14 14:552 J$ `; ~) Z: }$ K
首先确保已经安装了AI库

) S. _4 R6 _  n4 O. K# v, n所有都按照你的步骤来,但还是这个样子,包也安装了,怎么办啊,好崩溃啊?我真的不知道是什么问题9 @1 {+ ]: M, w  _5 X1 P; r% `
1563108284(1).png
じ太阳当空照 回答时间:2019-7-14 20:51:37
Beatle 发表于 2019-7-14 14:55
) a" ]* L9 z8 D. k6 f2 `5 J2 F首先确保已经安装了AI库

( R) j0 C2 M& n& |, z2 o路径是一致的,我真的不知道哪里错了。包也装了,就是打开ADD software里面还是空。
Beatle 回答时间:2019-7-15 08:00:23
じ太阳当空照 发表于 2019-7-14 20:51
+ E! V; A, K; E  j3 G路径是一致的,我真的不知道哪里错了。包也装了,就是打开ADD software里面还是空。 ...

) r  z) T+ |2 B3 E' `8 y你试试我的工程看能正常打开嘛,如果不能正常打开那就是软件配置问题了。还有就是安装目录是不是有中文目录
3 _( j4 P5 V) l! v
# ]4 U/ F; y! ?! K0 X  v链接:https://pan.baidu.com/s/1uHkIDNZYPQFDQe8EBkuSZA
; X1 Z- K* @/ g/ N提取码:i4ek
じ太阳当空照 回答时间:2019-7-15 08:26:18
Beatle 发表于 2019-7-15 08:00
0 ~3 u+ P+ Z. [4 w: `你试试我的工程看能正常打开嘛,如果不能正常打开那就是软件配置问题了。还有就是安装目录是不是有中文目 ...

3 {0 z5 Q  K' n1 t% a% ~! {你的工程我可以打开,但是在ADD software那里依然是空的,为什么我自己就没办法呢
1563150285(1).png
1563150296(1).png

所属标签

相似技术帖

官网相关资源

关于
我们是谁
投资者关系
意法半导体可持续发展举措
创新与技术
意法半导体官网
联系我们
联系ST分支机构
寻找销售人员和分销渠道
社区
媒体中心
活动与培训
隐私策略
隐私策略
Cookies管理
行使您的权利
官方最新发布
人形机器人运动控制、感知与智能配电
半导体创新技术与应用方向
EE架构与软件定义汽车
12V/48V 汽车智能配电(SPD)
区域控制单元(ZCU)与分区架构
关注我们
st-img 微信公众号
st-img 手机版