Hi Ted,
Ted Victorio wrote:
The failed behavior is bad data; all registers (e.g. GPIO) will read
0xffffffff.
The test value of MCF_SCM_MPR was 0x76666666
Can you show the code that you used to access registers?
Regards
Greg
Greg Ungerer gerg at snapgear.com wrote:
> What is the failed behavior?
> Kernel trap?
> Bad data?
>
> Regards
> Greg
Ted Victorio wrote:
> I would like to access MCF5329 registers directly while in user space of
> 2.6 kernel (uClinux-dist-20060803).
>
> I have tried modifying MCF_SCM_MPR = 0x77777777 to MCF_SCM_MPR =
> 0x66666666 in the "linux-2.6.x/arch/m68knommu/platform/532x/config.c"
> file. I also made a similar change in DBUG. However, these two
> modifications do not allow me to access registers directly.
> The reference I consulted is Chapter 11 - System Control Module (SCM)
of MCF5329
> Reference Manual.
>
> Am I doing this correctly?
>
> Thanks
------------------------------------------------------------------------
Boardwalk for $500? In 2007? Ha!
Play Monopoly Here and Now
<http://us.rd.yahoo.com/evt=48223/*http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow>
(it's updated for today's economy) at Yahoo! Games.
------------------------------------------------------------------------
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
--
------------------------------------------------------------------------
Greg Ungerer -- Chief Software Dude EMAIL: [EMAIL PROTECTED]
Secure Computing Corporation PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev