基于STM32F407的W25Q128 FLASH程序
立即下载
资源介绍:
STM32使用SPI对W25Q128进行写入与读取,通过串口调试助手进行显示结果,压缩包包含了代码与显示结果图片等
T087C 000:005.155 SEGGER J-Link V7.82 Log File
T087C 000:005.273 DLL Compiled: Oct 13 2022 13:32:51
T087C 000:005.280 Logging started @ 2024-10-16 07:26
T087C 000:005.286 - 5.289ms
T087C 000:005.295 JLINK_SetWarnOutHandler(...)
T087C 000:005.302 - 0.010ms
T087C 000:005.309 JLINK_OpenEx(...)
T087C 000:007.511 Firmware: J-Link V9 compiled May 7 2021 16:26:12
T087C 000:007.986 Firmware: J-Link V9 compiled May 7 2021 16:26:12
T087C 000:008.131 Decompressing FW timestamp took 108 us
T087C 000:016.277 Hardware: V9.40
T087C 000:016.299 S/N: 69404144
T087C 000:016.308 OEM: SEGGER
T087C 000:016.317 Feature(s): RDI, GDB, FlashDL, FlashBP, JFlash
T087C 000:017.575 TELNET listener socket opened on port 19021
T087C 000:017.702 WEBSRV WEBSRV_Init(): Starting webserver thread(s)
T087C 000:017.812 WEBSRV Webserver running on local port 19080
T087C 000:021.091 - 15.794ms returns "O.K."
T087C 000:021.116 JLINK_GetEmuCaps()
T087C 000:021.123 - 0.010ms returns 0xB9FF7BBF
T087C 000:021.142 JLINK_TIF_GetAvailable(...)
T087C 000:021.305 - 0.173ms
T087C 000:021.322 JLINK_SetErrorOutHandler(...)
T087C 000:021.328 - 0.009ms
T087C 000:021.359 JLINK_ExecCommand("ProjectFile = "C:\Users\Administrator\Desktop\W25Q128 SPI3实验\USER\JLinkSettings.ini"", ...).
T087C 000:030.844 - 9.499ms returns 0x00
T087C 000:032.718 JLINK_ExecCommand("Device = STM32F407ZETx", ...).
T087C 000:034.300 Device "STM32F407ZE" selected.
T087C 000:034.595 - 1.866ms returns 0x00
T087C 000:034.607 JLINK_ExecCommand("DisableConnectionTimeout", ...).
T087C 000:034.616 - 0.004ms returns 0x01
T087C 000:034.624 JLINK_GetHardwareVersion()
T087C 000:034.640 - 0.019ms returns 94000
T087C 000:034.650 JLINK_GetDLLVersion()
T087C 000:034.656 - 0.011ms returns 78200
T087C 000:034.665 JLINK_GetOEMString(...)
T087C 000:034.676 JLINK_GetFirmwareString(...)
T087C 000:034.682 - 0.009ms
T087C 000:038.867 JLINK_GetDLLVersion()
T087C 000:038.889 - 0.025ms returns 78200
T087C 000:038.896 JLINK_GetCompileDateTime()
T087C 000:038.903 - 0.009ms
T087C 000:040.279 JLINK_GetFirmwareString(...)
T087C 000:040.296 - 0.020ms
T087C 000:041.602 JLINK_GetHardwareVersion()
T087C 000:041.616 - 0.017ms returns 94000
T087C 000:042.747 JLINK_GetSN()
T087C 000:042.759 - 0.015ms returns 69404144
T087C 000:043.889 JLINK_GetOEMString(...)
T087C 000:046.245 JLINK_TIF_Select(JLINKARM_TIF_SWD)
T087C 000:047.196 - 0.962ms returns 0x00
T087C 000:047.213 JLINK_HasError()
T087C 000:047.226 JLINK_SetSpeed(5000)
T087C 000:047.349 - 0.126ms
T087C 000:047.360 JLINK_GetId()
T087C 000:048.796 InitTarget() start
T087C 000:048.813 J-Link Script File: Executing InitTarget()
T087C 000:056.796 InitTarget() end
T087C 000:058.472 Found SW-DP with ID 0x2BA01477
T087C 000:061.687 DPIDR: 0x2BA01477
T087C 000:062.924 CoreSight SoC-400 or earlier
T087C 000:064.112 Scanning AP map to find all available APs
T087C 000:065.838 AP[1]: Stopped AP scan as end of AP map has been reached
T087C 000:067.050 AP[0]: AHB-AP (IDR: 0x24770011)
T087C 000:068.301 Iterating through AP map to find AHB-AP to use
T087C 000:070.277 AP[0]: Core found
T087C 000:071.512 AP[0]: AHB-AP ROM base: 0xE00FF000
T087C 000:073.148 CPUID register: 0x410FC241. Implementer code: 0x41 (ARM)
T087C 000:074.380 Found Cortex-M4 r0p1, Little endian.
T087C 000:074.842 -- Max. mem block: 0x00010E60
T087C 000:075.010 CPU_ReadMem(4 bytes @ 0xE000EDF0)
T087C 000:075.401 CPU_ReadMem(4 bytes @ 0xE0002000)
T087C 000:076.956 FPUnit: 6 code (BP) slots and 2 literal slots
T087C 000:076.972 CPU_ReadMem(4 bytes @ 0xE000EDFC)
T087C 000:077.333 CPU_WriteMem(4 bytes @ 0xE000EDFC)
T087C 000:077.764 CPU_ReadMem(4 bytes @ 0xE0001000)
T087C 000:078.136 CPU_WriteMem(4 bytes @ 0xE0001000)
T087C 000:078.404 CPU_ReadMem(4 bytes @ 0xE000ED88)
T087C 000:078.662 CPU_WriteMem(4 bytes @ 0xE000ED88)
T087C 000:078.918 CPU_ReadMem(4 bytes @ 0xE000ED88)
T087C 000:079.173 CPU_WriteMem(4 bytes @ 0xE000ED88)
T087C 000:080.715 CoreSight components:
T087C 000:081.959 ROMTbl[0] @ E00FF000
T087C 000:082.013 CPU_ReadMem(64 bytes @ 0xE00FF000)
T087C 000:082.606 CPU_ReadMem(32 bytes @ 0xE000EFE0)
T087C 000:084.237 [0][0]: E000E000 CID B105E00D PID 000BB00C SCS-M7
T087C 000:084.253 CPU_ReadMem(32 bytes @ 0xE0001FE0)
T087C 000:085.900 [0][1]: E0001000 CID B105E00D PID 003BB002 DWT
T087C 000:085.916 CPU_ReadMem(32 bytes @ 0xE0002FE0)
T087C 000:087.563 [0][2]: E0002000 CID B105E00D PID 002BB003 FPB
T087C 000:087.580 CPU_ReadMem(32 bytes @ 0xE0000FE0)
T087C 000:089.188 [0][3]: E0000000 CID B105E00D PID 003BB001 ITM
T087C 000:089.204 CPU_ReadMem(32 bytes @ 0xE0040FE0)
T087C 000:090.925 [0][4]: E0040000 CID B105900D PID 000BB9A1 TPIU
T087C 000:090.941 CPU_ReadMem(32 bytes @ 0xE0041FE0)
T087C 000:092.643 [0][5]: E0041000 CID B105900D PID 000BB925 ETM
T087C 000:092.905 - 45.551ms returns 0x2BA01477
T087C 000:092.927 JLINK_GetDLLVersion()
T087C 000:092.934 - 0.009ms returns 78200
T087C 000:092.941 JLINK_CORE_GetFound()
T087C 000:092.947 - 0.009ms returns 0xE0000FF
T087C 000:092.954 JLINK_GetDebugInfo(0x100 = JLINKARM_ROM_TABLE_ADDR_INDEX)
T087C 000:092.962 Value=0xE00FF000
T087C 000:092.971 - 0.020ms returns 0
T087C 000:094.152 JLINK_GetDebugInfo(0x100 = JLINKARM_ROM_TABLE_ADDR_INDEX)
T087C 000:094.164 Value=0xE00FF000
T087C 000:094.175 - 0.026ms returns 0
T087C 000:094.185 JLINK_GetDebugInfo(0x101 = JLINKARM_DEBUG_INFO_ETM_ADDR_INDEX)
T087C 000:094.191 Value=0xE0041000
T087C 000:094.201 - 0.019ms returns 0
T087C 000:094.210 JLINK_ReadMemEx(0xE0041FD0, 0x20 Bytes, Flags = 0x02000004)
T087C 000:094.226 CPU_ReadMem(32 bytes @ 0xE0041FD0)
T087C 000:094.863 Data: 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...
T087C 000:094.879 - 0.672ms returns 32 (0x20)
T087C 000:094.888 JLINK_GetDebugInfo(0x102 = JLINKARM_DEBUG_INFO_MTB_ADDR_INDEX)
T087C 000:094.896 Value=0x00000000
T087C 000:094.904 - 0.019ms returns 0
T087C 000:094.914 JLINK_GetDebugInfo(0x103 = JLINKARM_DEBUG_INFO_TPIU_ADDR_INDEX)
T087C 000:094.923 Value=0xE0040000
T087C 000:094.932 - 0.020ms returns 0
T087C 000:094.938 JLINK_GetDebugInfo(0x104 = JLINKARM_DEBUG_INFO_ITM_ADDR_INDEX)
T087C 000:094.945 Value=0xE0000000
T087C 000:094.953 - 0.018ms returns 0
T087C 000:094.960 JLINK_GetDebugInfo(0x105 = JLINKARM_DEBUG_INFO_DWT_ADDR_INDEX)
T087C 000:094.966 Value=0xE0001000
T087C 000:094.975 - 0.017ms returns 0
T087C 000:094.982 JLINK_GetDebugInfo(0x106 = JLINKARM_DEBUG_INFO_FPB_ADDR_INDEX)
T087C 000:094.988 Value=0xE0002000
T087C 000:094.996 - 0.017ms returns 0
T087C 000:095.003 JLINK_GetDebugInfo(0x107 = JLINKARM_DEBUG_INFO_NVIC_ADDR_INDEX)
T087C 000:095.009 Value=0xE000E000
T087C 000:095.018 - 0.017ms returns 0
T087C 000:095.025 JLINK_GetDebugInfo(0x10C = JLINKARM_DEBUG_INFO_DBG_ADDR_INDEX)
T087C 000:095.031 Value=0xE000EDF0
T087C 000:095.040 - 0.017ms returns 0
T087C 000:095.046 JLINK_GetDebugInfo(0x01 = Unknown)
T087C 000:095.054 Value=0x00000001
T087C 000:095.062 - 0.019ms returns 0
T087C 000:095.069 JLINK_ReadMemU32(0xE000ED00, 0x1 Items)
T087C 000:095.080 CPU_ReadMem(4 bytes @ 0xE000ED00)
T087C 000:095.493 Data: 41 C2 0F 41
T087C 000:095.509 Debug reg: CPUID
T087C 000:095.518 - 0.452ms returns 1 (0x1)
T087C 000:095.527 JLINK_GetDebugInfo(0x10F = JLINKARM_DEBUG_INFO_HAS_CORTEX_M_SECURITY_EXT_INDEX)
T087C 000:095.534 Value=0x00000000
T087C 000:095.542 - 0.018ms returns 0
T087C 000:095.549 JLINK_HasError()
T087C 000:095.557 JLINK_SetResetType(JLINKARM_CM3_RESET_TYPE_NORMAL)
T087C 000:095.563 - 0.009ms returns JLINKARM_CM3_RESET_TYPE_NORMAL
T087C 000:095.570 JLINK_Reset()
T087C 000:095.585 CPU is running
T087C 000:095.595 CPU_WriteMem(4 bytes @ 0xE000EDF0)
T087C 000:095.995 CPU is running
T087C 000:096.013 CPU_WriteMem(4 bytes @ 0xE000EDFC)
T087C 000:097.908 Reset: Halt core after reset via DEMCR.VC_CORERESET
资源文件列表:
W25Q128 SPI3.zip 大约有395个文件