⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sst39vf160.h

📁 Linux下通过jtag烧写flash的源代码
💻 H
字号:
#define SST39_ROW_SIZE        4096         /* Must be 4096 bytes for 39VF160 */
#define SST39_BLOCK_SIZE      64*1024      // 64k
#define SST_39VF160           0x2782        /* SST 39VF160 device code */
#define SST_ID                0xBF         

#define SST39_CMD_ADDRESS1    0x5555
#define SST39_CMD_ADDRESS2    0x2aaa

#define SST39_AUTO_PG_ERASE1  0xaaaa
#define SST39_AUTO_PG_ERASE2  0x5555
#define SST39_AUTO_PG_ERASE3  0x8080
#define SST39_AUTO_PG_ERASE4  0xaaaa
#define SST39_AUTO_PG_ERASE5  0x5555
#define SST39_AUTO_PG_ERASE6  0x3030

#define SST39_AUTO_PGRM1      0xaaaa
#define SST39_AUTO_PGRM2      0x5555
#define SST39_AUTO_PGRM3      0xa0a0

#define SST39_READ_ID1        0xaaaa
#define SST39_READ_ID2        0x5555
#define SST39_READ_ID3        0x9090

#define SST39_EXIT_READ_ID    0xf0f0

int Write_39VF160(unsigned char *Src, DWORD Dst);
int Read_39VF160(FILE* stream, DWORD Src,DWORD size);
int Check_SST_39VF160(void);
void SST39Check_Toggle_Ready(DWORD Dst);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -