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.

AM335x GPMC linux application-test example

Hi

I need to develop a linux application-test to access AM335x GPMC, but I am facing some problems to access "/dev/mem". If I try to run my program, at open of "/dev/mem" returns: Permission denied. But, if I change to root ( sudo su = # ) it runs. This is a problem during development, as I run it from geany editor launched from my normal user. If I launch geany under super-user, a lot of warnings messages appears in console.

In time, I am developing this application-test directly in BeagleBone Black, using Geany editor.

So, I am wondering if somebody have an application-test accessing GPMC to be an initial platform for my development.

Thanks,

Sergio