This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

x-load中GPIO操作

Other Parts Discussed in Thread: AM3505

我用的是AM3505的芯片,现在想在X-LOAD中操作GPIO,在X-LOAD/lib/board.c文件中的start_armboot函数的最后加入了 omap_request_gpio(14);
 omap_set_gpio_direction(14, 0);        omap_set_gpio_dataout(14,1);这三句代码,目的是让GPIO14置高,但是程序执行到GPIO.C的_set_gpio_direction函数的l = __raw_readl(reg);语句就不往下执行了不知道为什么,打印出来的REG=0X48310034,各位大神帮帮忙,非常感谢