cancel
Showing results for 
Search instead for 
Did you mean: 

Error communication

tiche79
Associate II
Posted on March 19, 2014 at 15:16

to be migrated, sourceId: 39513:697285D7-A9CA-445D-B16C-F23BF0E3B1A3

11 REPLIES 11
Posted on March 19, 2014 at 15:23

The chip does not start with the external oscillator, it uses the HSI. The power-on-reset circuit is based on the Analogue supply pins.

You should check the orientation and soldering of the part.

You should check the capacitors and voltages at the VCAP pins.

You should check the state of the NRST pin.

How are the BOOTx pins configured?

If you have USART1 attached to PA9/PA10 you could try sending an 0x7F byte at 9600 8E1 with BOOT0 held high at reset and observing if you get an 0x79 response. (Send Hex in something like RealTerm)

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
tiche79
Associate II
Posted on March 19, 2014 at 15:47

The orientation and soldering are correct

On VCAP1 an VCAP2 I have 1,26V and the capacitors are 2u2F

On NRST I have a pull up to 3V3

Pin BOOT0 are NC

And how I can send an 0x7F byte at 9600 8E1 with BOOT0 ?

Posted on March 19, 2014 at 15:54

I'd use RealTerm, or a custom app. If the design lacks a serial port, you could wire up a USB-to-CMOS Serial type adapter.

Using the System Loader in this fashion, is about one of the only signs-of-life tests for the part. There's USART3 or USB, too, but hooking up a serial connection is the easiest I'm aware of.

If the part offers no signs-of-life, the JTAG/SWD won't work either, and you'll need to review more carefully the pins you've got wired up and the supplies, etc.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
tiche79
Associate II
Posted on March 19, 2014 at 16:04

Ok thanks

But how we connecte de UART1 to the PC ?

tiche79
Associate II
Posted on March 19, 2014 at 16:09

With a USB TTL it will be good ?

Posted on March 19, 2014 at 16:10

http://dx.com/p/pl2303hx-usb-to-ttl-converter-module-149859

http://uk.farnell.com/ftdi/ttl-232r-3v3/cable-usb-to-ttl-level-serial-conv/dp/1329311

Where TTL/CMOS is at 3V or 3.3V depending on supply, just won't work with RS232 levels.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
tiche79
Associate II
Posted on March 19, 2014 at 16:42

I connected the USB TTL to 3V,GND,RX and TX of USART1 but BOOT0 will be connected to what ?

Posted on March 19, 2014 at 17:46

You'd need to pull it high, and reset the part.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
tiche79
Associate II
Posted on March 20, 2014 at 16:24

After a few tests I removed the resistor between the STM and the quartz (25MHz) and now I can connect de ST-LINK at the board. So the oscillator are disconnect of the STM.

But now I have another problem, the programme seem be inside de STM but nothing work.

My programme should be generate some PWM signals but I have a Continuous signal (1,8V) and it should turn on 3 LED.

Before I test the programme on a STM32F4-Discovery (with a STM32F407) and it works perfectly.