Can anyone share the memory read/write utility for P5040DS-PB. I do have devmem2.c ( as attached ) that works fine for other targets. However it is not working for P5040.
The function "mmap" fails with EPERM [Operation not permitted] error. The "prot" argument was changed to "PROT_READ | PROT_WRITE | PROT_EXEC" , still it shows the same error[Operation not permitted].
Thanks and Regards
Original Attachment has been moved to: devmem2.c.zip