7i97+8i20 error function not found

More
3 years 11 months ago - 3 years 11 months ago #256743 by saquzi
No I did not had it selected, that explains a lot :-).. Modified and selected it, but now there is lots of errors in the Hal file with the nets etc. I marked all the error spots with ##, where the debug file says "xxxxx" does not exist.. There is many of them, so i think there would be somehow common problem between them? And is it normal that in pnnconf in the BLDC section you can not alter most of the values? Maximum current or any of the values on the right bar. You can write a number but when you press enter they all return back to zero..

 

File Attachment:

File Name: takisawa_2...14-3.hal
File Size:10.44 KB


E: I Know that most of the values causing the error needs the correct operating value, but in which exact way it should be written to them for it to be correct? (this ain´t the correct way?: setp       [HMOT](CARD0).8i20.0.2..max_current 10.000 )

 
Last edit: 3 years 11 months ago by saquzi.

Please Log in or Create an account to join the conversation.

More
3 years 11 months ago #256745 by PCW
Is the 8I20 detected?

Have you listed the hal pins with:

halcmd show pin

?

Please Log in or Create an account to join the conversation.

More
3 years 11 months ago #256978 by andypugh

setp       [HMOT](CARD0).8i20.0.2..max_current 10.000

I don't know where it has come from, but the double dots (2..max) isn't going to work.

Please Log in or Create an account to join the conversation.

More
3 years 11 months ago #258267 by saquzi
No I have not listed the hal pins with like that, shouldnt most of the necessary stuff come straight from pnconf? Because I have lots of error points in the hal file and could not find the reason for all those with googling and searching in the hal introduction...



"I don't know where it has come from, but the double dots (2..max) isn't going to work."

Corrected this, but would not change anything atleast for now.

Should the pnconf bldc component work in a way that you can can put some value in every spot or is it ment to be hand written in the hal file? If it should work like that every cell can be written or changed i need to try it with another computer maybe.

Sorry for poor reply, haven't got enough time to start digging this thorouhly again in two weeks after the last dead ends, need to think this harder this weekend :X

Thank you both for your help!

Please Log in or Create an account to join the conversation.

More
3 years 10 months ago #258318 by andypugh

Should the pnconf bldc component work in a way that you can can put some value in every spot or is it ment to be hand written in the hal file? 
I don't think that the author of pncconf has ever had access to an 8i20 so I suspect that your config will need some manual tuning. 

We can work through the errors one-by-one until the config at least loads. 
 

Please Log in or Create an account to join the conversation.

More
3 years 10 months ago - 3 years 10 months ago #258463 by saquzi
Ok. So, current first problem that needs to be solved is (the last  line of the: # ---Encoder feedback signals/setup---):

Debug file information:
Note: Using POSIX realtime
./takisawa.hal:44: Pin 'bldc.0.rawcounts' does not exist
29900
Stopping realtime threads


Soo do I need to link something to somewhere now?

 

File Attachment:

File Name: takisawa_2...2-03.hal
File Size:10.18 KB


 
Last edit: 3 years 10 months ago by saquzi.

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.086 seconds
Powered by Kunena Forum