Hi,
I am a new user of the Motorola MPC5200Lite Evaluation Board. I have problems to access the registers of the MPC5200, located at the MBAR adress 0x80000000 + offset. I’ve tried the mmap_device_memory with different flag-combinations and mmap_device_io. I have requested the IO privilege by ThreadCtl (_NTO_TCTL_IO, 0).
The result was always a SIGSEGV (Segmentation failure).
And do you get a SIGSEGV when you call mmap_device_io() or when you do something later on? Do you check the results from the mmap_device_io() to ensure you don’t have an error? Same with the call to ThreadCtl().
I have received an answer from a qnx newsgroup:
The BSP of the MPC5200Lite board moves MBAR base to 0xf0000000, but I’ve nothing found about this in the BSP document!
I have a problem with my TOTAL5200 SDP.
The problem is: I can´t start the “dBUG” mode and I can´t start the “OS” mode.
What can I do to solve this problem?