-
Thread
GCC compiles fuctions without return instruction
Hello. I´m using an ARM from OLIMEX, the STM32-P103 with a Cortex-M3. I use eclipse to write my code in C, arm-none-eabi-gcc to compile, arm-none-eabi-gdb to debug and OpenOCD to interface the microcontroller trough an ARM-USB-OCD(based on FT2232L
-
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
Migrating from Keil to GCC
Please convert this project to stm32 workbech project
-
Thread
ARM linking problem
Hi, I am using a M3 cpu (STM32103) and a gcc toolchain selfmade. Everything work fine if I compile my code for using the internal Flash (for the code) and the internal RAM (for the data). For reason of place I have to use the external
-
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
_sbrk exists, linker can't find it
Hello, I'm trying to compile a program for a stm32f4-discovery board using code sourcery g++ lite and I'm having a peculiar problem. My program uses the "new operator" and I had to implement the _sbrk function. Here is the linker command: arm-none-eabi-g
-
Article
ISP
than 10 kinds of interfaces including JTAG, SWD, SPI, IIC and so on. Programming is supported for: STM8 support(SWIM) STM32 support(ISP/JTAG/SWD) siehe auch Forumbeitrag von Bingo LPC1000 support(ISP/JTAG/SWD) LM3S support(JTAG/SWD) AT91SAM3 support(JTAG/SWD) AT89S5X support(ISP) PSOC1 support(ISSP)
-
Thread
Error on While loop
Hi there :-) Im building on a project with the STM32. So using the GCC V 4.3.0 (WinARM_20080331_testing) I got into the following problem: the usual while( a <50){ ++a; } works just fine! Then one time I used : { ++a; }while( a<50 ); of course
-
Article
WebRadio Clients
Display OpenMCP. AVR ATmega2561 128KB SRAM ENC28J60 VS1011 Shoutcast/ICEcast with infotag supported STM32 Internet Radio. (Chinese) (Chinese) Source Code: ARM Cortex-M3 STM32F10x DM9000A USB Display MP3 + WMA Software Decoding Webradio aus der Codesammlung. AVR ATmega644 VS1053B ENC28J60 MMC/SD-Karte
-
Thread
AD4001 ADC measurement configuration
Analog Devices. In the later course I want to connect the ADC directly with a microcontroller from ST (STM32F767ZI) via SPI. But for test purposes and to see if the hardware setup is correctly, but for now I am using the SDP-H1 Evaluation Board, which is recommended from Analog Devices for the ADC. My
-
Thread
Problem with stdint.h inclusion
my Mac with this tutorial: http://salvatoremenendez.blogspot.com/2011/08/mac-os-eclipse-openocd-stm32-arm-cortex.html which seems quite nice. Everything went fine, I installed Eclipse 3.7.0, OpenOCD 0.4 and yagarto 4.6 but one thing doesn't work. As the tutorial tells on page 3, i use a project
-
Thread
_sbrk error , how to solve for STM32F4 ?
I am trying to compile a C program for STM32F4 microcontroller with yagarto I have run into following error [c]c:/olimexods/yagarto/bin/../lib/gcc/arm-none-eabi/4.5.1/../../../../arm-none-eabi/lib\libg.a(lib_a-sbrkr.o): In function `_
-
Thread
Debugging cortex-m3 in GDB with J-Link causes SIGTRAPs
I had this same problem when moving from the integrated st-link debugger (on my STM32 G-Eval board) to using the J-Link cable Stuck at "SVC 0" I had the debugger configuration check boxes for "halt" and "reset and delay" checked and also had "monitor reset halt" in the initialzation
-
Thread
Debugging with "Black Magic Probe"
Hello everybody, My situation : - Platform : Linux Ubuntu 20.04.2 LTS - Target hardware : STM32F303xD microcontroller based - Black Magic Probe (firmware 1.7.1, hardware version 3) What did I do : - Compiled a minimal program with GCC/GNU - Start gdb (arm-none-eabi-gdb) - In gdb I entered
-
Article
Diskussion:STM32 Eclipse Installation
Könnte jmd herrausfinden, ob das ganze auch per ST Link mit den Eval Boards möglich ist?
-
Article
Beschleunigungssensor
Stromschnittstelle). Beispieltypen. Analog (d.h Auswertung über ADC) Freescale MMA7260 (3,3V, Low G, 3 Achsen) STM LIS302SG (3,3V, Low G, 3 Achsen) Colibrys VS9000.d (high-end 3D Mems Sensor) VTI SCA610 Digital (d.h spricht I2C, SPI) Freescale MMA7455 (3,3V, Low G, 3 Achsen) STM LIS302DL (2.16-3.6V, Low G, 3 Achsen
-
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
HELP..lost datasheet!
I have bougt a stm32 card..yes, China! (the display has on board jtag develop interface), but I have lost data CD..so now I don't know anything about..drivers, schematics etc...there is someone may help me? Many thanks
-
Thread
Advantages of Hard/Soft FPU Compiler Settings
about the "overhead", maybe somebody else can. As far as I can see (I just made a few tests with STM32F4 Cortex M4 and GNU tools) the main advantage of the soft-abi is the possiblity to "mix" libraries which are only available as object code (archives/"a-files"). As long as the library has been compiled
-
Article
Forum-Teilnehmer
Iwan-Martin NYB '82 A-4xxx NYB ov3runity/yahoo.de Homepage DDR/UdSSR-Nostalgie, Platinenfertigung STM8 IRF, ST, Toshiba, Zilog Atmel, TI, Vishay Langzeitsarbeitslos/Krankenstand Theborg0815 K. J. 82 22xxx Mir Bekannt Auch Bekannt Kein Spezialg. PIC16xxx Cortex M3 Epson/Sanyo DB's/ Ings./ User mit Narzisstische Persönlichkeitsstörung. Rentner / Freiwillig Ehrenamtlich Malte Malte M 84 336xx :) :O Software STM32 AVR, ARM, Linux Windows IT siehe auch:. Karte mit mikrocontroller.net Mitgliedern bei Frappr Anderer Forums-Thread zum Alter Wer hat was - Wer hat welche Bauteile bei welcher PLZ
-
Thread
Atmel announces ARM Cortex-M3 based Controllers
different manufacturers have differences, take the frequency for example, nxp lpc1700 is up to 100MHz, ST STM32F103ZE is 72MHz and Atmel AT91SAM3U is 96MHz. Meanwhile, they incorporate various peripherals, although most of them are the same. Before you choose these processors for your project, you shall evaluate
-
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
-
Article
Mikrocontroller
ausführliche Beschreibung der Entscheidungskriterien gibt es auf der Seite Entscheidung Mikrocontroller sowie STM32 für Einsteiger Verbreitete Mikrocontrollerfamilien. 1 Bit MC14500B (Motorola, historisch!) 4 Bit MARC4 (Atmel) SM62 (Epson) 8 Bit MicroConverter® (Analog Devices) AVR (Atmel) PIC (Microchip) 8048
XMCxxxx (Infineon) ARM-Core (im Hobbybereich schwerer beschaffbar) SuperH (Renesas, früher Hitachi) STM32 (STMicroelectronics) ARM Cortex M-Core FR50 (Fujitsu) EFM32 (Energy Micro) ARM Cortex M-Core Links. Podcast CRE67 Mikrocontroller bei Chaosradio Express 36th annual EDN microprocessor/microcontroller
-
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
-
Thread
STM32 and Programming via Boundary Scan
Hello, im currently writing on my B.thesis about boundary scan and its implementation. I`ve found enough informations about the principle of boundary scan and how to test with BS. However, i didnt find a lot informations about using BS to program a µC. Can anyone provide my informations about programming with BS? How efficient is it? Another question that has to be answer is if BS is useful for our products. We have quite a lot analogue devices such as analogue control stages or other complex analogue components. In some cases, we only have 1-2 digital devices (µC,..) on the PCB. Is it useful
-
Thread
Linking libspeeex in coocox
I am compiling speex library for arm-cortex-m4. My development board is stm32f407. Toolchain used to compile speex library is gcc-arm-none-eabi-5_2-2015q4.Same toolchain is used to compile my project. I am compiling my project in coocox ide. Project compilation is successful
-
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
gcc embedded cortex soft / hard float
Thanks in advance. I'm using GCC to compile my Code for STM32F7 ARM Cortex. Unfortunately my result always includes floating point emulation Routines 00200664 00000254 T __aeabi_dmul 00200664 00000254 T __muldf3 00200300 00000276 T __adddf3 00200300
-
Thread
newlib behaviour no printf!
malloc_lock(reent_t *reent)". Any suggestion to fix this printf problem? Here is more information: - cpu STM32 - stack lenght 8k - Flags I used for building the newlib: ./configure --target=${TARGET} --prefix=${prefix} --enable-multilib \ --enable-target-optspace --disable-nls --enable-interwork
-
Thread
Getting PWM counter value STM8S003K3
hello, MCU: STM8S003K3 In my application I using 16MHz of system clock and l create a PWM (in this case PWM_D) of 200Hz generated by 4MHz clock. Therefor my timer's counter value is (4M/200=) 20,000. Also, l have
-
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;
-
Article
AVR TWI
und den zugehörigen Ereignissen ist dem Datenblatt S.182 zu entnehmen. Slave Transmitter Mode. Im STM werden Daten an einen MR gesendet. Um den Controller im STM zu betreiben, müssen TWAR und TWCR wie folgt initialisiert werden. TWAR: Die oberen 7 Bit stellen die Adress dar, an die das TWI antwortet
Statuscode. Mit seiner Hilfe kann das weitere Vorgehen festgelegt werden. Ein Controller kann auch in den STM gelangen, wenn er die Hoheit auf dem Bus an einen anderen Master verliert (0xB0). Wird TWEA während eines Transfers gesetzt, wird das aktuelle Byte noch fertig gesendet und Status 0xC0 oder 0xC8 tritt
-
Thread
STM32 UCOS/II GCC port
Hi All, We have use UCOS/II for different CPU, but now our customer are using an STM32 CPU on their new design. I would like to know if the GCC port has been done be someone else that Micrium ? The only port that I have seen on micrium is the IAR one. Regards Jonathan
-
Thread
STM32F401RE GPIO
Hi I'm asking for an assembly code for GPIO that have three LED with four switches .. each switch opens each LED.. I tried my code but only make s all the LED light up without the toggle..
-
Article
MP3
und -Decoder (nur Binary), Filtern, Converter, Equalizer etc, incl. Dokumentation zur Verwendung auf STM32F4 und STM32F7. Für den Download ist eine Registrierung bei ST erforderlich: X-Cube-AUDIO OGG Vorbis-Decoder in Software. Für OGG Vorbis existiert mit Tremor ein u.a. für ARM optimierter Decoder, der