21.07.2015 Views

M16C User Manual.pdf

M16C User Manual.pdf

M16C User Manual.pdf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Appendix 1Mitsubishi microcomputers<strong>M16C</strong> / 62 GroupSINGLE-CHIP 16-BIT CMOS MICROCOMPUTERAppendix 1 Check SheetThe following check sheet was created based on items which had been the source of problems in the past.We recommend you refer to the check sheet when troubleshooting.Are you making use of Technical News?For the latest copy of Technical News, contact an authorized dealer.Checks regarding register initial settingsHas the initial setting been made in the interrupt stack pointer (ISP) at the top of the program?Has the initial setting been made in the user stack pointer (USP)? (Only if using the USP)Does the USP overlap the ISP area? (Only if using the USP)Is interrupt enabled after setting the ISP and USP?Is the top address of the variable interrupt vector table set in the interrupt table register (INTB)?Is interrupt enabled after setting the INTB?Has the initial setting been made in the frame base register (FB)? (Only if using the FB)Has the initial setting been made in the stack base register (SB)? (Only if using the SB)Checks regarding the internal memoryDoes the RAM capacity used in the program exceed the RAM capacity of the microcomputer?Does the ROM capacity used in the program exceed the ROM capacity of the microcomputer?Checks regarding the protect registerIs writing enabled in the protect register (address 000A16) before writing in the system clock controlregister (addresses 000616 and 000716)?Is writing enabled in the protect register before writing in the processor mode register (addresses000416 and 000516)?Is writing enabled in the protect register before writing in the port P9 direction register (address03F316)?Is writing effectuated in the port P9 direction register by the next instruction after writing is enabled inthe protect register?Does not an interrupt generate between the instruction writing is enabled in the protect register andthe instruction writing in the port P9 direction register?567

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!