Preferred LiFePO4 USB charger/regulator IC

Started by Clifford Heath in comp.arch.embedded6 years ago 22 replies

I'm building some hand-held gear with STM32 and other stuff on a 3.2V supply, with consumption up to a watt or two, and want to use a single...

I'm building some hand-held gear with STM32 and other stuff on a 3.2V supply, with consumption up to a watt or two, and want to use a single LiFePO4 cell with USB charging, and preferably just run directly off Vbatt, with no additional regulator. The Linear LTC4098 looks nice, and Maxim has the MCP73833. Any experience using these, or alternatives to suggest? Hand-solderable would be ...


Best tool to compare two linux source codes

Started by piyushpandey in comp.arch.embedded6 years ago 20 replies

Hi I want to know the best software tool for comparing the differences in the linux kernel. Actually I have STM32 microcontroller based...

Hi I want to know the best software tool for comparing the differences in the linux kernel. Actually I have STM32 microcontroller based development board for which I got the BSP in which the Linux Kernel is present. The version of the BSP of the linux kernel is 2.6.32 I downloaded the original kernel with same version from kernel.org Now I am trying to extract the differences betwee...


Blutooth Stack(lwbt Stack)

Started by allen_cool in comp.arch.embedded6 years ago 2 replies

Hello, I am new to bluetooth, I want bluetooth in my application to send data send to mobile. I want a Bluetooth Stack which should be port on...

Hello, I am new to bluetooth, I want bluetooth in my application to send data send to mobile. I want a Bluetooth Stack which should be port on my microntroller where my other application is runnning. I want to add this lwbt stack on my application to send selected data to Particular Mobile Device. My question is, 1. Is lwbt is platform dependent or independent. I am using stm32 controller, ca...


CM3/stm32 SCB_VTOR

Started by kristoff in comp.arch.embedded4 years ago 5 replies

hi, I am doing some more work to get to know the STM32F103, now looking in the libopencm3 library and learning from the example...

hi, I am doing some more work to get to know the STM32F103, now looking in the libopencm3 library and learning from the example code. (using ubuntu as development platform) I am looking at the demo application to create a usb-over-serial interface (usb_cdcacm), as found here: https://github.com/libopencm3/libopencm3-examples/tree/master/examples/stm32/f1/stm32-maple/usb_ cdcacm


Is protected flash secure?

Started by Klaus Kragelund in comp.arch.embedded3 years ago 4 replies

Hi So, I have been using a ST Cortex M0 STM32, NXP LPC, PIC32 and also a Renesas RX63. Just for fun. They look interesting as a potential...

Hi So, I have been using a ST Cortex M0 STM32, NXP LPC, PIC32 and also a Renesas RX63. Just for fun. They look interesting as a potential candidate All processors has a bit to set it up in protected mode, so the flash with proprietary IP cannot be read out But, say my competitor wants to dig into my code Is there really such a thing as a safe micro controller which memory is protecte...


Copy to and execution from RAM

Started by Klaus Kragelund in comp.arch.embedded2 years ago 10 replies

Hi I am using a STM32 and I want to use the flash as storage, but I need the processor to keep running Writing to flash while execution from...

Hi I am using a STM32 and I want to use the flash as storage, but I need the processor to keep running Writing to flash while execution from flash will take about 20us for 16bit value and when the entire block is close to be filled up an erase of the block takes 20ms 20ms halt of code execution is not an option So, the plan is: Copy code that needs to run to RAM Move p


OpenSTM32 (Eclipse) debugger trying to write RAM section

Started by John Speth in comp.arch.embedded1 year 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.embedded2 months 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...


GPDSC to GCC Makefile converter for ARM

Started by Anonymous in comp.arch.embedded4 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.embedded7 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.embedded7 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 ...


Stack after reset for STM32F with gdb

Started by Fredxx in comp.arch.embedded6 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...


Reprogramming a uC FLASH while running code - STM32F

Started by John-Smith in comp.arch.embedded6 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.embedded2 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.embedded8 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.embedded8 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.embedded10 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.embedded4 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.embedded4 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.


PCB grounding

Started by abrous in comp.arch.embedded9 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...