AnsweredAssumed Answered

GPIO port access in MPC8323E-RDB

Question asked by vadrevu jyothi on Feb 9, 2017
Latest reply on Feb 14, 2017 by bpe

Hi,

         I am using MPC8323E-RDB board for application development in Linux environment. On Ubuntu 8.10 PC I generated kernel image by suing LTIB with kernel version of 2.6.20. Now I want to blink LEDs (Present on the board and named D3,D4 & D5)  which are connected to PORT-D 16,17 & 18 pins. I tried to access pins by providing address of Port registers, but I am getting segmentation fault.

 

How can I access I/O Port registers? and What might be the base address if required?

 

I have seen IMMR address range 0xE0000000 - 0xEFFFFFFF . Is it the base address to access GPIO port pins?

 

Please respond as soon as possible.

 

Regards,

V JYOTHI.

Outcomes