some results on testing your cramps configuration. I’m reading Analog Inputs… Great work!
I have taken your cramps dbto file and I can see change of ADC pins with a linear potmeter attached to channel 0. for the record, I’ve used this image: http://deb.mah.priv.at/uploads/de0-nano/debian-8.5-console-armhf-2016-11-21/ - updated the RIP build on the image - installed the socfpga-rbf package machinekit@mksocfpga:~$ dpkg -l | grep socfpga ii linux-headers-socfpga-rt 4.1.22~ltsi~rt23-1471946075.gite3c1da3 armhf Linux kernel headers for 4.1.22-ltsi-rt23-ge3c1da3 on armhf ii linux-image-socfpga-rt 4.1.22~ltsi~rt23-1471946075.gite3c1da3 armhf Linux kernel, version 4.1.22-ltsi-rt23-ge3c1da3 ii socfpga-rbf 3.188 all hostmot2 Altera FPGA binaries for CycloneV platforms, https://jenkins.machinekit.io/job/mksocfpga-packaging-quartus/22/ ii u-boot-socfpga 0.14796 armhf u-boot bootloader DE0 nano, based on 2016-04-26 master, https://jenkins.machinekit.io/job/u-boot-socfpga/23/ here’s the output of a session: machinekit@mksocfpga:~$ export DEBUG=5 machinekit@mksocfpga:~$ halrun -I msgd:0 stopped rtapi:0 stopped halcmd: loadrt hostmot2 debug_idrom=1 debug_module_descriptors=1 debug_modules=1 debug_pin_descriptors=1 <stdin>:1: Realtime module 'hostmot2' loaded halcmd: newinst hm2_soc_ol hm2-socfpga0 -- config="firmware=socfpga/dtbo/DE0_Nano_SoC_Cramps.3x24.dtbo num_pwmgens=6 num_stepgens=8 enable_adc=1" <stdin>:2: Realtime module 'hm2_soc_ol' loaded halcmd: show funct Exported Functions: Comp Inst CodeAddr Arg FP Users Type Name 66 0000b666c725 000000000000 NO 0 user delinst 80 82 0000b5583ecd 00000003b588 NO 0 xthread hm2_5i25.0.pet_watchdog 80 82 0000b556d005 00000003b588 YES 0 xthread hm2_5i25.0.read 80 82 0000b556d191 00000003b588 YES 0 xthread hm2_5i25.0.read_gpio 80 82 0000b556d0c5 00000003b588 YES 0 xthread hm2_5i25.0.write 80 82 0000b556d1c1 00000003b588 YES 0 xthread hm2_5i25.0.write_gpio 66 0000b666c5d5 000000000000 NO 0 user newinst halcmd: newthread st 1000000 fp halcmd: addf hm2_5i25.0.read st <stdin>:7: Function 'hm2_5i25.0.read' added to thread 'st', rmb=0 wmb=0 halcmd: addf hm2_5i25.0.write st <stdin>:8: Function 'hm2_5i25.0.write' added to thread 'st', rmb=0 wmb=0 halcmd: addf hm2_5i25.0.pet_watchdog st <stdin>:9: Function 'hm2_5i25.0.pet_watchdog' added to thread 'st', rmb=0 wmb=0 halcmd: start <stdin>:10: Realtime threads started halcmd: halcmd: show pin hm2_5i25.0.nano_soc_adc.ch.0.out Component Pins: Comp Inst Type Dir Value Name Epsilon Flags linked to: 80 82 u32 OUT 0x000009BA hm2_5i25.0.nano_soc_adc.ch.0.out --l- halcmd: show pin hm2_5i25.0.nano_soc_adc.ch.0.out Component Pins: Comp Inst Type Dir Value Name Epsilon Flags linked to: 80 82 u32 OUT 0x00000FFF hm2_5i25.0.nano_soc_adc.ch.0.out --l- halcmd: show pin hm2_5i25.0.nano_soc_adc.ch.0.out Component Pins: Comp Inst Type Dir Value Name Epsilon Flags linked to: 80 82 u32 OUT 0x00000514 hm2_5i25.0.nano_soc_adc.ch.0.out --l- -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout.
