Advanced Search

Search Results (Searched for: raspberry)

26 Nov 2023 18:58

Issues with Raspberry Pi4 and Mesa 7i96

Category: PnCConf Wizard

I can't remember is there an option to run menuconfig ?

Just found it......
MENUCONFIG="0" set this to 1 in userdata.txt and make the changes in menuconfig.

Not the same.
the installed image includes the command menu-config.
Confusing I know.

 
 
26 Nov 2023 12:03

Issues with Raspberry Pi4 and Mesa 7i96

Category: PnCConf Wizard

It was even easier than that. I needed to press spacebar when selecting en_US.. I had just highlighted it and pressed enter.
Now the changes pulled through and after a reboot I could finish PnCConf.
LinuxCNC has now been running stable for ~10 minutes which is a lot more than before.

I will leave it on for some hours and see if it continues behaving.
26 Nov 2023 11:46

Issues with Raspberry Pi4 and Mesa 7i96

Category: PnCConf Wizard

I can't remember is there an option to run menuconfig ?

Just found it......
MENUCONFIG="0" set this to 1 in userdata.txt and make the changes in menuconfig.
26 Nov 2023 11:31

Issues with Raspberry Pi4 and Mesa 7i96

Category: PnCConf Wizard

Doing a full reinstall with the image from rodw's link.
-Pi imager says it's written successfully and ejects card.
-Raspberry boots up nicely.
-I run 'sudo menu-config':
I set ip to 10.10.10.100 and I set gateway to 10.10.10.1
I change keyboard to swedish layout.
Timezone to stockholm
Locale to en-US.
Then quit the config and restart pi.

Timezone works, keyboard works and IP seems to work, I can ping the Mesa card.
PnCConf refuses to work because locale is unsupported.
I doublecheck locale in terminal with 'locale' and 'localectl'(I have no idea if there's a difference).

localectl says "System Locale: (unset)".
locale says everything is "C.UTF-8" except "language=" and "LC_ALL=" which are empty.

It seems to me that the locale setting in menu-config does not work?
I got around this previously with some command but can't find it again, so now I'm stuck at not being able to use PnCConf.
26 Nov 2023 11:28

Issues with Raspberry Pi4 and Mesa 7i96

Category: PnCConf Wizard

When you build a kernel search for this string CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE . Should tell you where to go. I'd give a screen shot but my pies are away for the day.

Geez, Cornholio, my resident pi expert has let me down! 

This is all that we set
github.com/rodw-au/rpi-img-builder-lcnc/...rscripts/uscripts#L6
Please let me know how to script it.
26 Nov 2023 09:27

Issues with Raspberry Pi4 and Mesa 7i96

Category: PnCConf Wizard

When you build a kernel search for this string CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE . Should tell you where to go. I'd give a screen shot but my pies are away for the day.
26 Nov 2023 04:10 - 26 Nov 2023 05:04

In using ECR60+NPN(GPIO), I encountered an issue.

Category: EtherCAT

After following the documentation to compile and configure everything, there were no errors during runtime. Additionally, I would like to point out a mistake in the documentation: 'joint.N.is_custom-homing' should be 'joint.N.is-custom-homing', otherwise it results in an error.
[EMCMOT]
EMCMOT = motmod
COMM_TIMEOUT = 1.000
BASE_PERIOD = 200000
SERVO_PERIOD = 1000000
HOMEMOD = armcnc_homecomp
#*******************
# AXIS X
#*******************

net x-pos-cmd <= joint.0.motor-pos-cmd
net x-vel-cmd <= joint.0.vel-cmd
net x-pos-fb <= joint.0.motor-pos-fb
net x-enable <= joint.0.amp-enable-out

net x-pos-cmd => cia402.0.pos-cmd
net x-pos-fb => cia402.0.pos-fb
net x-enable => cia402.0.enable

setp cia402.0.csp-mode 1
setp cia402.0.pos-scale 10000

net x-statusword lcec.0.0.cia-statusword => cia402.0.statusword
net x-opmode-display lcec.0.0.opmode-display => cia402.0.opmode-display
net x-drv-act-pos lcec.0.0.actual-position => cia402.0.drv-actual-position
net x-drv-act-velo lcec.0.0.actual-velocity => cia402.0.drv-actual-velocity

net x-controlword cia402.0.controlword => lcec.0.0.cia-controlword
net x-modes-of-operation cia402.0.opmode => lcec.0.0.opmode
net x-drv-target-pos cia402.0.drv-target-position => lcec.0.0.target-position
net x-drv-target-velo cia402.0.drv-target-velocity => lcec.0.0.target-velocity

net debounce-home-x debounce.1.0.in <= armcncio.gpio.x-home
net both-home-x debounce.1.0.out

net both-home-x => joint.0.home-sw-in
net both-home-x => joint.0.neg-lim-sw-in
net both-home-x => joint.0.pos-lim-sw-in

net x-request-custom-homing <= joint.0.request-custom-homing
net x-is-custom-homing => joint.0.is-custom-homing

Following the above configuration, the problem still persists. When homing, the motor moves, but the tool position in the AXIS simulation does not change.

I am hoping to use a different GPIO connection for homing operations, such as the GPIO17 on a Raspberry Pi, instead of the internal method of the EtherCAT driver. I am not sure if the method you mentioned supports such an operation?
26 Nov 2023 02:25 - 26 Nov 2023 02:30

Debian 12 - Bookworm Live installer ISO for linuxcnc (x86_64)

Category: Installing LinuxCNC

That raspberry pi bug seems to have returned to Debian core code. Its not a Linuxcnc thing

It never left, Rod, not in this ISO you provided. I am aware you mentioned several times you fixed it, apparently it is still there.
12.1 and 12.2 BookWorm do not have this issue, 12.0 did since it's pre-release.
Did not have time to check the official ISO version yet although i had downloaded it before it was released to public, bumped into it by accident! :)
Edit:
Question, when you do a new ISO build, did you delete absolutely everything before starting?
The working folder must be clean, otherwise... this happens.
26 Nov 2023 00:52

Issues with Raspberry Pi4 and Mesa 7i96

Category: PnCConf Wizard

I don't know. HOw do you do it?
26 Nov 2023 00:51

Debian 12 - Bookworm Live installer ISO for linuxcnc (x86_64)

Category: Installing LinuxCNC

From the screen dump, you have nothing to upgrade so its not an issue.
That raspberry pi bug seems to have returned to Debian core code. Its not a Linuxcnc thing
SO the error is in relation to the  rasppi firmware it thinks is installed.

try sudo apt remove z50-raspi-firmware or
sudo apt remove raspi-firmware if it errors
26 Nov 2023 00:27

Issues with Raspberry Pi4 and Mesa 7i96

Category: PnCConf Wizard

Hey rod when you compiled the kernel did you set the governor default to performance ?
25 Nov 2023 22:48

Beginner: RPi Pico as a board

Category: Driver Boards

Well, if you decide to try any of the remora STM options, let me know. The my lathe is using an encoder with 16384 ppr to get spindle speed without issue, and 200 pulse/mm is definitely do-able with remora.


Also, your link doesnt work when I click it, which is odd, it looks the same url.
iosoft.blog/2020/07/16/raspberry-pi-smi/
25 Nov 2023 22:29 - 25 Nov 2023 23:27

Beginner: RPi Pico as a board

Category: Driver Boards

Wow, a big thanks to all who replied here!

I'm attempting to process it all, so by my simple math my 5um scales will generate 200 pulses per mm, can hal_gpio on RPi4 support me moving my wee lathe handles as fast as I could without dropping pulses, from what I read it should do that no problem?

In saying this I was kinda wanting a digital RPM readout (and maybe it's phase 1 of an ELS) on the lathe (I have installed a 1024PPR encoder driven by the headstock spindle) which I think gives 4096PPR, so at 2000RPM that would be like 140K pulses per second...but this is definitely a future project (after I added a VFD/3PH) and if I was just using it for RPM (no ELS) then I would probably swap out the encoder for something simpler...

​​​​​​The priority is definately getting MDRO up on my lathe for the two TTL scales.

I did run MachineKit for a while, I do have a DE0 but that was all a bit too hard.

Blackpill look interesting, I don't think I have one of these boards though.  Same with BBB.

I also read the RPi5 has a half hidden PIO thats better than the RP2040s one.

In addition this looks interesting, maybe as an interface to use instead of SPI:
Pi SMI
25 Nov 2023 22:20

Issues with Raspberry Pi4 and Mesa 7i96

Category: PnCConf Wizard

You may have lost some latency reducing setup when you upgraded

On the RPI4 I think isolcpus 2,3 and force turbo mode are usually required

isolcpus and a couple of other latency reducing settings are already set in the 2.9.1 image. Following another thread may have broken things.

I would reinstall. This image should replace the one on the downloads page when Andy gets to it. It does not make any real changes, just sets up the apt environment better for future updates and also include networkmanager because people did not know the wifi could be configured using sudo menu-config

drive.google.com/file/d/12poZ2QAoC4vhvuJ...CN2/view?usp=sharing
25 Nov 2023 21:40

Issues with Raspberry Pi4 and Mesa 7i96

Category: PnCConf Wizard

Not sure whats going on but it sounds like something
generic is broken in the LinuxCNC/OS configuration

What kind of latency do you get if you run the latency histogram?

latency-histogram --nobase --sbinsize 1000

 
Displaying 841 - 855 out of 1060 results.
Time to create page: 1.692 seconds
Powered by Kunena Forum