-
Article
Datei:Clockmampf.jpg
wordclock auf stm32f103 basis
-
Thread
STM32 Changing PWM Duty Cycle in interrupt handler
aSma>> wrote in post #4970691: > The stm32f103 timer has only 16 bits. I assumed I needed to provide my data as uint32_t as the example from the SDK ( /STM32Cube_FW_F1_V1.4.0/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/Src/main.c ) declares
stm32f103 has 20kb RAM. 8 ch * 64 pixel * 24bits/pixel * 1/8 byte/bits = 1.54kb With a 16bit timer you need about 3kb.
-
Article
Datei:STM32F103-Bootloader-2.6.0.png
Ab Version 2.6.0
-
Article
Datei:ESP-12F-an-WC-STM32F103-2.6.0.png
Ab Version 2.6.0
-
Article
Datei:Stm32f103c8t6 blinky.bin
blinky on PC13
-
Article
Datei:STM32F103-Bootloader.png
Anschluss ESP8266 an BOOT0
-
Article
Datei:Wc24h-STM32F103.hex
Version 1.6.1
-
Article
Datei:Wc12h-STM32F103.hex
Version 1.6.1
-
Article
Datei:WordClock24h-an-STM32F103-C8T6.png
Anschluss-Skizze WordClock an STM32F103 Mini Development Board
-
Article
STM32 jump to bootloader
app.c. app.c ohne fwlib/HAL. Beispiel. Der folgende Code-Ausschnitt zeigt die ISR des USART1 eines STM32F103. Der Code sammelt alle empfangenen Bytes und zählt mit. Sobald 32bytes oder ein '\r' empfangen wurden, wird der String verglichen. Ist dieser "GBL\r", springt er in den Bootloader. Auf dem Programmier-Computer
ein kurzes Python-Script, welches "GBL\r" sendet und danach wird direkt das Flash-Update-Tool wie stm32flash aufgerufen. So entfällt jegliches Bedienen am Gerät. Das Python-Script heisst gbl.py, danach der Aufruf zum flashen: $ ./gbl.py && stm32flash -b 921600 -w output/main.bin -g 0x0 /dev/ttyUSB0
-
Article
Datei:STM32F103C8T6 MiniDevBoard Schematic.png
STM32F103C8T6 MiniDevBoard
-
Article
Datei:STM32F103C8T6.png
STM32F103C8T6 Mini Development Board
-
Article
STM32 Eclipse Installation
Olimex ARM-USB-OCD FW-Lib 3.4.0 von ST Start-Up Code als C-Datei, keine einzige Assembler-Datei Für STM32F103RB (128K Flash) wegen Initialisierung Stack-Pointer Nutzt make Tool, muss aber zu gmake umbenannt werden, ist weiter unten beschrieben Installation. Installation von Eclipse. Damit Eclipse gestartet
OpenOCD und LD Linker-Datei src: die eigenen Quellcodes makefile Das Projekt wurde geschrieben für den STM32F103RC (256K Flash/48K RAM), läuft aber auch mit einem STM32F103xB da der Stack-Pointer auf 20K initialisiert wird. Details stehen in der Datei "src/stm32f10x_vector.c", Zeile 29,30: Damit wird der
-
Article
STM32F10x Standard Peripherals Library
=Allgemeines= Die STM32F10x Standard Peripherals Library ist eine umfangreiche komfortable C-Bibliothek, die den Zugriff auf alle Funktionen der STM32F10x Familie erlaubt. Dabei ist für die verschiedenen Peripheriekomponenten
µC Types (zb. STM32F103xC/D/E) Pinout des µC und alternative Verwendbarkeit der PINs Download from Documents and files for STM32F family Die ST Standard Peripheral Lib in CrossWorks. Aufgrund mehrfacher Anfragen, hier
-
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
-
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
-
Thread
SimpleSerialTerminal
codes of the keyboard to the mapping table. The key scan codes were not straight from 112...123 for F1..F12, as can be seen in the attachment. I take the requirement for a more condensed representation in the monitor for decimal and Hex into account, thanks for your comment, Moby ;-) The requirements
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
[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
eine Tabelle erstellen und ggf. ein Artikel davon machen. Best Regards, Schöne Grüße, Albert F. [code] <device type="STM32F103 (High Density)" coretype="CM3"> <core_id>0x1ba01477</core_id> <chip_id>0x414</chip_id> <flash_size_reg>0x1FFFF7E0</flash_size_reg> <flash_int_reg
-
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
-
Article
SportTracker
dafür selbstgemacht ;-)). Darüber hinaus ist das Projekt eine Spielwiese um verschiedene Dinge mit dem STM32 Controller auszuprobieren: Erste Erfahrungen mit einem RTOS (in meinem Fall µC/OS II) Speichern von Daten auf SD-Karte mit FAT Dateisystem Ansteuerung von TFT-Displays Auswertung von GPS-Daten Batteriebetrieb
GPX-Datei Entprellen von Tasten Hardware. Im Moment läuft alles noch auf einem Keil Starterkit mit STM32F103ZE Controller. D.h. ein Schaltplan mit Layout ist noch nicht erstellt. Controller Pinning. Der Controller des SportTrackers ist aktuell wie folgt beschaltet: Pin Nr. Pin Port Config Funktion 70
-
Thread
STM32 GCC problem writing to flash bank 2
the code in the second sector. I was able to debug this code (using optimization level 0) on an STM32F103xD (which has 384K of flash) when unoptimized code was about 160K. However, the code has now grown to 220K unoptimized, 130K at optimization level 's'. Therefore I have been able to finish debugging
flash upgrade functionality on optimized code. To allow for future growth I have upgraded to an STM32F103xG, which has 1M of flash configured in two banks. I have been able to continue debugging, and I can run the flash upgrade into either bank when in debug mode. However, if I build the code at
-
Thread
C++ STL and STM32
Hi, I have a problem with the C++ STL on the STM32. The following code works as expected on my hardware (chinese board with STM32F103..) [c] int main(void) { char Line[512]; std::list<std::string> *pHistory; pHistory = new std::list<
Hello Hase, I agree that I strain the stack a bit, but out of the 64k RAM in the STM32, I have less than 8k for .data and .bss sections. The remaining 56k are used for heap and stack. The initial stack pointer is set to the end of RAM and the heap grows upwards from the end of the .
-
Thread
Problem with gnu ld and STM32
Hello, I'm trying to make anSTM32F103 work with the Code Sourcery tool chain. Using the attached ld command file, I get these errors: Invoking: Cross GCC Linker gcc -L"/home/Tommi/workspace/FWLib/Release" -Wl,-T ../SRC/STM32_Lnk.cmd -o "LED01" ./SRC/core_cm3.o ./SRC/main.o ./SRC/startup_stm32f10x_hd.o ./SRC/stm32f10x_it.o -lFWLib collect2: ld terminated with signal 11 [Segmentation fault] /home/Tommi/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_GNU_Linux/bin/../lib/gcc/arm-none-linux-gnueabi
-
Thread
STM32 and SMBus
Hello everyone, I am trying to communicate with a MAX11068 from a STM32F103 over SMBus, but it does not work as expected. Has anybody worked with the SMBus and would be so kind to provide sample code? Michael
-
Article
Benutzer:Avr-frickler
Ubuntu - ARM-GCC Toolchain unter Ubuntu bauen. Utilities - Linux arm-utilities - Debug/Flash-Tools für STM32-Boards mit STLink z.B. STM32F4-Discovery. stm32flash - Flash-Tool für STM32-Boards mit Bootloader (serielle Schnittstelle z.B. ET-STM32F103. Eclipse Plugin - Eclipse Plugin für diverse Toolchains. Artikel auf µC.net STM32_Eclipse_Installation - STM32 Toolchain in Eclipse integrieren. (Windows) STM32F10x_Standard_Peripherals_Library - Einstieg in die Programmierung.
-
Article
BusAnalyzer
better. Maybe Qt should be considered as alternative. Hardware (Prototype). Interfacing FT2232H and STM32F103. Both devices are connected using their USART interfaces. A partly handshake is required because otherwise the FT2232H sporadically seems to loose some bytes. The STM32F103 provides 3 USARTs.
details for the bus powered configuration can be found in the FT2232H Mini Module datasheet. Interfacing STM32F103 and a CAN Transceiver. The CAN interface of the STM32F103 consists of CANRX and CANTX. Default pin configuration: PA11/EXT1-1, PA12/EXT1-3 Remapped pin configuration: PB8/EXT1-16, PB9/EXT1-17
-
Thread
yagarto example project for STM32F100C4 chip
Hello, I'm new user of the yagarto tool-chain. The example project for STM32F103 works well for me. I'm going to move to simpler target chip STM32F100C4. It should be the Low density Value Line device (STM32F10X_LD_VL). I'm not sure how to setup-up project or how to modify linker script and start-up code for that chip. Please can someone send me a example project for STM32F100C4 for yagarto or any advice how to do it please?
-
Thread
Helios GDB hardware debugging & JLink
() at src/vectors_stm32f10x_md.c:173 173 void HardFault_Handler (void) { while(1); } (gdb) #### and log of segger jlink gdb server: Select auto JTAG speed (2000 kHz) Writing 0x20000000 @ address 0xE000ED08 Downloading
0xFFFFFFF8 (Data = 0xBF00E7FE) So gdb and segger jlink appears to work correctly. (the yagarto STM32Test.zip may not be perfect for my STM32F103RBT6) I think my problem is with helios to gdb interface.
-
Article
Datei:Stm32F103xc.png
STM32F103xC-E
-
Thread
openocd target program issue
programming. then I start the demon with openocd.exe -s c:/gccfd/openocd/share/openocd/scripts -f interface/olimex-arm-usb-tiny-h.cfg -f C:\gccfd\projects\sam9-l9260-blink\project.cfg -d but when I use command "mdw 0x0 256" to check memory content at address 0x0, I found the content does not
also watch/modify openOCD commands/responses by "telnet localhost 4444" command. For target chip STM32F103, for me works: target remote localhost:3333 monitor soft_reset_halt monitor soft_reset_halt monitor soft_reset_halt monitor reset halt load monitor soft_reset_halt break main continue
-
Thread
STM32 & ADC AD7699: fading SPI MISO level
Hey guys, I'm facing a problem working with an STM32F103RET6 and an ADC AD7699 (datasheet: http://www.analog.com/static/imported-files/data_sheets/AD7699.pdf). I thought maybe some of you might have similar experiences and could give me a hint. As
-
Thread
STM32 GDB / OpenOCD Commands and Initialization for Flash and Ram Debugging
incorporated in a make file for flash vs ram building for this mcu, if this matters of course. mcu: STM32F103VET6 I am using Eclipse Helios with Zylin Embedded CDT, Yagarto Tools and Bins, OpenOCD .4, and have an Olimex ARM-USB-OCD-H Jtag adapter. I have already configured the ARM-USB-OCD and added
initializing OpenOCD I used the following command in Eclipse (The board config file references the stm32 mcu and was found in the OpenOCD installation as an example): "openocd -f interface/olimex-arm-usb-ocd-h.cfg -f board/stm32f10x_128k_eval.cfg". When I run this within Eclipse everything appears
-
Thread
Problems with Helix MP3 Decoder
for "xmp3_UnpackFrameHeader" [referenced from C:\IAR Systems\Embedded Workbench 5.4\arm\examples\ST\STM32F10x\ IAR-STM32F103ZE-SK\ARMP3\Flash Debug\Obj\mp3dec.o] Can someone give me help and tell me where can be the problem? Thank's everybody. Excuse me for my english, it's very bad.
-
Article
Datei:Stm32 aufbau.jpg
STM32F103xC STM32F103xD STM32F103xE High-density performance line ARM-based 32-bit MCU
-
Thread
Macro for Interrupt Routine
think this is also wrong.. Any ideas? Thx Kenan p.s. I'm working with codesourcery and the stm32f103
-
Thread
Interrupt handler in C++ File?!
Hi guy's I have the following problem. I'm using the STM32F103RB and Sourcery G++ Lite 2008q1-126 and I try to implement the Interrupt Handlers in a C++ File. I'm using C and C++ Code in my project and if I implement the handlers in a C File everything
You cannot do that as part of a class. I don't know the STM32, but my guess is that interrupt vectors are known by their global name, so they cannot be established using C++ name mangling. This also implies they cannot be hidden with in a class (class members
-
Thread
Relative Jumps Only
impossible. If any questions are left, feel free to ask. Greetings, Lasse PS: Cortex-M3, STM32F103, Codesourcery GCC
a register is reserved for a base address - but details are missing. Maybe "fPIC" works for certain other architectures only. So if anybody knows something....? Axel
-
Thread
how can i debug code in ram ?
Sourcery G++ Lite Edition ,openocd and jlink on ubuntu 10.04.for the flash run,it work well.the MCU is STM32F103VE I download the start up code and link script from the web.I modify the link script to something like this: .isr_vector : { . = ALIGN(4); KEEP(*(.isr_vector))
I did test with STM32F103C8T6 ($3 chinese board, known as blue pill). The only thing I had to do is to write my linker script to put everything in RAM, then: 1. Put the jumpers at BOOT0 & BOOT1 pins to boot from RAM.
-
Thread
ARM fixed point vs. floating point
Hi, I'm creating application on ARM STM32F103VE. I have to multiply several matrix in very short time. I'm thinking about using Fixed Point, to speed up my calculations. So that I wrote union: typedef union fxpntu{ int full; struct fxpnts{ int_fast32_t fraction : 31; int_fast32_t integer : 1; } part; } fxpnt_t; My Fixed Point representation is Q1.31. Than, I created multiplying function: /* Return: c = a * b */ fxpnt_t fxmul
-
Thread
Matrix/vector operations on a Cortex™-M3
Hello everybody! I am using a Cortex™-M3 based MCU (STM32F103VET6) and the gcc arm compiler for some project. As there will a lot of matrix/vector operations come along the way I would like to know if anybody has experience with maybe existing libraries
-
Thread
Eclipse & OpenOCD: AHBAP; Sticky und Mem Read Error
Hi everyone, I'm using the STM32-P103 board with Eclipse and oocd 0.2.0. my problem is that I can't use debugging. I use this for OpenOCD: gdb_port 3333 # Work-area size (RAM size) = 20kB for STM32F103RB device set
You can look here: http://www.mikrocontroller.net/articles/STM32#Demo-Projekte There is a link to "ChaN's FAT-Module with STM32 SPI" In this project is a complete Eclipse configurationwhere is working fine.