共2条
1/1 1 跳转至页
lpc2292,uclinux,gpio lpc2292上跑uclinux下的gpio问题

问
用光盘自带的例程,用交叉环境编译了之后在板子上跑的时候提示如下错误,
./loadgpio
insmod: not an ELF file
insmod: Could not load the module: Success
pid 43: failed 256
Execution Finished, Exiting
pid 38: failed 256
之后./key
kmod: failed to exec /sbin/modprobe -s -k char-major-126, errno = 2
CAN't open P0!
pid 44: failed 65280
就是设备没有驱动起来,怎么解决啊
PS:其他相关设备驱动的都有问题啊 答 1: reGPIO驱动没有加载成功,请重新编译loadgpio,
然后再./loadgpio
之后./key
./loadgpio
insmod: not an ELF file
insmod: Could not load the module: Success
pid 43: failed 256
Execution Finished, Exiting
pid 38: failed 256
之后./key
kmod: failed to exec /sbin/modprobe -s -k char-major-126, errno = 2
CAN't open P0!
pid 44: failed 65280
就是设备没有驱动起来,怎么解决啊
PS:其他相关设备驱动的都有问题啊 答 1: reGPIO驱动没有加载成功,请重新编译loadgpio,
然后再./loadgpio
之后./key
共2条
1/1 1 跳转至页
回复
打赏帖 | |
---|---|
嵌入式LinuxC语言程序调试和宏使用技巧被打赏50分 | |
让代码中包含最新的编译时间信息被打赏50分 | |
rtthread硬件加密--2crc加密分析被打赏10分 | |
【分享开发笔记,赚取电动螺丝刀】mcxa156使用低功耗定时器适配硬件RTC框架被打赏26分 | |
【STM32F769】AI之与本地deepseek对接被打赏50分 | |
Buck电路工作在CCM模式下电感电流的计算公式是什么?被打赏5分 | |
buck电路工作原理被打赏5分 | |
基于MSPM0L1306的MODBUS-RTU协议通讯实验被打赏100分 | |
我想要一部加热台+多合一调试工具被打赏18分 | |
每周了解几个硬件知识+485硬件知识分享被打赏10分 |