How to deal with errors with SPT graph tools

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to deal with errors with SPT graph tools

Jump to solution
1,490 Views
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 Kudos
1 Solution
1,331 Views
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   

View solution in original post

0 Kudos
3 Replies
1,330 Views
eleclin
Contributor II

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

0 Kudos
1,332 Views
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 Kudos
1,330 Views
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 Kudos