-
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
Induction-Heating-Circuit not drawing any Current
IGBT´s fast which results in less switching losses for IGBT´s. For my induction heater, i use a STM32 for controlling and a MCP14E10 for gate driving with a GDT. The MCP14E10 can deliver up to 3 A.
-
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
-
Article
Forum-Teilnehmer
layouten Gymnasiast Noonien Ferdinand Stehle 88 26xxx noonien at freakfiles.de freakfiles.de AVR mega32, mega8515 SciFi linuxverfechter Gymnasiast Esko Alexander Schmidt BJ 90xxx XxX klick mich AVR XxX XxX Daisho Jens B. 71 58XXX funktioniert sowieso - In-Circuit-Test,Löttechnik HP3070-Serie II Fehler
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
-
Article
CH32V003
und Extras CH32V003 Minimales Testboard CH32 /RiscV Debugger Gehaeuse PicoMon für CH32V003 oder STM32F0xx CH32V003 Supercluster Neuronales Netzwerke auf dem CH32V003 Vier Gewinnt für CH32V003 und Linux-Toolchain HT16K33A mit CH32V003 CH32V003: serieller Bootloader CH32V003 Instruction Execution Timing CH32v003 PWM & Timer Probleme CH32V003 RC-Oscillator / Jitter Problem: CH32V003 läst sich nicht (mehr) flashen CH32V003F4P6 verliert
-
Thread
Geting PC register value
Hello, I use gcc to compile my code for STM32F407VGT6. I am trying to print the value of PC register and in order to do this I use this code: unsigned int pc_value; __asm__("mov %%R15,%0" : "=r" (pc_value)); My application crashes when
-
Thread
clear the receive buffer
I'm using the HAL_UART_Receive_IT function on stm32f303re to recieve data. After each use I want to delete the content of the receive buffer so that the next data that will arrive will start at the first index of the array. Is there a function to delete
-
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
USB to I2S adapter for audio transceiver
Moin, Nothing out-of-the-box, but it somehow looks for me like it might be doable with some STM32 µC e.g. by combining the Application Notes AN5027 and AN4711. Gruss WK
-
Thread
Hard Fault Error
Hello There, I'm currently trying to program an P-Nucleo-WB55MB1355C with the IDE STm32Cube. Now I've ran a few examples and they all worked fine but when I try to create my own projekt and debug it. The program immediately jumps into the Hard Fault Handler, it doesn't even get to the
-
Article
PIC32
PIC32 ist eine 2007 vorgestellte Mikrocontrollerfamilie von Microchip. Mit den PIC- oder dsPIC-Mikrocontrollern vom selben Hersteller hat sie bis auf den Namen nichts gemeinsam. Der PIC32 basiert auf einem
bei manchen Modellen einen DMA-Controller, Crypto-Engine und/oder eine FPU. Der PIC32 ist mit einem CORTEX-M3-Kern vergleichbar und so mit Mikrocontrollern wie dem STM32F10x oder der Stellaris-Familie von Texas Instruments (vormals Luminary). Alle diese Kontroller besitzen im Gegensatz
-
Thread
Faster microcontroller
microcontroller than the ATmega2560 to solve this? I'm embedding it into a 3D printed case. I thought about the STM32H7 (https://www.aliexpress.com/item/4000065515487.html). I'm not into PCB-designing, so it should be an development board, similar to the RobotDyn. I attached an image of my box. More about this
-
Thread
Image sensor. high data rate
sensor, is sending it data on 4 Output with 720Mbps. As far as I know, typical microcontroller, example STM32F334R8, aren't fast enought to receive the data. I have the possibility to save the raw data first and work in a slower speed with the data later. My question is, does anybody have an idea how to
-
Article
Speicher
Stromaufnahme der Schaltung Beispiel: Verbraucher: ATtiny2313 @ 1 MHz, 5 V, ca. 0,9 mA Datensatz: 32 Byte Schreibdauer / Byte: ca. 3,4 ms Wir brauchen also ca. 32×3,4 ms = 108,8 ms, um die Daten im EEPROM zu speichern. Wenn wir den AVR mit 5 V betreiben und zulassen, dass die Spannung bis auf 3 V sinkt
Nutzung irgendwann leer ist und nicht mehr als Backup dienen kann. Einige Mikrocontroller, namentlich STM32F103, bieten einen gesonderten Batterieanschluss U BAT , der dem Anwender sowohl die Diodenentkopplung als auch die Wurstelei mit der Zustandsmeldung erspart. Leider drehen sich die meisten Errata
-
Thread
arm-elf-gcc path setting in eclipse
Hey, I am linux user. I am also getting the same error while configuring STM32 with Eclipse Classic /bin/sh: arm-elf-gcc: command not found make: *** [main.o] Error 127 Could you please let me know how to source the arm-elf-gcc compiler in linux -- Harsh
-
Thread
Hardware-independent µC core?
Hi, the problem: my code wants to run on a couple disparate microcontrollers (ESP8266, "small" STM32, AVR AtMega). Besides the usual digital I/O which e.g. Arduino supports cross-platform I need stuff like port interrupts, timer interrupts, and letting the controller sleep until something happens
-
Thread
Micros that ship with boot loaders and flash serially
Many STM32 devices can be programmed via CAN. All of them can be programmed via UART (as far as I know).
-
Thread
how can I get rid of impure_ptr ? Locked
hello dear forum , I am trying to compile a C program for STM32F407 microcontroller with OlimexODS ( Eclipse + yagarto compiler ) I get the error; undefined reference to `_impure_ptr' there is no function "impure_ptr" in my whole project the error
-
Thread
General Questions
into your controller datasheet. E.g. the RM0008 Reference manual explains such things for the STM32. HTH, Registereqw
-
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.
-
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
_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
-
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
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
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
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
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
-
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
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
Strange GDB behaviour with Cortex-M3
Now I encounter the same problem with STM32F107. I cope with this problem by removing breakpoint after reach these particular breakpoint, but this is not solution.
-
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
-
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
openocd target program issue
objcopy OD = $(CROSS_COMPILE)objdump CFLAGS = -I./ -c -fno-common -O0 -g AFLAGS = -ahls -mapcs-32 -o crt.o LFLAGS = -Map main.map -Tdemo_at91sam7_blink_ram.cmd CPFLAGS = --output-target=binary ODFLAGS = -x --syms OBJECTS = crt.o main.o timerisr.o timersetup.o isrsupport.o lowlevelinit.o blinker.o
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
Yagarto GCC and Cortex M3
Wno-cast-qual -Wno-missing-prototypes -Wno-strict-prototypes -Wno-missing-declarations L_FLAGS = -T stm32f10x_md.ld \ -nostartfiles -Wl,--gc-sections \ -lc -lm -lgcc \ -mfpu=vfp -msoft-float [/code] As you can see, I tried -mfpu=vfp -msoft-float, but it did not work