Main Site Documentation

TinyCLR OS Register Access for STM32F427 (Quail)


#1

Is there now or planned a TinyCLR OS Register Class for the STM32F427 used on the Quail board? Christophe has done an excellent job porting NETMF 4.4 over but there is no way to access the registers like with the GHI.OSHW.Hardware.LowLevel classes for NETMF 4.3 on the STM32F405.


#2

@ B5 Fan - Take a look at the Marshal class. It has functions to read and write memory.

https://msdn.microsoft.com/en-us/library/system.runtime.interopservices.marshal(v=vs.110).aspx


#3

@ B5 Fan - The answer is yes it is there as John said. But I want to say that it is actually really easy to add your own methods to do whatever you want. Building TinyCLR OS is much easier than building NETMF.


#4

That worked. Thanks. Will you be adding this to TinyCLR OS in the future so we don’t have to do it in managed code?


#5

I’m beginning to understand this. It’s not about RLP, you can just compile the entire framework over and add things that you need; about as easily.


#6

@ B5 Fan - I’m not sure what you’re asking. The Marshal class is a more general and complete replacement for the old Register class we had in NETMF.


#7

You’re right. I was confused as I wrote my own Register class to match my existing code and now just need to move and replace the code with the Marshal class.