-
Thread
GCC 4.3
\src\stm32f10x_spi.o obj\Debug\lib\src\stm32f10x_systick.o obj\Debug\lib\src\stm32f10x_tim.o obj\Debug\lib\src\stm32f10x_tim1.o obj\Debug\lib\src\stm32f10x_usart.o obj\Debug\lib\src\stm32f10x_vector.o obj\
\src\stm32f10x_systick.o obj\Debug\lib\src\stm32f10x_tim.o obj\Debug\lib\src\stm32f10x_tim1.o obj\Debug\lib\src\stm32f10x_usart.o obj\Debug\lib\src\stm32f10x_vector.o obj\Debug\lib\src\stm32f10x_wwdg.o obj
-
Thread
arm-none-eabi-ld problem (resulting main.bin is 400MB)
MeasureMod.o I2CCom.o USARTCom.o stm32f10x_it.o stm32.a LIBOBJECTS = core_cm3.o stm32f10x_adc.o stm32f10x_dma.o stm32f10x_i2c.o stm32f10x_iwdg.o stm32f10x_pwr.o stm32f10x_tim.o stm32f10x_exti.o stm32f10x_gpio.o misc.o stm32f10x_rcc.o stm32f10x_usart.o stm32_eval.o system_stm32f10x.o LIBPATH = C:/gccfd/CodeSourcery/arm-none-eabi/lib/thumb CMDFILE = stm3210e_eval_flash.cmd STARTUP_FILE = startup_stm32f10x_ld-Mod > And here is the linker file: ENTRY
-
Thread
help! memcpy causes hardfault on STM32F4 Locked
../ # Objects built from C source files C_OBJECTS = $(OBJ)/main.o C_OBJECTS += $(OBJ)/system_stm32f4xx.o C_OBJECTS += $(OBJ)/stm32f4xx_gpio.o C_OBJECTS += $(OBJ)/stm32f4xx_rcc.o C_OBJECTS += $(OBJ)/stm32f4xx_tim.o C_OBJECTS += $(OBJ)/stm32f4xx_it.o C_OBJECTS += $(OBJ)/stm32f4xx_syscfg.o C_OBJECTS
CFLAGS) -o $(OBJ)/syscall.o syscall.c @ echo ".compiling libraries" $(CC) $(CFLAGS) -o $(OBJ)/stm32f4xx_tim.o $(LIBRARYSRC)/stm32f4xx_tim.c $(CC) $(CFLAGS) -o $(OBJ)/stm32f4xx_gpio.o $(LIBRARYSRC)/stm32f4xx_gpio.c $(CC) $(CFLAGS) -o $(OBJ)/stm32f4xx_rcc.o $(LIBRARYSRC)/stm32f4xx_rcc.c
-
Thread
WinARM support for STM32
I want to ask, if somebody use WinARM for the STM32 Cortex-M3? And I want to ask Martin Thomas about his plans about including working examples or, at least, examples of Makefile and *.ld files for the STM32 series microcontrollers in WinARM. I tried
Varuzhan Danielyan wrote: > I want to ask, if somebody use WinARM for the STM32 Cortex-M3? > And I want to ask Martin Thomas about his plans about including > working examples or, at least, examples of Makefile and *.ld files > for the STM32 series microcontrollers in WinARM
-
Thread
I wrote a tutorial for STM32C5 without HAL
and the new Cube MX2. Neither is backward compatible. Arduino does not yet support the STM32C5. If someone is searching for instructions *not* using Cube HAL, then my private (non commercial) homepage might help: https://stefanfrings.de/stm32/stm32c5.html Klick on the "translate"
The STM32C5 is now supported by Arduino. See https://github.com/stm32duino/Arduino_Core_STM32#generic-stm32c5-boards
-
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.
-
Thread
STM32 Changing PWM Duty Cycle in interrupt handler
source. http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32cube-embedded-software/stm32cubef1.html aSma>> wrote in post #4970957: > Before think about multiple channels and timers you need more RAM. As said, I didn't look into
#4971128: > http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32cube-embedded-software/stm32cubef1.htm I won't registrate me there. > As said, I didn't look into DMA before as my initial analysis was it > would need too much RAM.
-
Thread
how can I read protect my STM32F4 with eclipse + openOCD JTAG ?
attachment the screenshot of my Eclipse 1) how can I upgrade this to 0.7.0 ? 2) should I type "stm32f2x lock 0" in the console window ? 3) "power cycle may be required" - you mean power off and then on ? 4) I have stm32f4 - but your answer "stm32f2x" - is the command equal for both f2 and f4
"stm32f2x" - is the command equal > for both f2 and f4 ? > yes Spen
-
Thread
Ds18b20 Problem
M. wrote in post #5504368: > I tried with a scope to check the communication Between what? The STM32 and the DS18b20? > but can´t find > indication that the communication is running. Is the STM32 running as expected? Then at least you should see a one-wire reset pulse on the data line..
If the problem still exists, the description in the file STM32_CunbeMX_DS18B20.pdf of the appendix may help.
-
Thread
Cool: STM32 CubeMX for Linux
It seems not (yet) being official announced by STM, but I've just discovered that the actual STM32 CubeMX V5.0.1 package contains an installer for Linux... https://www.st.com/en/ecosystems/stm32cube.html#overview ...and it works!
manually unpacked and started. It is even mentioned on https://www.mikrocontroller.net/articles/STM32#STM32CubeMX
-
Thread
First try STM32F4-Discovery
./cmsis/device/system_stm32f4xx.c.bak ./src/syscalls.c.bak ./src/main.c.ba k rm -f ./cmsis/device/system_stm32f4xx.lst ./src/syscalls.lst ./src/main.lst rm -f ./cmsis/device/startup_stm32f4xx.s.bak rm -f ./cmsis/device/startup_stm32f4xx.lst
n-sections -fdata-sections -Wa,-ahlms=cmsis/device/system_stm32f4xx.lst -DRUN_ FROM_FLASH=0 -DVECT_TAB_SRAM -MD -MP -MF .dep/system_stm32f4xx.o.d -I . -I./inc -I./cmsis/core -I./cmsis/device cmsis/device/system_stm32f4xx.c -o cmsis/device/ system_stm32f4xx.o
-
Thread
Questions about CMSIS prograsmming for STM32F407
like when you make a Project without IDE ? What is with the Startup File where can i get it for STM32F407 ? Thanks in advance gizmo
Forgot the link: http://www.st.com/en/embedded-software/stm32-standard-peripheral-libraries.html?querycriteria=productId=LN1939
-
Thread
USART1 issue with a STM32F030R8 Nucleo Board
MAIN_H /* Includes ------------------------------------------------------------------*/ #include "stm32f0xx.h" #include "stm32f0xx_rcc.h" #include "stm32f0xx_it.h" #include "stm32f0xx_gpio.h" #include "stm32f0xx_rtc.h" #include "stm32f0xx_nucleo.h" #include "stm32f0xx_conf.h" #include "stm32f0xx_usart.h
Hey, Benoit wrote in post #3658640: > GPIO_PinAFConfig(GPIOA, GPIO_Pin_2, GPIO_AF_0); STM32F030R8 hasn't mapped USART1 on PA2, please read the datasheet page 31. USART1 is available on STM32F030x6 and STM32F030x4 devices only. Benoit wrote in post #3658640: > GPIO_PinAFConfig(GPIOA,
-
Thread
Yagarto: Cortex-m3 linked ok, Cortex-m0 not
I have a lot of projects with stm32f1xx CPUs (cortex-m3), all is good with them. Now I decided to make project with stm32f051 (cortex-mo), and linker works with errors. I have several cpp files (task is to light-up LED), they are
done. I use Yagarto with GCC v.4.7.2. Here is output: arm-none-eabi-g++ -T"D:\Nute\_tmp_\f0test\STM32F051R8.ld" -Xlinker --gc-sections -Wl,-Map,f0test.map -mcpu=cortex-m0 -mthumb -o "f0test.elf" ./src/main.o ./lib/src/stm32f0xx_rcc.o ./lib/startup_stm32f0xx.o ./lib/system_stm32f0xx.o ./kl_lib/kl_lib_f0
-
Thread
ARM Cortex M7 64 bits floating point
Cortex M7 64 bits floating point". There are only ARM Cortex M7 with ARM FPv4 (for example some STM32F7 Devices) and ARM Cortex M7 with ARM FPv5 (for example some STM32F7 or STM32H7 devices) extension. For Options of gcc look at gcc docs, of course: https://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html
bits: > > https://www.microchip.com/design-centers/32-bit/sam-32-bit-mcus/sam-s-mcus No the STM32H7 Series also have the FPv5 extension for double precision and is faster than the Atmel. http://www.st.com/en/microcontrollers/stm32h7-series.html?querycriteria=productId=SS1951 In the slower STM32F7
-
Thread
STM32 ADC & DMA corrupted Values
Are you using an STMF103C8xx or STM32F103CBxx? I am asking because the web is full of negative reports about fake products with wrong data transferred by DMA.
... i have to check. whats the outcome if there is an error? >Are you using an STMF103C8xx or STM32F103CBxx? I am asking because the >web is full of negative reports about fake products with wrong data >transferred by DMA. the mcus are from the STM32F0xx and STM32G4xx Family. they should be
-
Thread
Problems with Code sourcery G++ , audio playback file
Dear All, Greetings !!! I am trying to build a code example given with the STM32F4 discovery board and am getting the following problems in the console/ after build "D:/eclipse_indigo/stm32f4discovery_fw/STM32F4-Discovery_FW_V1.1.0/Project/Audio_playback_and_record/inc/usb_conf.h
STM library, somthing like usbconf.h. Further information should be available in the manual of the STM32F-USB-Library. The STM32-forum at st.com might be a better place to ask such target-specific questions. Hope this helps, Martin
-
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
STM32F0 ADC input noise investigations
input voltage stable during this time. References ---------- [1]: RM0091: Reference Manual, STM32F05xxx/06xxx advanced ARM-based 32-bit MCUs (http://www.st.com/web/en/resource/technical/document/reference_manual/DM00031936.pdf) [2] STM32F051x4 STM32F051x6 STM32F051x8: Data sheet (http://www.st.com/web/en/resource/technical/document/datasheet/DM00039193.pdf) [3] UM1525: User Manual, STM32F0DISCOVERY, Discovery kit for STM32 F0 microcontrollers (http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00050135.pdf)
-
Thread
STM32F4xx: running code from ram
ST Microelectronics promotes the STM32F4 series with: "Based on CoreMark benchmark, the performance achieved thanks to the ART accelerator is equivalent to 0 wait state program execution from Flash memory at a CPU frequency up to 168 MHz
*/ /* second try: */ .text : { ..\obj\main.o *(.text); ..\obj\stm32f4xx_gpio.o *(.text); ..\obj\startup_stm32f4xx.o *(.text); ..\obj\stm32f4xx_rcc.o *(.text); ..\obj\system_stm32f4xx.o *(.text); *(.glue_7t) *(.glue_
-
Thread
GNU ARM Eclipse: full Cortex-M7 support added
projects. (see http://gnuarmeclipse.github.io/assets/images/2015/wizard-cortexm-core.png) The STM32F7xx C/C++ Project wizard ---------------------------------- And last, but probably the most useful, a new template to create STM32F7 projects was added. (see http://gnuarmeclipse.github.io/assets/images/2015/wizard-stm32f7.png) The wizard currently supports STM32F745xx, STM32F746xx, STM32F756xx, and can create blinky projects for the STM32F746_EVAL and STM32F746_DISCOVERY boards. The created projects not only
-
Thread
ARM linker fail
I'm trying to compile RTEMS for a STM32F4DISCOVERY board. Everything goes well until the linker tries to find the linker script linkcmds.armv7m. I searched for the file on my system and I found it some places. /opt/rtems-4.11/bin/ld/
DHAVE_UNISTD_H=1 -DHAVE_CSTDIO=1 -DHAVE_CSTDLIB=1 -DHAVE_IOSTREAM=1 -I./../bin/arm-rtemseabi4.11/stm32f4/lib/include -I./inc -g -Wstrict-prototypes -Wnested-externs ./obj/stm32f4_discovery.o ./obj/stm32f4xx_exti.o ./obj/init.o ./obj/stm32f4xx_rcc.o ./obj/misc.o ./obj/stm32f4xx_syscfg.o ./obj/apptask.o
-
Thread
STM32 GDB on Mac OS
(GPIOx=0xa, PortVal=<optimized out>) at /l/arm/STM32F10x_StdPeriph_Lib_V3.5.0/Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c:423 423 /l/arm/STM32F10x_StdPeriph_Lib_V3.5.0/Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c: No such
fixing this issue. Could someone advice on how to address this problem? I started by loading the STM32VL library into my project folder STM32 Template but the error persists. I don't understand why gdb is looking for thestm32f10x_gpio.c since the .elf file is already a compiled and ready to be loaded
-
Thread
STM32 HAL Delay too slow
Hi, I recently started with an STM32F103C8T6 on a bluepill board. I am using SW4STM32 on Windows 10. When writing a program that blinks an LED on PC13 with the standard peripheral library and implementing my own SysTick_Handler
your own firmware. I give you a hint, how to do: https://www.mikrocontroller.net/attachment/316790/STM32F103C8T6.ZIP Just have a look into it - and use what you want if you are interested. btw: the binary in this archive should also work on a blue-pill board. W.S.
-
Thread
Helios GDB hardware debugging & JLink
7.0.0.201109151620 I try it with Segger J-Link, with gdb command arm-none-eabi-gdb from eclipse. I am building STM32Test from yagarto. I pasted scripts stm32_ram_jlink_[12].gdb into startup tab of Debug Configurations, but... When I start debugging, I get error dialog "Error in final launch sequence" with details
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.
-
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
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
-
Thread
unrecognised emulation mode: cpu=cortex-m3
I have attached the makefile that I use to compile compile my first simple code (main.c) for the stm32VL board. My operating system is OS X Maverics and I use Yagarto with STLINK. I attached the bash_profile file to show how the Yagarto toolchain is set. The main.c file gets operated first by the local
this? Demo Ruslan$ make /Users/Ruslan/yagarto/yagarto-4.7.2/bin/arm-none-eabi-ld -T/Users/Ruslan/STM32-Template/stm32f100.ld -mthumb -mcpu=cortex-m3 -o Demo.elf startup_stm32f10x.o system_stm32f10x.o main.o /Users/Ruslan/yagarto/yagarto-4.7.2/bin/arm-none-eabi-ld: unrecognised emulation mode: cpu
-
Thread
Designing a Digital Tuner for Electric Guitars by Using STM32F4
from 200mV up to 1V of peak, with also negative peaks (of the same magnitude). I have to use the STM32F4 (Discovery Board:http://www.kynix.com/Parts/3597871/STM32F4-GAME.html), so I need a very simple circuit that drives the On-Board 12-bit ADC, that takes, as inputs, signals with voltage between 0
Ada L. wrote in post #4923185: > STM32F4 provides some voltage sources (5v or 3v). Shall I use these > sources The board supplies the voltages, not the STM32! And yes: you can use them for your design, as it will draw only a few mA.
-
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
General question: how does ARM core updates its registers?
down where all the registers (such as pll setting, IO, ...) get updated. For example, for the STM32F0 processor, below are the code to set system clock but the codes only have the registers that get modified, but how the register get updated by the processor? My guess is there is some type of interrupt
compiler these specifically for the hardware. Here's a link to CMSIS: file:///C:/LinuxEmbSrc/STM32F0-Discovery_FW_V1.0.0/Libraries/CMSIS/Documentation/CMSIS_Core.htm
-
Thread
Choosing the Right Microcontroller for Low-Power IoT Applications
For STM32 low power, better look at STM32U0 for lowest price, STM32U3 for lowest power and STM32U5 for low power and highest functionality.
Best overall balance: STM32L0, SAM L21 Best if wireless is needed: Nordic nRF52 Best purely for ultra-low-power sensing: MSP430 or Silicon Labs EFM32
-
Thread
STM32F103 math package
This is the overview of STM32F103 newly updated. It includes the clock tree of STM32F103 and more, hope it helps. https://www.embedic.com/technology/details/stm32f103
This is the overview of STM32F103 newly updated. https://get-9apps.com/web/ https://get-cartoonhd.com
-
Thread
New Luminary Stellaris microcontrollers (ARM Cortex-M3)
Well, there is a solution for the MP3 approach. The STM32 Primer2 comes with an MP3 player implemented, this time however tied to the Raisonance tools, which are great for the STM32 but not available (yet?) for Luminary. btw. I would agree that the old
am getting at. The new Stellaris joins the NXP1700 in the 100 MHz Cortex-M3 performance level, the STM32 is sort of close but right now not there. On the other hand, the STM32 is real, can be purchased through distribution, the Stellaris and the LPC1700 are real in the lab of Luminary and NXP but can
-
Thread
help Yagarto linking 32 bit arm code into CM4
hello forum, a simple math calculation caused my STM32F4 going into hardfault first I asked my problem at ST forum however it turned out that my eclipse + yagarto is the cause of the problem it is linking 32 bit ARM code instead of THUMB code for my STM32F4 uC please have a look at ; https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fcortex%5fmx%5fstm32%2fSTM32F4%
-
Thread
STM32F407 software trigger a one pulse timer using HAL
Hello, I have a question about STM32F407. I was wondering how to software trigger (not external trigger) a "one pulse" timer, using HAL library? Thanks for the help.
Masoud B. wrote in post #6778090: > Hello, > I have a question about STM32F407. > I was wondering how to software trigger (not external trigger) a "one > pulse" timer, using HAL library? > Thanks for the help. I have a question about STM32F407. I'm wondering how to
-
Thread
OOCD with the STM32F103
Good day every one! I'm using the STM32F103 series in an embedded application, together with OOCD. Now the 1st setup: STM32 Evalboard by KEIL with the STM32 in a 64 Pinout and 64 K Flash (STM32F103R8T6) Amontec-JTAG-Key OOCD r423 and r717 Worked just great :-) The 2nd setup: STM32 now in my embedded app. and with 48 pinout 64 k flash (STM32F103C8T6) Amontec-JTAG-Key OOCD r423 and r717 Didn't work! :-( Well it did work sort of, that is, OOCD finds the two JTAG-Devices inside
-
Thread
MODBUS TCP help
hello dear forum, I am trying to MODBUS TCP comunicate STM32 with Mach3 I have read the TCP documents in internet and learned that first of all Mach3 send a TCP SYN message to the STM32 this time I send a SYN-ACK message to Mach3 after this Mach3 must send a ACK message to STM32 as you can see in the attached picture the SYN from Mach3 and SYN-ACK from STM32 is there (192.168.1.2) PC (192.168.1.110) STM32 however ACK from Mach3 is missing and Mach3 reports "conection
-
Thread
OpenOCD load and debug fails sometimes
show openocd.cfg. You may also just try: [code] openocd -f interface/<yourinterface> -f target/stm32 init [/code] which will use files from the "target library". I have used them in my STM32 projects with success.
set BSTAPID 0x16410041 set WORKAREASIZE 0x5000 source "C:/program files/openocd/target/stm32.cfg" [/code] Openocd recognizes the target as stm32. I use the yagarto toolchain with eclipse.
-
Thread
ARM-GCC development resources
Very good & compact tutorial to get STM32 running from a low level point of view. Think makefile & build scripts: http://pandafruits.com/stm32_primer/stm32_primer_minimal.php I've been using Qt Creator 3.0.1 as ide (for avr stuff GCC
-
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<std
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 .bss
-
Thread
confused by STM32F207IGT6
? The board is also different. Like Devkit1207 board basedon STM32F207IGT6 and Devkit8500D board based on TI DM3730, can you tell why one is only 120MHZ, and one is 1GHZ. Thank you in advance.
STM32F207IGT6 is from ST, it is ARM Cortex-M3 processor. DM3730 is from TI, it is ARM Cortex-A8 processor. They are different processors based on different ARM cores.
-
Thread
[Solved] STM32F0 Discovery Board: Connect faild, check config and cable connection
Hi I bougth the Stm32F0 Discovery to get into microcontrollers. I have only knowlegth about c# and java programming. I followed this tutorial (video http://www.youtube.com/watch?v=nP6TR6NAZTQ) Downlaoding coocox ide
/CoIDE/flash/STM32F05xx_64.elf" Error: Connect failed, check config and cable connection Program Download Failed ! I have no cloue what to change. Can anyone give me a hint? Do I Have to know anything else
-
Thread
nsec-resolution time measurement with MSP430 or alternatives ?
While the STM32F334 has a timer with 217 ps resolution, it is a pity that this resolution is only for output, not for capture, as the poster asked. The Infineon Cortex Parts also have sub-nanosecond timers, but
capture. And datasheet download still requires a NDA! You can get about 5 ns resolution with the STM32F405 and bigger parts, running the timer at 168/180 MHz or LPC43xx at 204 MHz.
-
Thread
Linking order and startup files
this site: http://209.85.135.132/search?q=cache:Sn58U6UOeBUJ:wiki.fosstronics.com/arm_cortex-m3/stm32/minimal-c-program+fosstronics+minimal&cd=1&hl=de&ct=clnk&gl=de&client=firefox-a Which says, the initial PC must be the address + 1. I tried baking a cake without a recipe - and it tasted yummi..
O0 -gdwarf-2 LFLAGS = -T simple.ld -Wl,--gc-sections all: arm-elf-gcc -c $(AFLAGS) startup_stm32f10x_md.s arm-elf-gcc -c $(CFLAGS) main.c arm-elf-gcc $(CFLAGS) startup_stm32f10x_md.o main.o $(LFLAGS) [/code]
-
Thread
Newbie Qs about ARM Types and Lookup Tables in C
K66 Family (MK66FX1M) from NXP (Cortex M4F - Teensy 3.6) LPC4337 also from NXP (Dual Core M4/M0) STM32F407 from ST Cortex M4 with DSP SAM3X8E from Atmel Cortex M3 From Atmel i already have Atmel Studio 7.0. Which debugger do i need? Which programmer do i need? Is ther a standard for programmer?
Thank you for your replies. I just got two STM32F4 Board from a friend. I guess i'll start with ST :) and go from there.
-
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
Cortex-M3 External SRAM and Flash Programming
"). > the latest openocd svn supports all low/medium and high density stm32 flash types. as Martin mentioned all the info is in the docs - the latest docs can always be found at: http://openocd.berlios.de/web/?page_id=54 simply the gdb load cmd is used. >> 3.Is it posible
general this may not be a good idea due to the speed of external memory access. For example, the STM32 external bus is only 16-bit and access time is significantly slower than for internal SRAM or Flash. Running code from external memory may be as much as 10 times slower. Jack Peacock
-
Thread
Possible wrong explanation on "STM Discovery as Black Magic Probe" page
Hi, There is a tutorial how to use the STM32 Discovery boards as Back Magic probes, and one section refers to why the DFU does not work on the STM32F429I board. http://embdev.net/articles/STM_Discovery_as_Black_Magic_Probe#F429Discovery_board_doesn.27t_enter_System_DFU_bootloader I believe the explanation is wrong, and the reason it does not work on the STM32F429I discovery board is that the USB OTG wired out is the USB OTG2 peripheral in FS mode. DFU supports the only the OTG1 peripheral, see STM32 AN2606, section 18.1.1, table 38. PA11, PA12 pins used
-
Thread
SWD for STM32F4VGT6
Hello, I got a cheap barebones STM32F4VGT6 board, admittedly it was somewhat of an impulse buy. It is made by diymore: https://www.ebay.com/itm/STM32F407VGT6-ARM-Cortex-M4-32bit-MCU-Core-Development-Board-STM32F4Discovery-/311702413371 So far, I have used dfu-utils to burn my programs, which are generated by STM32CubeMX. The dfu-utils method is described here: https://github.com/dwelch67/black_pill_too I would like to use a NUCLEO boards' SWD programmer to be able to debug the MCU, but it does not break