Hi
I included the imx-test in my local.conf so I found the unit_tests directory in my home ..
But when I try to write a new value in a registers, it seem to be ok but when I read again the register
I find alwasy the previous value ... the same result if I use directly the physical address instead of
the logical name
Any suggestions?
Thanks
Fabio
./memtool ADC1.HC0.ADCH=0
SOC: i.MX6ULL
write 0x00000000 to Bit 0..4 of 0x02198000
./memtool ADC1.HC0.ADCH
SOC: i.MX6ULL
ADC1 Addr:0x2198000
ADC1.HC0 Addr:0x02198000 Value:0x0000001F - ADC_HC0 can be used for both software and hardware trigger mode.
ADC1.HC0.ADCH(0..4) :0x1f
This 5-bit field selects one of the input channels.
local.conf
MACHINE ??= 'imx6ull14x14evk'
DISTRO ?= 'fsl-imx-x11'
DISTRO_FEATURES_append = "sysvinit "
VIRTUAL-RUNTIME_init_manager = "sysvinit"
PACKAGE_CLASSES ?= "package_rpm"
EXTRA_IMAGE_FEATURES ?= "debug-tweaks tools-debug eclipse-debug package-management"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS ??= "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
STOPTASKS,/tmp,100M,100K \
ABORT,${TMPDIR},100M,1K \
ABORT,${DL_DIR},100M,1K \
ABORT,${SSTATE_DIR},100M,1K \
ABORT,/tmp,10M,1K"
PACKAGECONFIG_append_pn-qemu-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
CONF_VERSION = "1"
DL_DIR ?= "${BSPDIR}/downloads/"
ACCEPT_FSL_EULA = "1"
IMAGE_INSTALL_append=" imx-test"
IMAGE_INSTALL_append+=" openssh"
IMAGE_INSTALL_append+=" tcf-agent"
IMAGE_INSTALL_append+=" openssh-sftp-server"
IMAGE_INSTALL_append+=" ppp"
IMAGE_INSTALL_append+=" cronie"
IMAGE_INSTALL_append+=" vsftpd"
PACKAGE_EXCLUDE += " packagegroup-core-ssh-dropbear"
Hello,
Try the enable ADC clocks.
Use Table 18-3 (System Clocks, Gating, and Override) of the i.MX 6ULL
Reference Manual, Rev. 1, 11/2017.
Have a great day,
Yuri.
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
It's working now!
Thanks