From 32c96322bedb6d03c1332349c5a252ac52aa1d36 Mon Sep 17 00:00:00 2001 From: wangxujie Date: Thu, 20 Feb 2025 17:46:01 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BD=91=E5=8F=A3MAC=E5=9C=B0=E5=9D=80?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LWIP/Target/ethernetif.c | 2 +- .../remote_dido_unit_STM32F407VGTx.dbgconf | 48 ----- MDK-ARM/remote_dido_unit.uvoptx | 48 ++--- MDK-ARM/remote_dido_unit.uvprojx | 119 ++++++------ .../remote_dido_unit.build_log.htm | 183 ------------------ remote_dido_unit.ioc | 3 +- 6 files changed, 89 insertions(+), 314 deletions(-) delete mode 100644 MDK-ARM/DebugConfig/remote_dido_unit_STM32F407VGTx.dbgconf delete mode 100644 MDK-ARM/remote_dido_unit/remote_dido_unit.build_log.htm diff --git a/LWIP/Target/ethernetif.c b/LWIP/Target/ethernetif.c index 0a98f60..ddca424 100644 --- a/LWIP/Target/ethernetif.c +++ b/LWIP/Target/ethernetif.c @@ -194,7 +194,7 @@ static void low_level_init(struct netif *netif) MACAddr[2] = 0xE1; MACAddr[3] = 0x00; MACAddr[4] = 0x00; - MACAddr[5] = 0x00; + MACAddr[5] = 0x01; heth.Init.MACAddr = &MACAddr[0]; heth.Init.MediaInterface = HAL_ETH_RMII_MODE; heth.Init.TxDesc = DMATxDscrTab; diff --git a/MDK-ARM/DebugConfig/remote_dido_unit_STM32F407VGTx.dbgconf b/MDK-ARM/DebugConfig/remote_dido_unit_STM32F407VGTx.dbgconf deleted file mode 100644 index 1df0a1b..0000000 --- a/MDK-ARM/DebugConfig/remote_dido_unit_STM32F407VGTx.dbgconf +++ /dev/null @@ -1,48 +0,0 @@ -// File: STM32F405_415_407_417_427_437_429_439.dbgconf -// Version: 1.0.0 -// Note: refer to STM32F405/415 STM32F407/417 STM32F427/437 STM32F429/439 reference manual (RM0090) -// refer to STM32F40x STM32F41x datasheets -// refer to STM32F42x STM32F43x datasheets - -// <<< Use Configuration Wizard in Context Menu >>> - -// Debug MCU configuration register (DBGMCU_CR) -// DBG_STANDBY Debug Standby Mode -// DBG_STOP Debug Stop Mode -// DBG_SLEEP Debug Sleep Mode -// -DbgMCU_CR = 0x00000007; - -// Debug MCU APB1 freeze register (DBGMCU_APB1_FZ) -// Reserved bits must be kept at reset value -// DBG_CAN2_STOP CAN2 stopped when core is halted -// DBG_CAN1_STOP CAN2 stopped when core is halted -// DBG_I2C3_SMBUS_TIMEOUT I2C3 SMBUS timeout mode stopped when core is halted -// DBG_I2C2_SMBUS_TIMEOUT I2C2 SMBUS timeout mode stopped when core is halted -// DBG_I2C1_SMBUS_TIMEOUT I2C1 SMBUS timeout mode stopped when core is halted -// DBG_IWDG_STOP Independent watchdog stopped when core is halted -// DBG_WWDG_STOP Window watchdog stopped when core is halted -// DBG_RTC_STOP RTC stopped when core is halted -// DBG_TIM14_STOP TIM14 counter stopped when core is halted -// DBG_TIM13_STOP TIM13 counter stopped when core is halted -// DBG_TIM12_STOP TIM12 counter stopped when core is halted -// DBG_TIM7_STOP TIM7 counter stopped when core is halted -// DBG_TIM6_STOP TIM6 counter stopped when core is halted -// DBG_TIM5_STOP TIM5 counter stopped when core is halted -// DBG_TIM4_STOP TIM4 counter stopped when core is halted -// DBG_TIM3_STOP TIM3 counter stopped when core is halted -// DBG_TIM2_STOP TIM2 counter stopped when core is halted -// -DbgMCU_APB1_Fz = 0x00000000; - -// Debug MCU APB2 freeze register (DBGMCU_APB2_FZ) -// Reserved bits must be kept at reset value -// DBG_TIM11_STOP TIM11 counter stopped when core is halted -// DBG_TIM10_STOP TIM10 counter stopped when core is halted -// DBG_TIM9_STOP TIM9 counter stopped when core is halted -// DBG_TIM8_STOP TIM8 counter stopped when core is halted -// DBG_TIM1_STOP TIM1 counter stopped when core is halted -// -DbgMCU_APB2_Fz = 0x00000000; - -// <<< end of configuration section >>> \ No newline at end of file diff --git a/MDK-ARM/remote_dido_unit.uvoptx b/MDK-ARM/remote_dido_unit.uvoptx index a936f77..8451f46 100644 --- a/MDK-ARM/remote_dido_unit.uvoptx +++ b/MDK-ARM/remote_dido_unit.uvoptx @@ -1,4 +1,4 @@ - + 1.0 @@ -45,7 +45,7 @@ 79 66 8 - + 1 @@ -104,16 +104,16 @@ 0 0 6 - - - - - - - - - - + + + + + + + + + + STLink\ST-LINKIII-KEIL_SWO.dll @@ -130,7 +130,7 @@ 0 ARMDBGFLAGS - + 0 @@ -148,7 +148,7 @@ -U-O142 -O2254 -SF10000 -C0 -A0 -I0 -HNlocalhost -HP7184 -P1 -N00("ARM CoreSight SW-DP (ARM Core") -D00(2BA01477) -L00(0) -TO131090 -TC10000000 -TT10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD20000000 -FC800 -FN1 -FF0STM32F4xx_1024.FLM -FS08000000 -FL0100000 -FP0($$Device:STM32F407VGTx$CMSIS\Flash\STM32F4xx_1024.FLM) - + 0 @@ -185,19 +185,19 @@ 0 0 - - + + 0 0 0 - - - - - - - - + + + + + + + + 1 0 diff --git a/MDK-ARM/remote_dido_unit.uvprojx b/MDK-ARM/remote_dido_unit.uvprojx index 96350e4..5b2a092 100644 --- a/MDK-ARM/remote_dido_unit.uvprojx +++ b/MDK-ARM/remote_dido_unit.uvprojx @@ -1,7 +1,10 @@ - - + + + 2.1 +
### uVision Project, (C) Keil Software
+ remote_dido_unit @@ -13,31 +16,31 @@ STM32F407VGTx STMicroelectronics - Keil.STM32F4xx_DFP.2.12.0 - http://www.keil.com/pack + Keil.STM32F4xx_DFP.2.17.1 + https://www.keil.com/pack/ IRAM(0x20000000-0x2001BFFF) IRAM2(0x2001C000-0x2001FFFF) IROM(0x8000000-0x80FFFFF) CLOCK(25000000) FPU2 CPUTYPE("Cortex-M4") TZ - - - + + + 0 - - - - - - - - - - + + + + + + + + + + $$Device:STM32F407VGTx$CMSIS\SVD\STM32F40x.svd 0 0 - - - - - + + + + + 0 0 @@ -52,15 +55,15 @@ 0 1 0 - + 1 0 0 0 0 - - + + 0 0 0 @@ -69,8 +72,8 @@ 0 0 - - + + 0 0 0 @@ -79,15 +82,15 @@ 0 0 - - + + 0 0 0 0 1 - + 0 @@ -101,8 +104,8 @@ 0 0 3 - - + + 0 @@ -136,10 +139,10 @@ 1 BIN\UL2V8M.DLL "" () - - - - + + + + 0 @@ -172,7 +175,7 @@ 0 0 "Cortex-M4" - + 0 0 0 @@ -306,7 +309,7 @@ 0x4000 - + 1 @@ -333,9 +336,9 @@ 0 0 - + USE_HAL_DRIVER,STM32F407xx - + ../Core/Inc;../LWIP/App;../LWIP/Target;../Middlewares/Third_Party/LwIP/src/include;../Middlewares/Third_Party/LwIP/system;../Drivers/STM32F4xx_HAL_Driver/Inc;../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy;../Middlewares/Third_Party/FreeRTOS/Source/include;../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS;../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F;../Drivers/BSP/Components/lan8742;../Middlewares/Third_Party/LwIP/src/include/netif/ppp;../Drivers/CMSIS/Device/ST/STM32F4xx/Include;../Middlewares/Third_Party/LwIP/src/include/lwip;../Middlewares/Third_Party/LwIP/src/include/lwip/apps;../Middlewares/Third_Party/LwIP/src/include/lwip/priv;../Middlewares/Third_Party/LwIP/src/include/lwip/prot;../Middlewares/Third_Party/LwIP/src/include/netif;../Middlewares/Third_Party/LwIP/src/include/compat/posix;../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa;../Middlewares/Third_Party/LwIP/src/include/compat/posix/net;../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys;../Middlewares/Third_Party/LwIP/src/include/compat/stdc;../Middlewares/Third_Party/LwIP/system/arch;../Drivers/CMSIS/Include;../User/application/inc;../User/system;../User/board/inc @@ -351,9 +354,9 @@ 0 1 - - - + + + ../Core/Inc @@ -364,15 +367,15 @@ 0 1 0 - - - - - - - - - + + + + + + + + + @@ -1063,18 +1066,20 @@ + - + - + - + - + + @@ -1083,5 +1088,5 @@ -
+
diff --git a/MDK-ARM/remote_dido_unit/remote_dido_unit.build_log.htm b/MDK-ARM/remote_dido_unit/remote_dido_unit.build_log.htm deleted file mode 100644 index 35f5e71..0000000 --- a/MDK-ARM/remote_dido_unit/remote_dido_unit.build_log.htm +++ /dev/null @@ -1,183 +0,0 @@ - - -
-

µVision Build Log

-

Tool Versions:

-IDE-Version: ¦ÌVision V5.36.0.0 -Copyright (C) 2021 ARM Ltd and ARM Germany GmbH. All rights reserved. -License Information: aaa Administrator, aaa, LIC=6XJT4-F8J98-8YUVV-P833R-DBAKX-Y8EU6 - -Tool Versions: -Toolchain: MDK-ARM Professional Version: 5.36.0.0 -Toolchain Path: C:\Keil_v5\ARM\ARMCC\Bin -C Compiler: Armcc.exe V5.06 update 7 (build 960) -Assembler: Armasm.exe V5.06 update 7 (build 960) -Linker/Locator: ArmLink.exe V5.06 update 7 (build 960) -Library Manager: ArmAr.exe V5.06 update 7 (build 960) -Hex Converter: FromElf.exe V5.06 update 7 (build 960) -CPU DLL: SARMCM3.DLL V5.36.0.0 -Dialog DLL: DCM.DLL V1.17.3.0 -Target DLL: STLink\ST-LINKIII-KEIL_SWO.dll V3.0.9.0 -Dialog DLL: TCM.DLL V1.53.0.0 - -

Project:

-D:\WORK\positioner_testing\Remote dido unit\MDK-ARM\remote_dido_unit.uvprojx -Project File Date: 02/19/2025 - -

Output:

-*** Using Compiler 'V5.06 update 7 (build 960)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin' -Build target 'remote_dido_unit' -assembling startup_stm32f407xx.s... -compiling lan8742.c... -compiling gpio.c... -compiling freertos.c... -compiling stm32f4xx_hal_msp.c... -compiling stm32f4xx_hal_flash.c... -compiling stm32f4xx_hal_flash_ex.c... -compiling tim.c... -compiling stm32f4xx_hal_rcc_ex.c... -compiling stm32f4xx_it.c... -compiling stm32f4xx_hal_rcc.c... -compiling main.c... -compiling lwip.c... -compiling ethernetif.c... -compiling stm32f4xx_hal_timebase_tim.c... -compiling stm32f4xx_hal_gpio.c... -compiling stm32f4xx_hal_flash_ramfunc.c... -compiling list.c... -compiling croutine.c... -compiling event_groups.c... -compiling queue.c... -compiling stm32f4xx_hal_dma_ex.c... -compiling stm32f4xx_hal_pwr.c... -compiling stm32f4xx_hal_dma.c... -compiling stm32f4xx_hal_exti.c... -compiling stm32f4xx_hal_pwr_ex.c... -compiling stm32f4xx_hal_cortex.c... -compiling stm32f4xx_hal.c... -compiling timers.c... -compiling stm32f4xx_hal_eth.c... -compiling system_stm32f4xx.c... -compiling stream_buffer.c... -compiling stm32f4xx_hal_tim_ex.c... -compiling tasks.c... -compiling heap_4.c... -compiling stm32f4xx_hal_tim.c... -compiling cmsis_os.c... -compiling port.c... -compiling chap-md5.c... -compiling ccp.c... -compiling demand.c... -compiling chap_ms.c... -compiling eui64.c... -compiling chap-new.c... -compiling eap.c... -compiling ipcp.c... -compiling fsm.c... -compiling auth.c... -compiling ipv6cp.c... -compiling lcp.c... -compiling magic.c... -compiling mppe.c... -compiling multilink.c... -compiling ppp.c... -compiling pppapi.c... -compiling pppcrypt.c... -compiling pppoe.c... -compiling pppos.c... -compiling upap.c... -compiling pppol2tp.c... -compiling utils.c... -compiling vj.c... -compiling bridgeif_fdb.c... -compiling ethernet.c... -compiling bridgeif.c... -compiling lowpan6.c... -compiling lowpan6_common.c... -compiling lowpan6_ble.c... -compiling api_msg.c... -compiling zepif.c... -compiling ecp.c... -compiling if_api.c... -compiling netdb.c... -compiling netbuf.c... -compiling err.c... -compiling api_lib.c... -compiling slipif.c... -compiling netifapi.c... -compiling altcp.c... -compiling tcpip.c... -compiling altcp_alloc.c... -compiling sockets.c... -compiling altcp_tcp.c... -compiling dns.c... -compiling def.c... -compiling ip.c... -compiling inet_chksum.c... -compiling mem.c... -compiling init.c... -compiling memp.c... -compiling raw.c... -compiling stats.c... -compiling sys.c... -compiling netif.c... -compiling pbuf.c... -compiling tcp.c... -compiling tcp_in.c... -compiling udp.c... -compiling tcp_out.c... -compiling autoip.c... -compiling dhcp.c... -compiling timeouts.c... -compiling icmp.c... -compiling igmp.c... -compiling etharp.c... -compiling ip4_addr.c... -compiling ip4.c... -compiling ethip6.c... -compiling ip4_frag.c... -compiling dhcp6.c... -compiling communication_protocol.c... -compiling user_lib.c... -compiling icmp6.c... -compiling inet6.c... -compiling ip6_addr.c... -compiling ip6.c... -compiling nd6.c... -compiling ip6_frag.c... -compiling mld6.c... -compiling sys_arch.c... -compiling leds.c... -compiling tcpserverc.c... -compiling mqtt.c... -compiling user_gpio.c... -linking... -Program Size: Code=74336 RO-data=1344 RW-data=408 ZI-data=51600 -"remote_dido_unit\remote_dido_unit.axf" - 0 Error(s), 0 Warning(s). - -

Software Packages used:

- -Package Vendor: ARM - http://www.keil.com/pack/ARM.CMSIS.5.8.0.pack - ARM.CMSIS.5.8.0 - CMSIS (Common Microcontroller Software Interface Standard) - * Component: CORE Version: 5.5.0 - -Package Vendor: Keil - http://www.keil.com/pack/Keil.STM32F4xx_DFP.2.12.0.pack - Keil.STM32F4xx_DFP.2.12.0 - STMicroelectronics STM32F4 Series Device Support, Drivers and Examples - -

Collection of Component include folders:

- .\RTE\_remote_dido_unit - C:\Users\Administrator\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include - C:\Users\Administrator\AppData\Local\Arm\Packs\Keil\STM32F4xx_DFP\2.12.0\Drivers\CMSIS\Device\ST\STM32F4xx\Include - -

Collection of Component Files used:

- - * Component: ARM::CMSIS:CORE:5.5.0 - Include file: CMSIS\Core\Include\tz_context.h -Build Time Elapsed: 00:00:06 -
- - diff --git a/remote_dido_unit.ioc b/remote_dido_unit.ioc index 37bc523..367d34a 100644 --- a/remote_dido_unit.ioc +++ b/remote_dido_unit.ioc @@ -2,7 +2,8 @@ CAD.formats= CAD.pinconfig= CAD.provider= -ETH.IPParameters=MediaInterface +ETH.IPParameters=MediaInterface,MACAddr +ETH.MACAddr=00\:80\:E1\:00\:00\:01 ETH.MediaInterface=HAL_ETH_RMII_MODE FREERTOS.FootprintOK=true FREERTOS.IPParameters=Tasks01,configMAX_TASK_NAME_LEN,configENABLE_FPU,configMAX_PRIORITIES,FootprintOK