-
Article
Datei:3pcs.jpg
Auf dem STM32F103C8T6 Entwickler Board sind BOOT0 und BOOT1 vertauscht beschriftet. Auf dem roten ST-Link Emulator ist das Plastik etwas aufgeschnitten. Auf dem blauen ST-Link Emulator sind CLK und TCK sowie DIO
-
Thread
unrecognised emulation mode: cpu=cortex-m3
I have attached the makefile that I use to compile compile my first simple code (main.c) for the stm32VL board. My operating system is OS X Maverics and I use Yagarto with STLINK. I attached the bash_profile file to show how the Yagarto toolchain is set. The main.c file gets operated first by the local
this? Demo Ruslan$ make /Users/Ruslan/yagarto/yagarto-4.7.2/bin/arm-none-eabi-ld -T/Users/Ruslan/STM32-Template/stm32f100.ld -mthumb -mcpu=cortex-m3 -o Demo.elf startup_stm32f10x.o system_stm32f10x.o main.o /Users/Ruslan/yagarto/yagarto-4.7.2/bin/arm-none-eabi-ld: unrecognised emulation mode: cpu
-
Thread
STM32 GDB on Mac OS
(GPIOx=0xa, PortVal=<optimized out>) at /l/arm/STM32F10x_StdPeriph_Lib_V3.5.0/Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c:423 423 /l/arm/STM32F10x_StdPeriph_Lib_V3.5.0/Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c: No such
with fixing this issue. Could someone advice on how to address this problem? I started by loading the STM32VL library into my project folder STM32 Template but the error persists. I don't understand why gdb is looking for thestm32f10x_gpio.c since the .elf file is already a compiled and ready to be loaded
-
Article
STM32F103C8T6 Boards
Hauptsächlich aus China gibt es preiswerte STM32F103C8T6 Boards in 600 mil und 1300 mil Breite. Pinbelegung. Nachfolgend die Pinbelegung beider Versionen: Pin Name 600 mil 1300 mil Type POR-Fct Default Remap 1 VBAT 1 5 S VBAT 2 PC13-TAMPER- RTC(5) 2 6 I/O PC13(6) TAMPER-RTC 3 PC14-OSC32_IN(5) 3 7 I/O PC14(6) OSC32_IN 4 PC15- OSC32_OUT(5) 4 8 I/O PC15(6) OSC32_OUT 5 OSC_IN - 9 I OSC_IN PD0(7) 6 OSC_OUT - 10 O OSC_OUT PD1(7) 7 NRST - - I/O NRST 8 VSSA (19) 3 S VSSA 9 VDDA 38 2 S VDDA
-
Article
Datei:STM32BreakoutBoardBottom.png
Rückseite des STM32 Breakout Board v1.1
-
Article
Datei:STM32BreakoutBoardTop.png
Vorderseite des STM32 Breakout Board v1.1
-
Article
Benutzer:Sengp
How-to manual - Installing a toolchain for Cortex-M3/STM32 on GNU/Linux
-
Thread
STM32F051 I2C slave problem
Hi, I have in a STM32F051k project a problem with the I2C as Slave. I send from an AVR: Start/address Wr/command/repStart/address RD/ ... read information / Stop) The read information is command/count/data. Exact
-
Article
Benutzer:Mtothea
// Mein erstes Mainfile // Mit der conf-Datei beherrschen und steuern wir // die gesammte include "stm32f4xx_conf.h" include "stm32f4xx.h" void RCC_init(void){ // ueber die RCC werden die diversen Peripherie-Einheiten eingeschaltet // (durch konfiguration der RCC) RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_GPIOD
Nasebohren } } Systick. //Mit der CONF-Datei beherrschen und steuern wir //die ganze FW-Lib include "stm32f4xx_conf.h" //die Includes, damit wir und nichtmehr //irgedwelche Adressen zusammensuchen muessen include "stm32f4xx.h" void RCC_initialisieren(void){ //ueber die RCC werden die diversen Peripherie-Einheiten
-
Article
Datenuebertragung-STM32F4
Datenübertragung über 4 Datenleitungen. Zwei STM32F4 Discovery Boards sollen durch 4 parallele Datenleitungen und eine Steuerleitung, ähnlich der LCD-Implementierung, miteinander kommunizieren. An einem Board werden über eine PS/2 Tastatur Zeichen
-
Thread
SPI communication between two microcontrollers
Hello everyone, I am trying to make communication between an STM32F3 microcontroller and a custom board baser on PIC microcontroller using SPI protocol. The STM32F3 acts as a Slave and the custom board as a Master. The clock is set to 10 MHz. I’m using NSS hardware
-
Thread
nsec-resolution time measurement with MSP430 or alternatives ?
While the STM32F334 has a timer with 217 ps resolution, it is a pity that this resolution is only for output, not for capture, as the poster asked. The Infineon Cortex Parts also have sub-nanosecond timers, but
capture. And datasheet download still requires a NDA! You can get about 5 ns resolution with the STM32F405 and bigger parts, running the timer at 168/180 MHz or LPC43xx at 204 MHz.
-
Thread
USART1 issue with a STM32F030R8 Nucleo Board
MAIN_H /* Includes ------------------------------------------------------------------*/ #include "stm32f0xx.h" #include "stm32f0xx_rcc.h" #include "stm32f0xx_it.h" #include "stm32f0xx_gpio.h" #include "stm32f0xx_rtc.h" #include "stm32f0xx_nucleo.h" #include "stm32f0xx_conf.h" #include "stm32f0xx_usart.h
Hey, Benoit wrote in post #3658640: > GPIO_PinAFConfig(GPIOA, GPIO_Pin_2, GPIO_AF_0); STM32F030R8 hasn't mapped USART1 on PA2, please read the datasheet page 31. USART1 is available on STM32F030x6 and STM32F030x4 devices only. Benoit wrote in post #3658640: > GPIO_PinAFConfig(GPIOA,
-
Thread
[Solved] STM32F0 Discovery Board: Connect faild, check config and cable connection
Hi I bougth the Stm32F0 Discovery to get into microcontrollers. I have only knowlegth about c# and java programming. I followed this tutorial (video http://www.youtube.com/watch?v=nP6TR6NAZTQ) Downlaoding coocox
/CoIDE/flash/STM32F05xx_64.elf" Error: Connect failed, check config and cable connection Program Download Failed ! I have no cloue what to change. Can anyone give me a hint? Do I Have to know anything else
-
Thread
SimpleSerialTerminal
during debugging of baud rate difficulties in a timer controlled bitbanging software serial of an STM32F103RBT ARM Cortex M3. If you wish a line feed carriage return in the monitor, your MIC has to send the #13 #10 chars. @Moby: which is the reason for better having a more condensed representation
-
Thread
Still missing crt0.o
I had the same problem wit trying to compile for STM32F4xx (Cortex M4). I ditched Yagarto and switched to using GNU Tools ARM Embedded - toolchain (4.8_2014q2): https://launchpad.net/gcc-arm-embedded Seems to work for me.
-
Thread
STM32F1xx EXTI problem to trigger interrupt by SWIER
Hallo, i have the following problem to solve: an interrupt should be triggered when the frame-signal of a SPI-interface changes from 0 to 1. If, at the time of enabling this interrupt, the frame-signal is already high, the interrupt should be triggered by software instead of the rising edge. I am using int-structures representing the register-bits of EXTI and other peripherals mapped to the according places within the bit-banding-area of the micro. These are name XXXbbbits. I am also using bit-structures which are representing the structures of their according registers to manipulate two
-
Thread
STM32F4 IMPRECISERR, trouble debugging
First off I did make a Debug Fault Handler, this is what I am getting r0 = 1200 0x000004B0 r1 = 0 0x00000000 r2 = 1200 0x000004B0 r3 = 1 0x00000001 r12 = 0 0x00000000 lr = 134228401 0x080029B1 pc = 134228410 0x080029BA psr = 553648128 0x21000000 OST = 536881104 0x200027D0 HFSR = 1073741824 0x40000000 CFSR = 1024 0x00000400 Showing BUSFAULT IMPRECISERR DFSR = 0 0x00000000 MMFAR = 3758157108 0xE000ED34 BFAR = 3758157112 0xE000ED38 AFSR = 0 0x00000000 PSP = 536881200 0x20002830 SHCSR = 0 0x00000000
-
Article
LPC1xxx für Umsteiger
Umsteigen lohnt sich auf jeden Fall, egal auf welche Prozessorfamilie. In diesem Artikel wird die 32-Bit Familie LPC1xxx von LPC kurz betrachtet. Die 32-Bit Controller der STM32-Familie werden in den Betrag STM32_für_Einsteiger und STM32 sehr schön vorgestellt, und sehr rudimentär mit dem LPC1xxx verglichen
Installationsanleitung zur IDE LPC1xxx Codebase LPDXpresso Download (Kostenlos mit Debugger) LPCXpresso Homepage STM32 für Einsteiger
-
Thread
STM32F0 ADC input noise investigations
ADC input voltage stable during this time. References ---------- [1]: RM0091: Reference Manual, STM32F05xxx/06xxx advanced ARM-based 32-bit MCUs (http://www.st.com/web/en/resource/technical/document/reference_manual/DM00031936.pdf) [2] STM32F051x4 STM32F051x6 STM32F051x8: Data sheet (http://www.st.com/web/en/resource/technical/document/datasheet/DM00039193.pdf) [3] UM1525: User Manual, STM32F0DISCOVERY, Discovery kit for STM32 F0 microcontrollers (http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00050135.pdf)
-
Thread
ARM Integrator/CP and general portability
actual, instead of a virtual, prototype with a lean, cheap and also modern eval board such as the STM32F4 Discovery Board (Cortex-M4F, ARMv7M, ~15€) while encapsulating the hardware accesses into an exchangeable hardware access layer? This allows you to use the modern ARMv7M architecture, gets rid of
-
Thread
STM32F429 Discovery Sega Master System emulator
Hi all, To test the new ST discovery kit I made a minimal SMS emulator running on it. The code is released as Open Source and it is avaliable on http://www.codeforge.com/article/218395 A small demo video is on http://www.youtube.com/watch?v=qtNLctyoxU8 The project is developed using Keil MDK (evaluation version) so everyone can test and enhance it.
-
Thread
[STM32] Crossreference ChipID - Device (EN / DE)
people! Having had some trouble finding a decent source of information regarding the Chip ID on STM32 µCs and the Flash/Sram size, here's an appeal to gather known and tested information you all might have come across. As an example for what information should be in, at the end there's a snippet of
Morgen! Da ich auf wenig Information bezüglich CHIP_ID und deren Flash/Sram Speichergröße für die STM32 µCs im Internet gefunden habe, hier eine Bitte diese Information zu sammeln. Es sollten Daten sein die Ihr schon ausprobiert habt und getestet wurden. Als Beispiel am Ende ein Schnippsel der .xml
-
Thread
GNU issues for cpp
GCC issue 1: We are working on the STM32F0 series, where the src code is in C++ and the compiler used is the GCC ARM (version 4.4.1) which compiles fine. However when we changed the GCC compiler to 4.7.3 we are observing linker issues as
Cortex M0 and wrking on STM32F051.
-
Thread
First try STM32F4-Discovery
f ./cmsis/device/system_stm32f4xx.c.bak ./src/syscalls.c.bak ./src/main.c.ba k rm -f ./cmsis/device/system_stm32f4xx.lst ./src/syscalls.lst ./src/main.lst rm -f ./cmsis/device/startup_stm32f4xx.s.bak rm -f ./cmsis/device/startup_stm32f4xx.lst
ffunctio n-sections -fdata-sections -Wa,-ahlms=cmsis/device/system_stm32f4xx.lst -DRUN_ FROM_FLASH=0 -DVECT_TAB_SRAM -MD -MP -MF .dep/system_stm32f4xx.o.d -I . -I./inc -I./cmsis/core -I./cmsis/device cmsis/device/system_stm32f4xx.c -o cmsis/device/ system_stm32f4xx.o
-
Thread
Control ARM prologue/epilogue assembly code emission
The Cortex-M4F (ARMv7M) does not have an explicit PUSH instruction, but only "STM". Verify that you call the compiler correctly for that core (flags -mcpu=cortex=M4 -mthumb). Paste the disassembly, step through the instructions with a debugger and explain why you believe that the
with an other mikrocontroller? Maybe that one is defect... This should definitely work (it does on my STM32F4 which is a Cortex-M4, too - i.e. has exactly the same core). I don't think GCC can be stopped from generating the "PUSH" instruction because it should work.
-
Thread
malloc, strncpy on STM32F4 not working
Hi, I am trying to get strncpy working. At the moment I know that it has something to do with the newlib. I am using coocox with https://launchpad.net/gcc-arm-embedded/ How do I include the newlib into my toolchain? Or am I wrong with newlib an the problem lies somewhere else? I included the syscalls from the repository: "The component implement the minimal functionality required to allow libc to link." I also included libc in the "linked libraries section". But it seems as if behind strncpy is only a declaration: "char *_EXFUN(strncpy,(char *, const char *, size_t));" I do not have
-
Article
Cortex M3 OCM3U
und Hauptoszillator wenig Extrabeschaltung RS232 zum programmieren und für Datenübermittlung zum PC STM32F101C8T6, 2.0-3.6V, 5V Tolerante I/Os, max. 36MHz, 32KB Flash, 6KB SRAM, 2x16Bit Timer, 2xSPI, 2xI2C, 3xUART, 10x12Bit ADC, 26xGPIOs, 1xRTC. Größere Modelle im pinkompatiblen Gehäuse erhältlich Software
Batterie:CR 1216) 1 - MAX3232ECWE SO16L - 2 - Pinheader 1x16 - 1x SL 1X36G 2,54 1 - Pinheader 1x2 - ^^ 1 32.768Khz Crystal HC49UP - 1 8Mhz Crystal HC49UP 8,0000-HC49-SMD 1 - Switch - TASTER 9312 1 - STM32F101C8T6 LQFP48 - 1 - SUBD-CON. F09HP D-SUB BU 09US 1 47k Widerstand 0805 SMD-0805 47,0K Work in Process
-
Article
STM32 F3 Discovery unter Linux
startup_stm32f30x.s von stmfw/stm32f3xx/Libraries/CMSIS/Device/ST/STM32F30x/Source/Templates/TrueSTUDIO nach stm32f3demo/ kopieren File editieren und die beiden Zeilen "bl SystemInit" und "bl __libc_init_array" in LoopFillZerobss auskommentieren. stm32f30x.h (aus stmfw/stm32f3xx/Libraries/CMSIS/Device/ST/STM32F30x/Include) nach stm32f3demo/fw/ kopieren File editieren und am Ende vom File #include "stm32_config.h"einfügen system_stm32f30x.c (z.B.
-
Thread
Simulating an ARM code on x86 with qemu
I want to run a simple ARM cortex-M3 program (does nothing, just initializes pins) meant for an STM32F4 on qemu I tried the following srinath@umdLenovoG570:~/qemu-1.4.1/arm-softmmu$ ./qemu-system-arm -cpu cortex-m3 -S -s -singlestep -nographic -m 513 -kernel ~/autoquad/autoquad-read-only/onboardCode
-
Thread
how can I read protect my STM32F4 with eclipse + openOCD JTAG ?
hello forum , I am using Eclipse + openOCD JTAG for downloading and debugging my aplication into STM32F4 after I finish my project I want read protect my code so that it is not stolen question : how can I read protect my STM32F4 with eclipse + openOCD JTAG thank you
Please have a look at this chapters in the reference manual of the stm32F4xxx microcontrollers (RM0090): 3.6.3 Read Protection (RDP) 3.6.1 Description of user option bytes 3.8.3 Flash option key register (FLASH_OPTKEYR) And after that you should read in the documentation
-
Thread
Atomic write - STM32
Hi, I'm currently working with a STM32F4 and try to implement atomic access to variables (e.g. mutexes). Currently, I disable all interrupts before accessing a mutex, and enable them afterwards. Now there exist the LDREX and STREX commands on the STM32, which seem to be perfect for my application. But how do I use them correctly? In the manual it says that an STREX *must* have the same address as the previous LDREX. So I still need to disable interrupts
-
Thread
how can I read protect my STM32F4 with eclipse + openOCD JTAG ?
attachment the screenshot of my Eclipse 1) how can I upgrade this to 0.7.0 ? 2) should I type "stm32f2x lock 0" in the console window ? 3) "power cycle may be required" - you mean power off and then on ? 4) I have stm32f4 - but your answer "stm32f2x" - is the command equal for both f2 and f4
"stm32f2x" - is the command equal > for both f2 and f4 ? > yes Spen
-
Thread
help Yagarto linking 32 bit arm code into CM4
hello forum, a simple math calculation caused my STM32F4 going into hardfault first I asked my problem at ST forum however it turned out that my eclipse + yagarto is the cause of the problem it is linking 32 bit ARM code instead of THUMB code for my STM32F4 uC please have a look at ; https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fcortex%5fmx%5fstm32%2fSTM32F4%
-
Thread
Missing startup file crt0.o
own crt0 or startup file for your project/hardware. In case of my examples you will find a startup_stm32f4xx.s in the M4 example. Best regards, Michael
-
Thread
unknown cpu 'cortex-m0'
Dear all, I have some serious issues with the GCC compiler when using a cortex-M0 (STM32F051) When compiling my code with GCC version 4.6.3, which should support cortex-M0 microcontrollers, I get next messages: Error: unknown cpu `cortex-m0' Error: unrecognized option -mcpu=cortex-m0
-
Thread
confused by various UDP checksum algorithms
hello forum, I am trying to send an UDP packet (contains only "TEST" string) from STM32 to VB6 winsock I can see packets going with wireshark software however winsock data_arrival subroutine never gets called ( if I send from laptop winsock to PC winsock or vice versa UDP packet
printscreen winsock cannot receive this packet I have an USRobotics adsl router between PC and STM32F4
-
Article
MP32F103-Stick: Ein Mini-Mikrocontroller-Board mit USB und bis zu 4MB Datenspeicher
nach Einarbeitung in diese Materie veröffentliche ich hier ein kleines Board mit dem Mikrocontroller STM32F103CBT6 von STMicroelectronics (www.st.com). Dieser Chip hat 128KB Flash, 20KB RAM, SPI, I2C, USART, USB, CAN, ADC und läuft bis 72 MHz. Das Board wird genauso aufgebaut sein wie mein MP2103-Stick
gängigen Betriebssysteme vom Hersteller FTDI-Chip angeboten werden. Funktionsmodell. LINK: Datasheet vom STM32F103CBT6 LINK: st.com-Page vom STM32F103CBT6 LINK: Datasheet und Anwendung vom AT45DBxxx LINK: Datasheet vom TPS62203 Schaltplan. Herzstück des Boards ist der Mikrocontroller STM32F103CBT6 (IC1) mit