Dear staffs,
Finally, I could obtain a Nuvoton's new great MCU chip M48x and its evaluation boards.
One of the most exciting new features is ETM, which had not been found on the other Nuvoton's Cortex-M MCUs.
To evaluate this feature very quickly, I got NuMaker-ETM-M487, on which ETM-connector is already mounted on the board.
Anyway, how can I activate and utilize it with may Keil MDK ARM + UlinkPro(ICE with ETM feature) ?
I've been searching for technical information about that thru NuMaker-ETM-M487 User manual(Rev.1.00) and Technical Reference Manual for M480 serise (Rev.1.01). But, no helpful information....
Even in Technical Reference manual, the only thing I could find was corresponding block called "ETMC" is placed near "SWDC".
Another interresting feature (just by name, now) is that DMA can be triggered by "ETMC_RX" as #65th request source.
Does anyone have helpful information about those?
Thanks,
How to activate ETM on M48x ?
-
- Posts: 31
- Joined: 22 Mar 2017, 09:54
Hi,
To enable the ETM trace function, you need to add some code to switch the pin's multi-function to ETM trace pin at the initial state:
To enable the ETM trace function, you need to add some code to switch the pin's multi-function to ETM trace pin at the initial state:
Thanks/* Setup ETM Pin Usage
- PE.8: DAT3
- PE.9: DAT2
- PE.10: DAT1
- PE.11: DAT0
- PE.12: CLK */
SYS->GPE_MFPH &= ~(SYS_GPE_MFPH_PE8MFP_Msk | SYS_GPE_MFPH_PE9MFP_Msk | SYS_GPE_MFPH_PE10MFP_Msk | SYS_GPE_MFPH_PE11MFP_Msk | SYS_GPE_MFPH_PE12MFP_Msk);
SYS->GPE_MFPH |= (SYS_GPE_MFPH_PE8MFP_TRACE_DATA3 | SYS_GPE_MFPH_PE9MFP_TRACE_DATA2 | SYS_GPE_MFPH_PE10MFP_TRACE_DATA1 | SYS_GPE_MFPH_PE11MFP_TRACE_DATA0 | SYS_GPE_MFPH_PE12MFP_TRACE_CLK);
Can somebody explain to me how to link the picture from another post for the nomination. I copied the flickr link for ATs nomination and got the link and not the picture.
Certainly you dont have to save it and reinsert it.
____
XEvil 4.0: NEW the best program for solving any CAPTCHA, including Google ReCaptcha-2
Certainly you dont have to save it and reinsert it.
____
XEvil 4.0: NEW the best program for solving any CAPTCHA, including Google ReCaptcha-2
-
- Information
-
Who is online
Users browsing this forum: No registered users and 5 guests