EmbeddedRelated.com
Memfault Beyond the Launch

.Net Micro Framework on an Arm Cortex M3, experiences anyone?

Started by Kvik in comp.arch.embedded12 years ago 1 reply

Hi We are working on a new product and we are contemplating using a Virtual Machine, running the Microsoft .Net Micro Framework It seems it...

Hi We are working on a new product and we are contemplating using a Virtual Machine, running the Microsoft .Net Micro Framework It seems it could be running on a STM32F105 (Cortex M3 device) with 256kB Flash and 64kB RAM. We do not need it to run very fast, we just need the ability to be relatively processor independent and to gain a higher abstraction level if possible, reducing deve...


SSD1963 LCD controller PWM output failure

Started by johsey in comp.arch.embedded11 years ago 2 replies

Hello, I designed a motherboard based on a STM32F205 MCU from ST which communicates with a 5 inches TFT LCD through a SSD1963 LCD controller...

Hello, I designed a motherboard based on a STM32F205 MCU from ST which communicates with a 5 inches TFT LCD through a SSD1963 LCD controller from Solomon Systech. This LCD controller has a PWM output pin that can be used to send a PWM signal to a backlight driver. In my design, I used this pin for driving the control pin of a TPS61165 high brightness white LED driver from Texas Instruments. ...


Stack after reset for STM32F with gdb

Started by Fredxx in comp.arch.embedded11 years ago 9 replies

I'm using Eclipse (Kepler release) GCC ARM Tools 4.7 OpenOCD 0.7.0 Its not clear how I can setup the Debug Configuration in order...

I'm using Eclipse (Kepler release) GCC ARM Tools 4.7 OpenOCD 0.7.0 Its not clear how I can setup the Debug Configuration in order to ensure a Reset. Currently the Stack point is not being reset to the value of _estack in g_pfnVectors and on clicking on "Debug" the program counter is at the Reset Handler and SP = 0x00000000 I am presuming that I need to place some commands...


OpenSTM32 (Eclipse) debugger trying to write RAM section

Started by John Speth in comp.arch.embedded6 years ago

Hi Folks- I'm having a problem in which the OpenSTM32 System Workbench debugger reports ?Warn : no flash bank found for address 20000000?...

Hi Folks- I'm having a problem in which the OpenSTM32 System Workbench debugger reports ?Warn : no flash bank found for address 20000000? when I flash my STM32 target using System Workbench. The debugger then fails the binary compare process and prevents me from debugging. My linker script defines a memory region called DTCM which is mapped to RAM starting at 0x20000000 for 64K b


CubeMX and FreeRTOS: Systick

Started by pozz in comp.arch.embedded4 years ago 12 replies

As you know, I'm playing with STM32 and CubeMX autogeneration code tool. I don't like ST HAL libraries generated by CubeMX, but this is my first...

As you know, I'm playing with STM32 and CubeMX autogeneration code tool. I don't like ST HAL libraries generated by CubeMX, but this is my first approach to STM32 MCUs and CubeMX tool lets me have a fully-functional project in minutes. Maybe I will rewrite some HAL drivers in the future, but at the moment I'd like to leave with them. Now I have to add FreeRTOS and this is very simple wi...


How to change stm32 m4 adc channel?

Started by Ed Lee in comp.arch.embedded3 years ago 10 replies

Does anyone know how to do it in register level? I see many code examples using: ADC_ChannelConfTypeDef sConfig = {ADC_CHANNEL_0, 1,...

Does anyone know how to do it in register level? I see many code examples using: ADC_ChannelConfTypeDef sConfig = {ADC_CHANNEL_0, 1, ADC_SAMPLETIME_28CYCLES}; HAL_ADC_ConfigChannel(&hadc1, &sConfig); or ADC_RegularChannelConfig(ADC1, ADC_channel_0, 1, ADC_SampleTime_480Cycles); but i don't have access to these routines from arm-gcc. By the way, i am using this to read the adc data: ...


STM32 CUBE project

Started by Ed Lee in comp.arch.embedded3 years ago 9 replies

So, i created the ADC1 & PIOC13 blinker, bit it does me no good without knowing what the analog values are. But when i try to create an USB_CDC...

So, i created the ADC1 & PIOC13 blinker, bit it does me no good without knowing what the analog values are. But when i try to create an USB_CDC device, it complaints about: ADC1: partly disable conflit with USB_FS_OTG: device mode only Does it mean i can't use USB and ADC together? By the way, how do i tell the IDE to keep it's hand off my codes? It keeps whipping out my codes when c...


Cortex-M buses

Started by Anonymous in comp.arch.embedded1 year ago

I want to understand impact of buses/wait states on Cortex-M preformance. It seems that documentation about this seem to be scatterd or...

I want to understand impact of buses/wait states on Cortex-M preformance. It seems that documentation about this seem to be scatterd or unavailable (I would appreciate pointers to appropriate documentation). I was unable to find answers in documentation so I did some testing. Below part of my results. I run tests on STM32F030, STM32F103, STM32F407, STM32411 and two chinese clones, namly ...


GPDSC to GCC Makefile converter for ARM

Started by Anonymous in comp.arch.embedded8 years ago 1 reply

Hi, I wanted to be able to use the original STM32CubeMX tool for generation of initialization code, and skeleton of the firmware, and be...

Hi, I wanted to be able to use the original STM32CubeMX tool for generation of initialization code, and skeleton of the firmware, and be able to continue further development in the fully open GCC environment in Linux. Unfortunately, Cube does not generate the GCC Makefile. For "Other Toolchains" it generates the GPDSC file. After checking the contents of that file, I've managed to pr...


Eclipse setup for STM32F

Started by Fredxx in comp.arch.embedded11 years ago 14 replies

I can get the build and basic debug working, but wondering if there was any easy way of viewing or manually changing CPU internal...

I can get the build and basic debug working, but wondering if there was any easy way of viewing or manually changing CPU internal registers, such as SPI and GPIO? I'm currently stumped and wondering if this is actually achievable?


Rowley Associates and OpenOCD

Started by Mike Perkins in comp.arch.embedded11 years ago 1 reply

For historical reasons I currently use Rowley associated for an NXP LPC23xx series micro and also Eclipse with OpenOCD for STM32F...

For historical reasons I currently use Rowley associated for an NXP LPC23xx series micro and also Eclipse with OpenOCD for STM32F micros. Unfortunately the Olimex ARM-USB-Tiny drivers are different for both packages, with issues of supplying closed source drivers with OpenOCD Has anyone used or found an easy way to switch or to use the same drivers? -- Mike Perkins Video Solutions ...


PCB grounding

Started by abrous in comp.arch.embedded13 years ago 1 reply

Hi to all, I am designing a PCB with a digital circuit based on a STM32F103 MCU with USB,LAN and RS232 ports. The power comes from an external...

Hi to all, I am designing a PCB with a digital circuit based on a STM32F103 MCU with USB,LAN and RS232 ports. The power comes from an external wall type 12V/2.5A switching type regulator. There are 3 grounds in my PCB : a digital ground (GND), a connector frame ground (FGND) which is connected to GND through a 3.9nF/1KV capacitor and the input ground (the common which comes from the external po...


Reprogramming a uC FLASH while running code - STM32F

Started by John-Smith in comp.arch.embedded10 years ago 24 replies

I have used a variety of different micros (Z80 onwards) since about 1980 but all the PROM or FLASH based ones (e.g. H8/300 or Atmel 90S1200)...

I have used a variety of different micros (Z80 onwards) since about 1980 but all the PROM or FLASH based ones (e.g. H8/300 or Atmel 90S1200) were programmed externally, via a spring-contact adaptor. We have one product using an H8/300 with an external 28C256 32kbyte parallel EEPROM for extra code, and we quickly found this could not be written with code running in it! No sh*t Sherlock, as t...


IDE for STM32f series

Started by Mike Perkins in comp.arch.embedded7 years ago 14 replies

A year or two ago I put together an IDE using eclipse, gnu arm tools, openocd with a st link JTAG adaptor. I can't seem to get a working...

A year or two ago I put together an IDE using eclipse, gnu arm tools, openocd with a st link JTAG adaptor. I can't seem to get a working system together, and further more some links aren't working I have used to install add-ins for Mars 2. Mars 2 was the system I know worked. Is there a blow by blow account of how to install this with either Neon or Oxygen, or should I bit the bullet...


STMicroelectronics Introduces STM32F0 based on the Cortex-M0

Started by Bill Giovino in comp.arch.embedded12 years ago 6 replies

http://microcontroller.com/news/STMicroelectronics_STM32F0.asp Article includes a block diagram, performance specifications, and a selection...

http://microcontroller.com/news/STMicroelectronics_STM32F0.asp Article includes a block diagram, performance specifications, and a selection guide. Bill Giovino http://Microcontroller.com


STM32F100RC -- GPIO in standby mode?

Started by Kirill Frolov in comp.arch.embedded12 years ago 3 replies

What is the state of GPIO pins when microcontroller is in standby mode? Each pin remembers it's own state: input, output, analog, pull-up,...

What is the state of GPIO pins when microcontroller is in standby mode? Each pin remembers it's own state: input, output, analog, pull-up, logic level on it? Which document (datasheet, etc) and where specifies this behaviour?


STM32F103Ze-sk linker script

Started by tblake in comp.arch.embedded14 years ago 2 replies

I have been given the task of getting a GCC cross compiler setup for STM32F101C4 which has not been a problem however I was given...

I have been given the task of getting a GCC cross compiler setup for STM32F101C4 which has not been a problem however I was given an STM32F103Ze-sk "IAR Kickstart Kit" to test my setup on. I am having problems writing my linker script has anyone done this? or have any advice on creating the SECTIONS portion of the linker script. Thanks --------------------------------------- ...


stm32f103: flash latency and baud rate calculation

Started by kristoff Bonne in comp.arch.embedded8 years ago 4 replies

Hi all, I am still relative new to low-level programming microcontrollers, currently doing some work on a STM32F103RB using forth. To...

Hi all, I am still relative new to low-level programming microcontrollers, currently doing some work on a STM32F103RB using forth. To get to know the device, I am now trying out some code to change the clock from internal8Mhz, to External48Mhz and External72Mhz. There are two things I do not really understand. 1/ What exactly is the purpose of the Flash Latency? You need to chang...


ADC sampletime on STM32F103

Started by kristoff in comp.arch.embedded8 years ago 7 replies

Hi, I'm currently learning how to use the ADC on a STM32F103RC. One of the parameters for reading the ADC is its sample-time. Just...

Hi, I'm currently learning how to use the ADC on a STM32F103RC. One of the parameters for reading the ADC is its sample-time. Just wondering. What is the reason for being able to set this? Why would one choice a sample-time longer then needed (i.e. 1.5 cycles)? Cheerio! Kr. Bonne.


stm32f103rct6 with more ram then expected

Started by kristoff in comp.arch.embedded7 years ago 7 replies

Hi, Some time ago, I boght a cheap devboard from a well known Chinese webshop with a STM32F103RCT6 chip on it. According to the...

Hi, Some time ago, I boght a cheap devboard from a well known Chinese webshop with a STM32F103RCT6 chip on it. According to the datasheets, that chip has 48 KB of RAM and 256 KB of flashrom. However, when using the linux arm-gdb and the st-util and st-info, they say that the chip actually has 64 KB of RAM (so more then exptected). Using gdb (writing to memory and reading bac...



Memfault Beyond the Launch