-
Article
Diskussion:STM32 Eclipse Installation
Könnte jmd herrausfinden, ob das ganze auch per ST Link mit den Eval Boards möglich ist?
-
Thread
STM32 GDB / OpenOCD Commands and Initialization for Flash and Ram Debugging
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
jim, take a look at the STM32F... example at the yagarto site how to setup a makefile for RAM and FLASH target. try to understand the example (memory maps) before u proceed. look at the jlink command scripts and look into the
-
Thread
STM32F130 and Timer 8
STM32F130 contains two adwanced timers - 1 and 8. But Keil's STM32_Init.c and its Configuration Wizard knows Timer 1 only. After "manual" programming it works but I cannot find its interrupts. How can I
-
Article
CC2500
Design Note DN400 Interfacing CC1100 - CC2500 to the MSP430 Wireless 2.4Ghz primer mit Controller STM32 cc2500 and 8051 cc2500 in uart mode with atmega32 Spectrum Analyzer mit CC2500 und ATmega48 CircuitCellar April 2006 nur noch im Webarchiv zu finden Eagle-Library qfm-trx1-24g.lbr
-
Thread
STM32 stop mode wake via usart
The stm32 MCU wakes up with the internal 8Mhz oscilator and it takes some time to switch on HSE. Due to project-planning issues, does anyone know if it's possible to set a stm32 MCU in stop mode and force
transmitted USART data? see also: https://my.st.com/public/STe2ecommunities/mcu/Lists/ARM%20CortexM3%20STM32/Flat.aspx?RootFolder=%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2FARM%20CortexM3%20STM32%2Fwake%20up%20from%20stop%20mode%20on%20usart%20interrupt%20do%20I%20need%20to%20configure%20EXTI&FolderCTID
-
Thread
Migrating from Keil to GCC
Please convert this project to stm32 workbech project
-
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
exception handling code in binary from pure C code
Hi, I tried out yagarto to generate code for a cortex-M3 (STM32). I got it working, but I was surprised a whole bunch of exception handling code ends up in my binary (the source code is pure C) This happens both with my (complex) program, and the STM3210ETest small example project (yagarto howto page, STM32), if I add this small function: [c] unsigned long long xyz(unsigned long a, unsigned long long b ) { return a/b; } [/c] If i check the library, there are some .ARM.extab/.ARM.exidx sections
-
Thread
Long longs with Yagarto
Hi, I am trying to use 64 bit maths on the STM32 compiled with Yagarto but get the link errors "undefined reference to `__exidx_start'" and "undefined reference to `__exidx_end'". I am using the linker script written by Martin Thomas for the '
-
Thread
EWARM output file format by IAR
format *.out, which is flashed by the EWARM-application via the J-Link on the ARM-devices (e.g. the STM32F10x). Could anybody help me? Arne
-
Thread
Macro for Interrupt Routine
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
-
Article
GPS
Aviation Formulary V1.44 by Ed Williams OpenStreetMap for Primer2 OpenStreetMap Karten auf einem STM32 System ---- 1: Der aufgeprägte Fehlerwert war ohnehin nicht sehr effektiv, da er sich mit etwas erhöhtem Aufwand eliminieren ließ (Differential GPS). 2: Auch die mittlerweile eingeführte "Handy-Ortung
-
Thread
GNU Toolchain: Program working in simulation, but not on target
target, the entry address (PC after reset) and the stackpointer are completely wrong. I am using a STM32F107VC (Cortex-M3). Here is the output of readelf: [code] $ arm-none-eabi-readelf.exe -S project.elf There are 18 section headers, starting at offset 0x3884c: Section Headers: [Nr] Name
Try do transfer the code with the STM32 bootloader, for example with the flash loader demonstrator available from st.com. If it works there is a problem with the programming-settings in the IDE (model, flash-programming-algorithm, memory-regions
-
Thread
Relative Jumps Only
impossible. If any questions are left, feel free to ask. Greetings, Lasse PS: Cortex-M3, STM32F103, Codesourcery GCC
-
Thread
How to stop breaking at reset
I am developing a number of projects for STM32 processors using Eclipse, gcc, gdb and an Olimex ARM-USB-OCD jTag dongle. All works well, but every time I relaunch the project in debug mode the code stops at address 0x08000000. The debug window
this always happens. Furthermore I suspect it is using up one of the 6 breakpoints provided by the STM32, which restricts debugging. I launch gdb with the following commands: target remote localhost:3333 monitor reset init load monitor reset init break main The first breakpoint it should
-
Thread
Firmware self-update
the new firmware (address 0) or a reset or ..... I'm not sure if this is also possible with the STM32 but I think so. I guess you will find also hints on the STM website for this theme. Just my 2 cents 900ss
new firmware (address 0) or a reset or ..... > > I'm not sure if this is also possible with the STM32 but I think so. I > guess you will find also hints on the STM website for this theme. > > Just my 2 cents > 900ss I should note that this is not for STM32, as I didn't mention the micro. It's
-
Thread
how can i debug code in ram ?
So far I have not tested "RAM-debugging" with STM32 controllers so these are just some hints which might be helpful: - In the Makefile there is a variable RUN_MODE which is set to FLASH_RUN in the file in the archiv. Set it to RAM_RUN. The stetting
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
need help with debugging Cortex M3 (STM32) using Eclipse, YAGARTO and J-Link
Hi, I'm trying to set up a development environmet for ARM Cortex M3 (STM32F107) on windows XP. I'm using Eclipse (with Zylin plugin), YAGARTO, gdb and J-Link debugging hw. All of these are new to me and I'm bit confused with all the script and config files. Getting freeRTOS
deasserted during "monitor reset" the clock will be the default clock after reset as mentioned see STM32 reference-guide.
-
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;
-
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 concerning
-
Thread
STM32F107 USART Init --> Rubbish Output
Hi, While configuring my STM32F107's USART, there is a random byte outputted on the tx-pin. A modem that is connected to the serial port gets confused by this random byte and refuses to work. Here's the initialization code:
-
Thread
problem using adapter Olimex tiny-h with OpenOCD v0.4
Hi, I'm trying to get a fresh ARM-USB-Tiny-H adapter to program and debug my STM32-P103 board via OpenOCD v0.4 under Ubuntu 10.04. The configuration works fine with my older ARM-USB-OCD but with the Tiny-H, I always get this error: "Error: unable to set latency timer: 17" My
10.04 on Asus Eee PC (1Gig RAM, BNL Single Core) Interface: Olimex ARM-USB-TINY-H Target: Olimex STM32-P103 Evalboard Any clue what I might be missing? Gregor -- If its not playing with Tux, it's worth nothing.
-
Thread
Troubles hunting down a Hard Fault Exception
Hi, I am having trouble finding the reason for a hard fault exception on my cortex-M3 (STM32F107). I have implemented the exception handler according to the book "The definiteve guide to the ARM Cortex-M3". The assembler part: [code] __asm void HardFault_Handler(void) { IMPORT hard_fault_handler_c
-
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.
-
Article
Datei:ARM USB Test.zip
Beispiel für die Nutzung des USB-Ports an einem STM32F103 als Virtual COM Port
-
Article
Datei:Timer2 STM32F103 1.0.rar
(Beispiel Projekt für die verwendung von Timer 2 mit Interrupt)
-
Thread
Get Binary-Data from Wav-File Locked
they acquired this business-section from Sharp). Check Microchip's AppNotes, ST Microelectronics STM32, STR7, STR9 AppNotes...
-
Thread
Layered OS: DMA Transfer into Filesystem
of which one is to learn PS: even though this question is more a theoretical one, I use C on an STM32 --- German: Hallo, ich programmiere ein Betriebssystem* für mein aktuelles Projekt und hab jetzt ein kleines Problem. Das OS ist "layered", also mit Schichten aufgebaut. Es gibt ein HAL
lernen möchte. PS: Auch wenn das eher eine theoretische Frage ist: Ich programmiere in C für einen STM32
-
Thread
startup_lpc17xx.s GNU
you: http://www.siwawi.arubi.uni-kl.de/avr_projects/arm_projects/arm_memcards/index.html#chanfat_stm32 It's for another controller also with Cortex-M3 core and it should be rather easy to port the linker-script and startup-code to LPC17xx. Decide yourself if it's "simple" enough Maybe someone else
-
Thread
Device drivers and ARM learning
embedded in micros from various manufacturers, like Atmel (AT91SAM, AT92RM), NXP (LPC2xxx), STM (STR9, STM32) and others. On the smaller, ARM7-based variants a full OS can not be run due to memory restrictions mostly. But they are cheap and easily available if you can live with using a RTOS, which allows
-
Thread
Cortex-M3 Fault Handlers
is helpful for you I guess: https://my.st.com/public/STe2ecommunities/mcu/Lists/ARM%20CortexM3%20STM32/Hard%20Fault%20and%20stack%20pushing The guy who give the hint there has written a very good book, may be you know it already: The definitive guide to the ARM Cortex-M3 I can suggest this book
-
Thread
hardfault when using snprintf
snprintf(buffer, sizeof(buffer), "%i", n); and it doesnt work. I end up with hardfault on the stm32 that im using. If i use the below statement it works fine snprintf(buf, sizeof(buf), "hello %s", wld); Im quite new to programing so what could i have missed /Dennis
I tryed you project and i got it built, but i get in to problems when trying to get it in to my stm32. I will try some more on. So please have a look on my files. (propobly its in the .ld file) /Dennis
-
Article
Datei:BusAnalyzer.zip
STM32 BusAnalyzer Source Code
-
Thread
usbprog as OpenOCD-adapter
Hi, I'm going to buy a STM32-Devboard. But I'm still looking out for an JTAG-Adapter, something cheap that'll work with OpenOCD / GDB. I've got an usbprog already (used for AVR-programming). Can I use that with the firmware
-
Thread
Using C++ Exceptions on Winarm 20080331 STM32 Target
HI All, I have recently installed WinARM 20080331 and created a test build for the STM32F103ZE target device. I am able to compile, link, and execute all 'C' code and some 'C++' code correctly. The problem appears when I attempt to use the C++ exception handling mechanism. I have
thinks terminate is called recursively? Here is the code for the library functions: #include <stm32f10x_lib.h> #include <sys/stat.h> //--------------------------------------------------------------------------// char * _sbrk_r (void * reent , unsigned incr) { static char heap_mem [