cancel
Showing results for 
Search instead for 
Did you mean: 

programming STM32F4xx supplied by 2.5V

arnaudprince
Associate II
Posted on May 22, 2013 at 10:57

Hello,

I'm new in this forum and I'm not an english-speaker, so, sorry for some orthography mistakes.

I'am currently on a developpement of an electronic board that embeds a STM32F4xx and is supplied by 2.5V coming form a 3.7V Li-Polymer batterie with back-end 2.5V regulator. This MCU is programmed on the JTAG connector connected to the J-Link programmer.

My questions are : 

     - Can we program the MCU with this voltage level knowing that the STM32F4xx datasheet notice that the flash programming bit numbers depends on the supply voltage level of the MCU : 2.7V-3.6V for 32 bits, 2.1V-3.6V for 16 bits and 1.8V-3.6V for 8 bits.

     - So, I don't know exacticly how can we do to change the number of the bits. I thought that the CPU communicates automatically, with the suitable bits number, with the internal flash memory but I maybe make a mistake.

Then, I need your help before I make the PCB of my application.

Thanks all.

#microcontroller-projects #hardware
5 REPLIES 5
Posted on May 22, 2013 at 13:03

The original post was too long to process during our migration. Please click on the provided URL to read the original post. https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I6aL&d=%2Fa%2F0X0000000brE%2F6nXnwbu_D6Yr.PzYNm3s8FW4bRinjGyWeYkdLJ6tLdE&asPdf=false
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
frankmeyer9
Associate II
Posted on May 22, 2013 at 14:43

I believe this wordsize restriction comes from specific flash programming requirements. To have flash erased/programmed, a voltage in excess of 9V is required. This voltage is generated internally by some integratedswitched-capacitor booster. And with falling supply voltage, the booster current rises. So this wordsize limits is actually a booster current limit. Otherwise, the voltage would drop below the requirements for the tunneling effect, and erase/program would fail. For specific details of ST's flash implementation, you might need to ask ST directly.

arnaudprince
Associate II
Posted on May 22, 2013 at 15:46

@clive1

Thanks for these technical details.

You may probably be rigth about contacting Segger and I will do this.

arnaudprince
Associate II
Posted on May 22, 2013 at 15:52

@fm

I think that Vpp pin is used only for the 64 bits parallelism. Anyway, using a boost converter involves a large current pumped on its input, so, I don't want to fastly discharge my battery.

I've requested on ST's technical support for this but I have not a response yet.

frankmeyer9
Associate II
Posted on May 22, 2013 at 16:13

I think you got me wrong.

This booster is integral part of the MCU silicon, and you have no way to influence it, except by setting Vdd. And yes, the current draw for programmin rises with dropping Vdd.

This is less significant for a 32 bit MCU drawing 10...50mA.

For a low-power 8 bit MCU, I have measured a rise in supply current from 2.5mA to 8.0mA during programming, just as example.