The stm32 tag has no wiki summary.
2
votes
2answers
98 views
What does 0x0800f298 in ?? () mean?
I'm using GDB to debug a program for a Cortex M3. In the functions where the program crashes, when I execute line by line (using n), I eventually get:
(gdb) n
0x0800f498 in ?? ()
now if I ...
3
votes
2answers
204 views
Using a GPIO pin as a power source
I have an STM32F2 (reference manual here) which is connected to a GPS receiver through 5 pins. One of these pins is a power supply pin for the GPS.
All pins on the micro-controller are GPIO pins that ...
4
votes
1answer
146 views
+50
STM32F2: Makefile, linker script and start-up file combination without commercial IDE
I have been working with an STM32F2 (specifically, the STM32F217IGH6 on a development board) for about two months. By far my biggest problem had to do with the "setup", which includes makefile, linker ...
1
vote
1answer
67 views
clearing lockup ater double fault
I'm debugging an STM32 with gdb. For some reason my program is crash, and gdb gives the following.
Note: automatically using hardware breakpoints for read-only
addresses.
stm32f2xxx.cpu -- ...
1
vote
2answers
68 views
Error when compiling start-up file on STM32
I am attempting to provide custom interrupt handlers for my Cortex M3 (reference manual here). ST kindly provides a standard library, which has various startup files all called "startup_stm32f2xx.s". ...
4
votes
1answer
92 views
Define callbacks for interrupts
I am working with an STM32 and I am a bit confused about interrupts, specifically the Nested Vectored Interrupts (NVI). As I understand there is a NVI vector (called NVIC) where each interrupt has a ...
0
votes
4answers
126 views
Do you know how to use USART on STM32?
I've been doing USART on STM32 and got this at putty:
Actually I want to display :
printf("* Thank you for using the board");
Do you have idea why ?
0
votes
0answers
26 views
How to use uCGUI with Keil?
Do any of you have an experience on developing an UI using uCGUI with STM32 microcontroller ?
Any informations will be very appreciated,
Thanks
2
votes
1answer
186 views
Microprocessor controlling SRAM through an FPGA
I have an ARM Cortex 3M (reference manual here) connected through the FSMC (Flexible Static Memory Controller) to a Spartan 6 FPGA. In turn, the Spartan 6 is connected to some external SRAM.
I need ...
1
vote
3answers
263 views
How to enable serial emulation through USB in a STM32F4 Discovery board?
I've been searching for this and still haven't found anything about it. This board connects directly to the host PC with a USB bus. Is it possible to emulate a serial port in this case?
0
votes
1answer
186 views
STM32F4 Discovery board and HC-SR04
I've connected the sensor this way, from Sensor to Board:
VCC -> 5V
GND -> GND
Trigger -> PD15 ( same as blue led )
Echo -> PA0 ( same as user button )
My C program send the trigger, reads the ...
2
votes
3answers
161 views
ST-LINK is serial communication possible?
I am using STM32F4 discovery board and Atollic TrueStudio for ARM Lite 3
I would like to pass some debugging data to PC using printf and I can't find a way to do it through STLink. Is it even ...
1
vote
2answers
211 views
Basic timings with an STM32
I am looking to make very basic timings on an STM32. For example, I would like to program my STM32 to output bytes on the UART for 1 minute. What clock/timer should I use?
Looking through the ...
0
votes
2answers
88 views
Testing an Ethernet peripheral
I have an Ethernet peripheral (manual here) controlled by an STM32. I have to test that the Ethernet peripheral works correctly right after the board is manufactured. Conveniently, there are three ...
1
vote
1answer
86 views
What is the STM32 event EVENTOUT?
In the manual of my STM32, one of the GPIO Alternate Functions (namely AF15, see page 138) is called EVENTOUT. At no point is the event defined, or a use case given.
What is the EVENTOUT alternate ...