STM32F429调试记录(一)

来源:互联网 发布:ios6还能用的软件 编辑:程序博客网 时间:2024/05/11 20:41

STM32F429的芯片有两路can接口、四路串口、内部以太网以及内部dsp处理器等硬件,硬件的丰富程度可见一斑,而且主频达到180MHZ,虽然比A8-A9架构的ARM芯片还是差一大截,但是在工业控制上的应用还是比较多的。

在程序编写方面STM32F4系列不管在MDK还是库函数都有挺大改动,刚着手调试,将过程记录下来,方便以后积累经验,也让同行碰到类似问题的时候,能尽快找到方法。

首先我是用keil 来开发STM32F4系列代码的,该芯片比较新,采用keil MDK 5.11含有STM32F429芯片(4.72应该也有,但是我没验证过);

第二、MDK会自动检测山寨版本J-link固件,上次在客户那也出现这种情况,郁闷坏了。。其实这个问题比较简单,只要把以前可以用的keil下ARM/Segger/下的JL2CM3.dll,JLinkARM.dll,放到5.11下同样目录下即可。

第三、断言报错,assert_param 模块没有定义,在options里面的c/c++中加入USE_STDPERIPH_DRIVER,即可。

       今天就到这里了,明天继续。

  Core: 

ARM 32-bit Cortex™-M4 CPU with FPU, Adaptive real-time accelerator (ART Accelerator™) 
allowing  0-wait  state  execution  from  Flash  memory,  frequency  up  to  180  MHz,  MPU,  225 
DMIPS/1.25 DMIPS/MHz (Dhrystone 2.1), and DSP instructions
  Memories
•Up to 2 MB of Flash memory organized into two banks allowing read-while-write
•Up to 256+4 KB of SRAM including 64-KB of CCM (core coupled memory) data RAM
• Flexible  external  memory  controller  with  up  to  32-bit  data  bus:  SRAM,PSRAM,SDRAM, 
Compact Flash/NOR/NAND memories
  LCD parallel interface
•8080/6800 modes
  LCD-TFT 
controller up to SVGA resolution with dedicated Chrom-ART Accelerator™ for enhanced graphic 
content creation (DMA2D)
  Clock, reset and supply management
•1.8 V to 3.6 V application supply and I/Os
•POR, PDR, PVD and BOR
•4-to-26 MHz crystal oscillator
•Internal 16 MHz factory-trimmed RC (1% accuracy)
•32 kHz oscillator for RTC with calibration
•Internal 32 kHz RC with calibration
•Sleep, Stop and Standby modes
•VBATsupply for RTC, 20×32 bit backup registers + optional 4 KB backup SRAM
  3×12-bit, 2.4 MSPS ADC: 
up to 24 channels and 7.2 MSPS in triple interleaved mode
  2×12-bit D/A converters
  General-purpose DMA: 
16-stream DMA controller with FIFOs and burst support
  Up to 17 timers: 
up to twelve 16-bit and two 32-bit timers up to 180 MHz, each with up to 4 IC/OC/PWM or pulse 
counter and quadrature (incremental) encoder input
  Debug mode
•Serial wire debug (SWD)& JTAG interfaces
•Cortex-M4 Embedded Trace Macrocell™
  Up to 168 I/O ports with interrupt capability
•Up to 164 fast I/Os up to 90 MHz
•Up to 166 5 V -tolerant I/Os 
Mini-STM32F4x9IGT6 开发板用户手册 V1.0                          www.elechome.com
Page 8 / 165
  Up to 21 communication interfaces
•Up to 3 × I2C interfaces (SMBus/PMBus)
•Up to 4 USARTs/4 UARTs (11.25 Mbit/s, ISO7816 interface, LIN, IrDA, modem control)
•Up to 6 SPIs (45 Mbits/s), 2 with muxed full-duplex I2S for audio class accuracy via internal 
audio PLL or external clock
•1 x SAI (serial audio interface)
•2 × CAN (2.0B Active) and SDIO interface
  Advanced connectivity
•USB 2.0 full-speed device/host/OTG controller with on-chip PHY
• USB  2.0  high-speed/full-speed  device/host/OTG  controller  with  dedicated  DMA,  on-chip 
full-speed PHY and ULPI
•10/100 Ethernet MAC with dedicated DMA: supports IEEE 1588v2 hardware, MII/RMII
  8- to 14-bit parallel camera interface up to 54 MBs/s
  Cryptographic  acceleration:  hardware  acceleration  for  AES  128,  192,  256,  Triple  DES, 
HASH (MD5, SHA-1, SHA-2), and HMAC(Only STM32F439)
  True random number generator
  CRC calculation unit
  96-bit unique ID
  RTC: subsecond accuracy, hardware calendar
0 0
原创粉丝点击