MC96F6432
314
June 22, 2018 Ver. 2.9
3. The flash sector address (FSADRH/FSADRM/FSADRL) should always keep the address of
the flash which is used for data area. For example, The FSADRH/FSADRM is always
0x00/0x7
f” if 0x7f00 to 0x7fff is used for data.
4. Overview of main
---
CALL Work1
CALL Decide_ErWt
CALL Work2
CALL ID_write
CALL Work3
CALL Flash_erase
CALL Flash_write
---
---
---
ID_wire:
MOV
A,#38H
CJNE A,Flash_flag1,No_write_ID
MOV
A,#75H
CJNE A,Flash_flag2,No_write_ID
MOV
UserID1,#ID_DATA_1
;Write Uiser ID1
MOV
A,#38H
CJNE A,Flash_flag1,No_write_ID
MOV
A,#75H
CJNE A,Flash_flag2,No_write_ID
MOV
UserID2,#ID_DATA_2
;Write Uiser ID2
MOV
A,#38H
CJNE A,Flash_flag1,No_write_ID
MOV
A,#75H
CJNE A,Flash_flag2,No_write_ID
MOV
UserID3,#ID_DATA_3
;Write Uiser ID3
RET
No_write_ID:
MOV
UserID1,#00H
MOV
UserID2,#00H
MOV
UserID3,#00H
RET
Содержание MC96F6332D
Страница 24: ...MC96F6432 24 June 22 2018 Ver 2 9 4 Package Diagram Figure 4 1 48 Pin LQFP 0707 Package...
Страница 25: ...MC96F6432 June 22 2018 Ver 2 9 25 Figure 4 2 44 Pin MQFP Package...
Страница 26: ...MC96F6432 26 June 22 2018 Ver 2 9 Figure 4 3 32 Pin LQFP Package...
Страница 27: ...MC96F6432 June 22 2018 Ver 2 9 27 Figure 4 4 32 Pin SOP Package...
Страница 28: ...MC96F6432 28 June 22 2018 Ver 2 9 Figure 4 5 28 Pin SOP Package...