Hi,
I would like to port my code from HCS08JM60 to MCF51JM128.
But the problem is, is cannot find, where in full chip simulation (FCS) for ColdFire can I view the registers of peripherals and stimulate the input pins (include analog value for ADC)...
(I browsed the Help and there I find, there will be some posibility how to stimulate the pins through Stimulation File. There is instruction, how to write it, but I cannot find, how to run it. And how to view and modify registers in ColdFire I didnt find completly.)
I am using CodeWarrior v 6.2 for Microcontroller.
If you can help me, I will be very pleasure.
Thank you very much.
Vlasta
解決済! 解決策の投稿を見る。
Thank you for you reply!
I belive that component "Mcuregisters" is there for this purpose. But i saw there "No register data ...". And module "Inspect" didn work properly (register there was maped wrong).
Because you tell me that this is there for this, I try to find what is wrong. And this is the reason: In simulator, there is important to select ColdFire FCS -> Set derivative... and there set not the default "ColdFire V1 SAMPLE" but select exactly the used MCU (for me it is MCF51JM128). Now it is all working fine (expect #pragma INLINE, but this is minorit problem). In other case, there will be problems with viewing registers and accesing memory, as I wrote above.
I belive that this can help somebody if have the some trouble like me.
And thank you stanish foryou fast reply too.
Vlasta
Hi Vlasta,
You can try to see the MCU registers via "Mcuregisters" or "Inspect" component. (Debugger menu -> Component -> Open...).
Regarding ADC there are specific registers ADx that act as input pins for ADC, so you can modify them directly in "Inspect" component. (Object Pool -> ADC)
For more information about FCS see <CW install>\Help\Pdf\FCS_Notes_MCF51QE128RM_Family.pdf (attached)
Stanish
FCS_Notes_MCF51QE128RM_Family.pdf
Thank you for you reply!
I belive that component "Mcuregisters" is there for this purpose. But i saw there "No register data ...". And module "Inspect" didn work properly (register there was maped wrong).
Because you tell me that this is there for this, I try to find what is wrong. And this is the reason: In simulator, there is important to select ColdFire FCS -> Set derivative... and there set not the default "ColdFire V1 SAMPLE" but select exactly the used MCU (for me it is MCF51JM128). Now it is all working fine (expect #pragma INLINE, but this is minorit problem). In other case, there will be problems with viewing registers and accesing memory, as I wrote above.
I belive that this can help somebody if have the some trouble like me.
And thank you stanish foryou fast reply too.
Vlasta