匿名
尚未登入
登入
flip the world
搜尋
檢視ST, STM32F4 Discovery的原始碼
出自flip the world
命名空間
頁面
討論
更多
更多
頁面操作
閱讀
檢視原始碼
歷史
←
ST, STM32F4 Discovery
您沒有權限執行編輯此頁面,由於以下原因:
您請求的操作只有這個群組的使用者能使用:
使用者
您可以檢視並複製此頁面的原始碼。
[[File:IMAG4572 BURST001.jpg|thumb|200px|Dot matrix + servo + touch sensor]] == Download the GNU/ARM toolchain == * tar -xvjf gcc-arm-none-eabi-4_8-2014q2-20131204-linux.tar.bz2 * export PATH=$PATH:~/gcc-arm-none-eabi-4_8-2014q2/bin == Download and Build STLINK == * sudo apt-get install autoconf pkg-config libusb-1.0 git * git clone https://github.com/texane/stlink.git <pre> cd ~/stlink ./autogen.sh ./configure make </pre> == Download STM32 Libraries and Blinky Example == * git clone https://github.com/rowol/stm32_discovery_arm_gcc == Compile Your Source Code == * Edit Makefile ** STLINK=/home/rowol/stlink #Example, change to your location ** STM_COMMON=/home/rowol/stm32_discovery_arm_gcc/STM32F4-DISCOVERY_FW_V1.1.0 ** make it == Program ARM's Flash and Run Code == * make burn or * st-flash write STM32F4-Discovery.bin 0x08000000 == Using external ST-Link == * Remove CN3 jumper <pre> ST-Link STM32F4 VCC 3V SWIO PA13 SWCLK PA14 VDD VDD ( depends on product, could range from 1.8v - 5v ) GND GND </pre> == GDB == <pre> In the directory with your source code, I've also add a .gdbinit file which contains: define reload kill monitor jtag_reset load end target extended localhost:4242 load This will execute whenever you start GDB in the source directory To start up: ~/stlink/st-util #Start GDB server arm-none-eabi-gdb main.elf #In a second terminal window, start GDB continue #Starts code running, or use other GDB commands to # set breakpoints, etc first... </pre> == [[application - MPR121, capacitive touch sensor controller ]] == == [[application - MAX7219, Serially Interfaced, 8-Digit LED Display Drivers (interact with MPR121)]] == == [[application - MAX7219, Serially Interfaced, 8-Digit LED Display Drivers (scrolling text)]] == == [[application - CS43L22, built-in DAC(audio playback)]] == == [[application - MG90S, Metal Gear Servo]] == == [[application - Joystick]] == == [[application - nRF52, (BLE - UART - STM32F4)]] == == [[application - MeArm, mini robotic arm]] == == Reference == * [https://launchpad.net/gcc-arm-embedded/+download, ARM toolchain] * [http://www.wolinlabs.com/blog/linux.stm32.discovery.gcc.html, STM32 Discovery Development On Linux] * [http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/PF252419, STM32F4 Discovery Kit Resource Page] * [http://www.arm.com/products/processors/cortex-m/cortex-microcontroller-software-interface-standard.php, CMSIS - Cortex Microcontroller Software Interface Standard] * [http://rusefi.com/wiki/index.php?title=Hardware:stm32f4discovery_repair, Hardware:stm32f4discovery repair] [[Category:Boards and SoCs]]
返回到「
ST, STM32F4 Discovery
」。
導覽
導覽
首頁
近期變更
隨機頁面
MediaWiki說明
wiki工具
wiki工具
特殊頁面
頁面工具
頁面工具
使用者頁面工具
更多
連結至此的頁面
相關變更
頁面資訊
頁面日誌