| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
H8S/2437 bảng dữ liệu(PDF) 598 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
H8S/2437 bảng dữ liệu(HTML) 598 Page - Renesas Technology Corp |
|
598 / 746 page ![]() Rev. 1.00, 09/03, page 560 of 704 • Since the stack area is used in the initialization program, 128-byte stack area at the maximum must be saved in RAM. • Interrupts can be accepted during the execution of the initialization program. The program storage area and stack area in the on-chip RAM and register values must not be destroyed. 8. Check the return value in the initialization program, FPFR (general register R0L) 9. Disable all interrupts and the use of a bus master other than the CPU The specified voltage is applied for the specified time when programming or erasing. If interrupts occur or the bus mastership is moved to other than the CPU during this time and the voltage is applied for more than the specified time, flash memory may be damaged. Therefore, interrupts and bus mastership moved to other than the CPU must be disabled. When interrupts are disabled, bit 7 (I) in the condition code register (CCR) of the CPU should be set to B'1 in interrupt control mode 0 or bits 7 and 6 (I and UI) in CCR should be set to B ′11 in interrupt control mode 2. Then interrupts other than the NMI are retained and are not executed. The NMI interrupt must be masked within the user system. The interrupts that are retained must be executed after all program processing. 10. Set FKEY to H'5A to enable the user MAT programming. 11. Set the parameter which is required for programming The start address of the programming destination of the user MAT (FMPAR) is set to the general register ER1. The start address of the program data area (FMPDR) is set to the general register ER0. • Example of the FMPAR setting FMPAR specifies the programming destination address. When an address other than one in the user MAT area is specified, even if the programming program is executed, programming is not executed and an error is returned to the return value parameter FPFR. Since the unit is 128 bytes, the lower eight bits of the address must be H'00 or H ′80 as the boundary of 128 bytes. • Example of the FMPDR setting When the storage destination of program data is flash memory, even if the program execution routine is executed, programming is not executed and an error is returned to FPFR. In this case, the program data must be transferred to the on-chip RAM and then programming must be executed. 12. Execute programming There is an entry point of the programming program in the area from the start address specified by FTDAR + 16 bytes of the on-chip RAM. The subroutine should be called and programming should be executed by using the following steps. |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |