How to deal with errors with SPT graph tools

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How to deal with errors with SPT graph tools

跳至解决方案
1,954 次查看
eleclin
Contributor II

pastedImage_1.png

I used the graph tools to generate spt code and when I built the project there was errors:pastedImage_2.png

I didn't edit the code generated by spt graph tools.

How can I solve this error. 
P.S. It does not have error in the earlier time with the same configuration.

Regards

Hai

0 项奖励
回复
1 解答
1,795 次查看
jiri_kral
NXP Employee
NXP Employee

Hi Hai, 

Unfortunately SPT Graph tool in S32DS for Power PC v.1.1 is almost unusable for generating ASM code. 

In your case - graph tool add extra comma character after vector size - .sync 256, . You can manually remove coma char after 256 in generated code - or write the code by yourself and ignore graph tool at all. 

SPT Graph tool will be fixed in version 1.2

Jiri   

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,794 次查看
eleclin
Contributor II

In this video I show the bug.  And the solution is mentioned by Jiri.
P.S. please ignore the music.

0 项奖励
回复
1,796 次查看
jiri_kral
NXP Employee
NXP Employee

Hi Hai, 

Unfortunately SPT Graph tool in S32DS for Power PC v.1.1 is almost unusable for generating ASM code. 

In your case - graph tool add extra comma character after vector size - .sync 256, . You can manually remove coma char after 256 in generated code - or write the code by yourself and ignore graph tool at all. 

SPT Graph tool will be fixed in version 1.2

Jiri   

0 项奖励
回复
1,794 次查看
eleclin
Contributor II

Here I find one way to solve this error: delete the instruction and rebuilt one with same configuration. 
Does it mean that the error may be a bug?

pastedImage_1.png

0 项奖励
回复