-
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
[STM32] Crossreference ChipID - Device (EN / DE)
people! Having had some trouble finding a decent source of information regarding the Chip ID on STM32 µCs and the Flash/Sram size, here's an appeal to gather known and tested information you all might have come across. As an example for what information should be in, at the end there's a snippet of
Morgen! Da ich auf wenig Information bezüglich CHIP_ID und deren Flash/Sram Speichergröße für die STM32 µCs im Internet gefunden habe, hier eine Bitte diese Information zu sammeln. Es sollten Daten sein die Ihr schon ausprobiert habt und getestet wurden. Als Beispiel am Ende ein Schnippsel der .xml
-
Thread
Problem with reset vector (Yagarto + STM32F107)
to understand how to use the yagarto tools (yagarto + eclipse + openocd + TinyUSB) with a Olimex's STM32F107 board. So far, using Olimex and yagarto examples, I have been able to compile the code. But the reset vector doesn't point to the correct part of the code. I have defined the vectors :
Hello, take a look at the STM32 examples here: http://www.yagarto.de/examples/index.html Perhaps this will help you. Regards, mifi
-
Thread
STM32L1xxx µC displaying memory contents
first of all would like to greet everyone from my side. I am working as an intern and working with STM32L152 EVAL board. I am supposed to take the digital values from the ADC converter from an analog input and save them for the first run. In the second run I have to save the second values and compare
-
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
-
Thread
STM32F407 TIM5 external Clock/ ChibiOS
Hello, i want to configure the Timer 5 with an external Clock (Button). This is my code, but it doesn't work correct: GPIOA->MODER |= GPIO_MODER_MODER0_1; // Enable AF mode for A0 GPIOA->AFRL = (GPIOA->AFRL & 0xFFFFFFF0) | 0b0010; // Select AF2 for A0 TIM3/4/5) RCC->APB1ENR |= RCC_APB1ENR_TIM5EN; // Enable TIM5 clock TIM5->CCMR1 |= TIM_CCMR1_CC1S_0; // Input mode, map TI1 to IC1 TIM5->CCER &= ~(TIM_CCER_CC1P | TIM_CCER_CC1NP); // CC1P and CC1NP = 0 for rising edge //TIM5->SMCR |= TIM_SMCR_SMS; // External clock mode 1 TIM5->SMCR |= TIM_SMCR_ECE;
-
Thread
yagarto example project for STM32F100C4 chip
Hello, I'm new user of the yagarto tool-chain. The example project for STM32F103 works well for me. I'm going to move to simpler target chip STM32F100C4. It should be the Low density Value Line device (STM32F10X_LD_VL). I'm not sure how to setup-up project or how to modify linker script and start-up code for that chip. Please can someone send me a example project for STM32F100C4 for yagarto or any advice how to do it please?
-
Thread
STM32F429 DMA2D bilinear bitmap resize
Hello everyone, I wrote a simple but powerful DMA2D app to resize a bitmap using bilinear interpolation using very low CPU resource. A demo video is on https://www.youtube.com/watch?v=TgTxBIYUuVM and the source code is available on http://www.mediafire.com/download/w25kovq8umnmou0/DMA2D_bilinear_resize.rar Enjoy !!!
-
Thread
STM32F1xx: Injected simultanous ADC doesn't work
with injected ADC1 and ADC2 triggered by Timer1 Capture Compare Channel 4. See chapter 5.1 of the STM manual UM1052: https://www.st.com/content/ccc/resource/technical/document/user_manual/5e/5e/d2/cb/07/35/45/a6/CD00298474.pdf/files/CD00298474.pdf/jcr:content/translations/en.CD00298474.pdf The interrupt
callback, it works. here are two screenshots of the relevant registers at runtime. http://www.stm32duino.com/download/file.php?id=3190&sid=68aec5aeb5f8c2092a3f0dfd85a63b81 http://www.stm32duino.com/download/file.php?id=3190&sid=68aec5aeb5f8c2092a3f0dfd85a63b81 Any idea what's going wrong?
-
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
STM32F4 Discovery Board: Functions calling in Atollic TrueStudio
some explanations about few things. I hope somebody could give me some. So! I'm working with the STM32F4 Discovery Board and using the IDE Atollic TrueStudio. I wrote a code for calculating the distance with the distance sensor HC-SR04. My code is working fine when I'm writting it in successively
-
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
STM32H7 real-time data tracing via SWD not working
oscilloscope (No edges detected) -Reading STLINK Jumpers with oscilloscope (Edges detected) -Other IDEs SW4STM32 (No success) -Serial wire viewer of STLINK (nothing shown) -Tried debugger and builder / optimization settings. (Still no success) See screenshots for detailed description and the configurations
real-time* trace data. But anyway, look there: https://community.st.com/s/question/0D50X00009XkhURSAZ/stm32h7-swo-printf-not-working
-
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
STM32H7 bank swap break at address 0x81006fe
I trying to do a bank swap with the ST32 H743ZI2. I wasted much of time to fix it but i didnt get it. Maybe because im new in STM32 controllers. I copied the bank swap code from STM32CubeH7 Firmware Examples and did a few modifications regarding
configuration in CubeMX. I did them because i want to implicate the code in a excisting project without the stm32h7xx_nucleo headers. Following the Code for Bank1: [c] HAL_FLASH_Unlock(); HAL_FLASH_OB_Unlock(); while (1) { /* Wait for BUTTON_USER is released */ if (HAL_GPIO_ReadPin(GPIOC
-
Thread
STM32F0 Discovery Port C Pin 1 and Pin 2 problem
Hello Folks, I tear my hair out over this. I have a STM32F0 Discovery board here and i would like to get all 16 bits of PORTC high. Most of the pins do what i expect them to do, but PC1 and PC2 dont. They stay low out of what ever reason. I am a bloody newbie
I am chewing on this problem already since a week and ready to give up on it. [c] #include "stm32f0xx.h" #include "stm32f0xx_rcc.h" #include <stm32f0xx_conf.h> #include "stm32f0xx_gpio.h" #include "diag/Trace.h" //#include <stdio.h> int main() { GPIO_InitTypeDef GPIO_InitDef;
-
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
DHT22 Sensor readings unrealisitc with STM32F407 uC
First of all i want to say hello I have a problem with my DHT22 temperature and humidity sensor. The start signal is fine, the sensor response signal is fine, the bits that the sensor sends me are fine my problem is how can i read out the data that the sensor sends me because my values are 2700 for humidity and between 4500 and 5800 for temperature. As you will see in the attatched file, i hope it works this is my first post, i have tried it using a for loop and after the sensor pulls the data line to 0 for the 50us low voltage that comes before every bit, i will put the datasheet down below,
-
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
/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
STM32F1xx EXTI problem to trigger interrupt by SWIER
Hallo, i have the following problem to solve: an interrupt should be triggered when the frame-signal of a SPI-interface changes from 0 to 1. If, at the time of enabling this interrupt, the frame-signal is already high, the interrupt should be triggered by software instead of the rising edge. I am using int-structures representing the register-bits of EXTI and other peripherals mapped to the according places within the bit-banding-area of the micro. These are name XXXbbbits. I am also using bit-structures which are representing the structures of their according registers to manipulate two
-
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
need help with debugging Cortex M3 (STM32) using Eclipse, YAGARTO and J-Link
deasserted during "monitor reset" the clock will be the default clock after reset as mentioned see STM32 reference-guide.
with the new libusb-win32 V1.2.1.0. I compiled and ran OpenOCD with the current version of Cygwin (1.7.5) on XP. My JLink firmware is V6. In the past, I used to try OpenOCD/JLink/STM32/XP with several releases and RCs,
-
Thread
STM32F03x - SPI via DMA -missing CLK on MISO
Hello, I have got a Problem with an STM32F030 Device, using SPI via DMA. I try to set and load Data from HC595 and HC165 chips via SPI. SPI is configure in Full duplex mode and prescaled down to a frequency of 8Khz. MOSI and SLK are
-
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
STM32F4 PWM outputs do not have the same frequency after updated
Hello. I have a problem. I'm using Kit STM32F407VG Discovery to control frequency of FullBridge LLC Converter. I use 50kHz Interrupt TIM2 and CH1,1N,3,3N PWM TIM1. The PWM frequency band is 80-140kHz. When updating new frequency (TIM1->ARR)
-
Thread
reading 24bit with I2S on nucleo stm32f411re
Hello, I am new to microcontroller programming. I am trying to read a digital microphone with a 24bit i2s interface. My problem is that the results I get are just uint16_t thus I loose some bits. I'm using st cube and HAL. The api documentation is: [c] /** * @brief Receive an amount of data in blocking mode * @param hi2s: pointer to a I2S_HandleTypeDef structure that contains * the configuration information for I2S module * @param pData: a 16-bit pointer to data buffer. * @param Size: number of data sample to be sent: * @note When a 16-bit data frame or a 16-bit
-
Thread
how can I read protect my STM32F4 with eclipse + openOCD JTAG ?
hello forum , I am using Eclipse + openOCD JTAG for downloading and debugging my aplication into STM32F4 after I finish my project I want read protect my code so that it is not stolen question : how can I read protect my STM32F4 with eclipse + openOCD JTAG thank you
Please have a look at this chapters in the reference manual of the stm32F4xxx microcontrollers (RM0090): 3.6.3 Read Protection (RDP) 3.6.1 Description of user option bytes 3.8.3 Flash option key register (FLASH_OPTKEYR) And after that you should read in the documentation
-
Thread
Current value Measured differs form the data sheet value in Low Power Sleep Mode for STM32L433Rc-p
Why the current measured form the microcontroller(Stm64 Nucleo L433RC- LPSleep mode) differ from the current value written in the datasheet? Hallo Everyone, I am using STM32L433RC -p microcontroller for current measurement. The current in the microcontroller was measured using STM32L496VGT6 module. I was doing current measurement for Low Power Mode(Low Power Sleep Mode). The current value given in the datasheet is in the raange of microampere, but the value which i read
-
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
-
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
Ds18b20 Problem
Thanks for the replies. So I tried using the scope again. I am indeed using it in between the STM32 and DS18b20. It seems last time the time scale was too short to see that. I can see that the STM32 is running fine. It sends the reset pulse and it reads the sensor as well. But it reads only "FF"s
If the problem still exists, the description in the file STM32_CunbeMX_DS18B20.pdf of the appendix may help.
-
Thread
ARM Cortex M7 64 bits floating point
ARM 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
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 Series - which is slower - there are also some double precision devices. http://www.st.com/en/microcontrollers/stm32f7-series.html
-
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/
-
Thread
General question: how does ARM core updates its registers?
trace 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
and 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
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.
-
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
of the macros in a header-file which is included by all USB-codes. IRC there is such a file in the 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
-
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
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
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
GDB issue (cortex-M3)
help: http://www.siwawi.arubi.uni-kl.de/avr_projects/arm_projects/arm_memcards/index.html#chanfat_stm32 During development I have used Eclipse Ganymede, CDT, CDT hardware-debugging-plugin, Codesourcery G++ lite for ARM-eabi 2009Q1, OpenOCD (different but rather up-to-date versions), Amontec JTAGkey, FTDI-drivers and STM32F103CB for the tests. Debugging from Eclipse works as expected (well, at least what I expected/needed). A little bit of additional information can be found in the readme.txt.
-
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
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
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
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
Newbie Qs about ARM Types and Lookup Tables in C
really like the MKxxxx (Kinetis) from former Freescale. But they are usually cheaper. I also like the STM32Fxxx from ST. On both brands (LPC and STM) you will find a nonvolatile bootloader on the chip, what is very convenient, because the programming does usually need nothing more than a serial line or
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
Linking order and startup files
linker script that works fine now, but I needed a little tweak: The startup code I use is startup_stm32f10x_md.s, taken 100% from the STM Standard Peripherial Lib. As I said, it works fine, but I had to edit the isr_vector section: [code] .section .isr_vector,"a",%progbits .type g_pfnVectors,
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
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.
2 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.