Pokeys_homecomp EncoderSearch / Encoder Arm Topic: Pos_Fb Following errors

More
3 years 2 weeks ago #282836 by tommylight
Replied by tommylight on topic Pokeys

I get error message when I run "loadusr pokeys"
This does not give us anything useful to be able to help, what is the exact error you are getting, especially the "debug" section?

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

More
3 years 2 weeks ago #283113 by dibor
Replied by dibor on topic Pokeys

I get error message when I run "loadusr pokeys"

This does not give us anything useful to be able to help, what is the exact error you are getting, especially the "debug" section?
 
Hi.
I did exact all steps as shown on the page 10 "Updated Install Instructions"
All steps over without any error.
When I run loadusr pokeys I got error message in the terminal - loadusr command not found.
In other words I can not to include the driver to the HAL.

Thank U

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

More
3 years 1 week ago - 3 years 1 week ago #283495 by glsys
Replied by glsys on topic Pokeys
Hi Zarfid,
i get errors trying to halcompile the latest main branch from git.
Kind Regards
Klaus

pokeys.comp:546:1: error: unknown type name ‘hal_pin_u32_t’; did you mean ‘hal_pin_dir_t’?
pokeys.comp:547:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘hal_pin_u32_t’
pokeys.comp:547:1: error: unknown type name ‘hal_pin_u32_t’; did you mean ‘hal_pin_dir_t’?
pokeys.comp: In function ‘Init_EasySensors’:
pokeys.comp:732:37: error: ‘EasySensors_sensorValue’ undeclared (first use in this function)
pokeys.comp:732:37: note: each undeclared identifier is reported only once for each function it appears in
pokeys.comp:735:37: error: ‘EasySensors_sensorType’ undeclared (first use in this function)
pokeys.comp:738:37: error: ‘EasySensors_sensorRefreshPeriod’ undeclared (first use in this function)
pokeys.comp:741:37: error: ‘EasySensors_sensorFailsafeConfig’ undeclared (first use in this function)
pokeys.comp:744:37: error: ‘EasySensors_sensorReadingID’ undeclared (first use in this function)
pokeys.comp: In function ‘user_mainloop’:
pokeys.comp:1039:8: error: ‘PoNet’ undeclared (first use in this function)
pokeys.comp:2646:6: warning: implicit declaration of function ‘EasySensors_sensorValue’ [-Wimplicit-function-declaration]
pokeys.comp:2646:33: error: lvalue required as left operand of assignment
pokeys.comp: At top level:
pokeys.comp:545:19: warning: array ‘EasySensors’ assumed to have one element
make: *** [Makefile:2: pokeys] Error 1
Last edit: 3 years 1 week ago by glsys.

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

More
3 years 3 days ago #284026 by glsys
Replied by glsys on topic Pokeys
Whe going back to commit 0b3c21ab4109f5e435bf101fb8143933bc3bcb7f
i can compile it, but get segfaults in dmesg:
[ 1586.465478] pokeys[7440]: segfault at 0 ip 000055fef1289c07 sp 00007fff566b7710 error 4 in pokeys[55fef1288000+8000] likely on CPU 3 (core 3, socket 0)
(and it`s not working)

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

More
3 years 3 days ago #284041 by zarfld
Replied by zarfld on topic Pokeys
Hi,

i did an updated comit now - basically i just removed, the easysesor parts,
where i started a try to createpins in a more generic way, as one of the main problems that i get because of consuming to many pins.

at least on my raspi the code is compiling, and i can startup AXIS.

as your message contains a hint "... likely on CPU 3 (core 3, socket 0)" i'm not sure if this is somehow related to your hardware - i'm not familliar with segfault

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

More
3 years 2 days ago #284139 by glsys
Replied by glsys on topic Pokeys
Got it working. Had to delete all the .h and .c files and then halcompile everything new.

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

Time to create page: 0.067 seconds
Powered by Kunena Forum