基于STM32F407的W25Q128 FLASH程序
立即下载
资源介绍:
STM32使用SPI对W25Q128进行写入和读取,并在串口调试助手显示
T0724 000:011.874 SEGGER J-Link V7.82 Log File
T0724 000:013.360 DLL Compiled: Oct 13 2022 13:32:51
T0724 000:013.367 Logging started @ 2024-10-16 07:22
T0724 000:013.373 - 13.376ms
T0724 000:013.965 JLINK_SetWarnOutHandler(...)
T0724 000:014.245 - 0.284ms
T0724 000:014.254 JLINK_OpenEx(...)
T0724 000:023.113 Firmware: J-Link V9 compiled May 7 2021 16:26:12
T0724 000:023.398 Firmware: J-Link V9 compiled May 7 2021 16:26:12
T0724 000:024.623 Decompressing FW timestamp took 963 us
T0724 000:032.998 Hardware: V9.40
T0724 000:033.016 S/N: 69404144
T0724 000:033.025 OEM: SEGGER
T0724 000:033.035 Feature(s): RDI, GDB, FlashDL, FlashBP, JFlash
T0724 000:035.222 TELNET listener socket opened on port 19021
T0724 000:035.332 WEBSRV WEBSRV_Init(): Starting webserver thread(s)
T0724 000:035.422 WEBSRV Webserver running on local port 19080
T0724 000:043.178 - 28.938ms returns "O.K."
T0724 000:043.730 JLINK_GetEmuCaps()
T0724 000:043.738 - 0.011ms returns 0xB9FF7BBF
T0724 000:044.088 JLINK_TIF_GetAvailable(...)
T0724 000:044.273 - 0.195ms
T0724 000:044.290 JLINK_SetErrorOutHandler(...)
T0724 000:044.303 - 0.015ms
T0724 000:044.836 JLINK_ExecCommand("ProjectFile = "C:\Users\Administrator\Desktop\W25Q128 SPI3实验\USER\JLinkSettings.ini"", ...).
T0724 000:091.281 - 46.458ms returns 0x00
T0724 000:098.718 JLINK_ExecCommand("Device = STM32F407ZETx", ...).
T0724 000:104.204 Device "STM32F407ZE" selected.
T0724 000:104.529 - 5.797ms returns 0x00
T0724 000:104.542 JLINK_ExecCommand("DisableConnectionTimeout", ...).
T0724 000:104.551 - 0.004ms returns 0x01
T0724 000:104.560 JLINK_GetHardwareVersion()
T0724 000:104.567 - 0.010ms returns 94000
T0724 000:104.577 JLINK_GetDLLVersion()
T0724 000:104.583 - 0.009ms returns 78200
T0724 000:104.590 JLINK_GetOEMString(...)
T0724 000:104.598 JLINK_GetFirmwareString(...)
T0724 000:104.604 - 0.009ms
T0724 000:109.360 JLINK_GetDLLVersion()
T0724 000:109.384 - 0.027ms returns 78200
T0724 000:109.392 JLINK_GetCompileDateTime()
T0724 000:109.398 - 0.009ms
T0724 000:111.453 JLINK_GetFirmwareString(...)
T0724 000:111.470 - 0.020ms
T0724 000:112.842 JLINK_GetHardwareVersion()
T0724 000:112.855 - 0.016ms returns 94000
T0724 000:114.259 JLINK_GetSN()
T0724 000:114.272 - 0.016ms returns 69404144
T0724 000:115.691 JLINK_GetOEMString(...)
T0724 000:118.448 JLINK_TIF_Select(JLINKARM_TIF_SWD)
T0724 000:120.351 - 1.909ms returns 0x00
T0724 000:120.364 JLINK_HasError()
T0724 000:121.220 JLINK_SetSpeed(5000)
T0724 000:121.343 - 0.133ms
T0724 000:121.360 JLINK_GetId()
T0724 000:123.780 InitTarget() start
T0724 000:124.133 J-Link Script File: Executing InitTarget()
T0724 000:132.733 InitTarget() end
T0724 000:134.644 Found SW-DP with ID 0x2BA01477
T0724 000:139.105 DPIDR: 0x2BA01477
T0724 000:140.460 CoreSight SoC-400 or earlier
T0724 000:141.821 Scanning AP map to find all available APs
T0724 000:144.531 AP[1]: Stopped AP scan as end of AP map has been reached
T0724 000:145.904 AP[0]: AHB-AP (IDR: 0x24770011)
T0724 000:147.281 Iterating through AP map to find AHB-AP to use
T0724 000:154.975 AP[0]: Core found
T0724 000:156.794 AP[0]: AHB-AP ROM base: 0xE00FF000
T0724 000:159.026 CPUID register: 0x410FC241. Implementer code: 0x41 (ARM)
T0724 000:160.413 Found Cortex-M4 r0p1, Little endian.
T0724 000:160.652 -- Max. mem block: 0x00010E60
T0724 000:160.749 CPU_ReadMem(4 bytes @ 0xE000EDF0)
T0724 000:161.127 CPU_ReadMem(4 bytes @ 0xE0002000)
T0724 000:162.765 FPUnit: 6 code (BP) slots and 2 literal slots
T0724 000:162.781 CPU_ReadMem(4 bytes @ 0xE000EDFC)
T0724 000:163.039 CPU_WriteMem(4 bytes @ 0xE000EDFC)
T0724 000:163.294 CPU_ReadMem(4 bytes @ 0xE0001000)
T0724 000:163.555 CPU_WriteMem(4 bytes @ 0xE0001000)
T0724 000:163.915 CPU_ReadMem(4 bytes @ 0xE000ED88)
T0724 000:164.223 CPU_WriteMem(4 bytes @ 0xE000ED88)
T0724 000:164.532 CPU_ReadMem(4 bytes @ 0xE000ED88)
T0724 000:164.852 CPU_WriteMem(4 bytes @ 0xE000ED88)
T0724 000:166.648 CoreSight components:
T0724 000:168.300 ROMTbl[0] @ E00FF000
T0724 000:168.363 CPU_ReadMem(64 bytes @ 0xE00FF000)
T0724 000:168.965 CPU_ReadMem(32 bytes @ 0xE000EFE0)
T0724 000:170.806 [0][0]: E000E000 CID B105E00D PID 000BB00C SCS-M7
T0724 000:170.826 CPU_ReadMem(32 bytes @ 0xE0001FE0)
T0724 000:172.714 [0][1]: E0001000 CID B105E00D PID 003BB002 DWT
T0724 000:172.734 CPU_ReadMem(32 bytes @ 0xE0002FE0)
T0724 000:174.661 [0][2]: E0002000 CID B105E00D PID 002BB003 FPB
T0724 000:174.681 CPU_ReadMem(32 bytes @ 0xE0000FE0)
T0724 000:176.659 [0][3]: E0000000 CID B105E00D PID 003BB001 ITM
T0724 000:176.678 CPU_ReadMem(32 bytes @ 0xE0040FE0)
T0724 000:178.686 [0][4]: E0040000 CID B105900D PID 000BB9A1 TPIU
T0724 000:178.705 CPU_ReadMem(32 bytes @ 0xE0041FE0)
T0724 000:180.654 [0][5]: E0041000 CID B105900D PID 000BB925 ETM
T0724 000:181.901 - 60.551ms returns 0x2BA01477
T0724 000:181.921 JLINK_GetDLLVersion()
T0724 000:181.927 - 0.009ms returns 78200
T0724 000:181.935 JLINK_CORE_GetFound()
T0724 000:181.941 - 0.009ms returns 0xE0000FF
T0724 000:181.948 JLINK_GetDebugInfo(0x100 = JLINKARM_ROM_TABLE_ADDR_INDEX)
T0724 000:181.958 Value=0xE00FF000
T0724 000:181.967 - 0.022ms returns 0
T0724 000:188.710 JLINK_GetDebugInfo(0x100 = JLINKARM_ROM_TABLE_ADDR_INDEX)
T0724 000:188.728 Value=0xE00FF000
T0724 000:188.738 - 0.030ms returns 0
T0724 000:188.745 JLINK_GetDebugInfo(0x101 = JLINKARM_DEBUG_INFO_ETM_ADDR_INDEX)
T0724 000:188.751 Value=0xE0041000
T0724 000:188.760 - 0.018ms returns 0
T0724 000:188.770 JLINK_ReadMemEx(0xE0041FD0, 0x20 Bytes, Flags = 0x02000004)
T0724 000:188.790 CPU_ReadMem(32 bytes @ 0xE0041FD0)
T0724 000:189.721 Data: 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...
T0724 000:189.737 - 0.969ms returns 32 (0x20)
T0724 000:189.746 JLINK_GetDebugInfo(0x102 = JLINKARM_DEBUG_INFO_MTB_ADDR_INDEX)
T0724 000:189.753 Value=0x00000000
T0724 000:189.762 - 0.019ms returns 0
T0724 000:189.769 JLINK_GetDebugInfo(0x103 = JLINKARM_DEBUG_INFO_TPIU_ADDR_INDEX)
T0724 000:189.775 Value=0xE0040000
T0724 000:189.784 - 0.018ms returns 0
T0724 000:189.790 JLINK_GetDebugInfo(0x104 = JLINKARM_DEBUG_INFO_ITM_ADDR_INDEX)
T0724 000:189.797 Value=0xE0000000
T0724 000:189.805 - 0.018ms returns 0
T0724 000:189.812 JLINK_GetDebugInfo(0x105 = JLINKARM_DEBUG_INFO_DWT_ADDR_INDEX)
T0724 000:189.818 Value=0xE0001000
T0724 000:189.827 - 0.018ms returns 0
T0724 000:189.834 JLINK_GetDebugInfo(0x106 = JLINKARM_DEBUG_INFO_FPB_ADDR_INDEX)
T0724 000:189.840 Value=0xE0002000
T0724 000:189.849 - 0.017ms returns 0
T0724 000:189.855 JLINK_GetDebugInfo(0x107 = JLINKARM_DEBUG_INFO_NVIC_ADDR_INDEX)
T0724 000:189.861 Value=0xE000E000
T0724 000:189.870 - 0.018ms returns 0
T0724 000:189.877 JLINK_GetDebugInfo(0x10C = JLINKARM_DEBUG_INFO_DBG_ADDR_INDEX)
T0724 000:189.883 Value=0xE000EDF0
T0724 000:189.892 - 0.018ms returns 0
T0724 000:189.899 JLINK_GetDebugInfo(0x01 = Unknown)
T0724 000:189.907 Value=0x00000001
T0724 000:189.916 - 0.020ms returns 0
T0724 000:189.923 JLINK_ReadMemU32(0xE000ED00, 0x1 Items)
T0724 000:189.933 CPU_ReadMem(4 bytes @ 0xE000ED00)
T0724 000:190.305 Data: 41 C2 0F 41
T0724 000:190.322 Debug reg: CPUID
T0724 000:190.331 - 0.413ms returns 1 (0x1)
T0724 000:190.342 JLINK_GetDebugInfo(0x10F = JLINKARM_DEBUG_INFO_HAS_CORTEX_M_SECURITY_EXT_INDEX)
T0724 000:190.349 Value=0x00000000
T0724 000:190.358 - 0.018ms returns 0
T0724 000:190.365 JLINK_HasError()
T0724 000:190.372 JLINK_SetResetType(JLINKARM_CM3_RESET_TYPE_NORMAL)
T0724 000:190.379 - 0.009ms returns JLINKARM_CM3_RESET_TYPE_NORMAL
T0724 000:190.386 JLINK_Reset()
T0724 000:190.401 CPU is running
T0724 000:190.411 CPU_WriteMem(4 bytes @ 0xE000EDF0)
T0724 000:190.775 CPU is running
T0724 000:190.794 CPU_WriteMem(4 bytes @ 0xE000EDFC)
T0724 000:192.584 Reset: Halt core after reset via DEMCR.VC_CORERES
资源文件列表:
W25Q128 SPI3实验.zip 大约有394个文件