Author Topic: Stm32F4Discovery port  (Read 7625 times)

Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 1105
    • View Profile
Re: Stm32F4Discovery port
« Reply #45 on: March 09, 2017, 09:49:28 PM »

Very nice  and totally unique :)
Thanks for sharing !!!

electron libre

  • Team member
  • *
  • Posts: 3
    • View Profile
Re: Stm32F4Discovery port
« Reply #46 on: April 06, 2017, 03:35:44 PM »
Hey norbim1 and rsproduction.

Can you provide me a bit more info ow to burn the Disco board. Is there some DFU mode? Also, the I dispose is a STM32f411.

Cheers

norbim1

  • Team member
  • *
  • Posts: 22
    • View Profile
Re: Stm32F4Discovery port
« Reply #47 on: April 06, 2017, 04:08:32 PM »
Hi, for the first time flashing:

[/quote]
Use the STM32 ST-LINK utility via the mini USB on the debugger side of the board.

http://www.st.com/content/st_com/en/products/embedded-software/development-tool-software/stsw-link004.html

Norbim

It should be STM32F407 on the board. Heere you can check the correct Discovery version:

first check the original STMicroelectronics product page to know the orginal version:
http://www.st.com/content/st_com/en/products/evaluation-tools/product-evaluation-tools/mcu-eval-tools/stm32-mcu-eval-tools/stm32-mcu-discovery-kits/stm32f4discovery.html
I bought all my Discovery boards from Farnell (farnell.com). The part number is STM32F407G-DISC1.


electron libre

  • Team member
  • *
  • Posts: 3
    • View Profile
Re: Stm32F4Discovery port
« Reply #48 on: April 22, 2017, 04:15:48 PM »
Thanks for the reply, norbim1

The STM32f411 has a different configuration, it is not an updated f407.

I made test with the board from my MidiSeq, which is an F407. I flashed, using STlink, the two files : p2_boot_1.11.bin at 0x08000000 and the p2_205o.bin at 0x08040000.

I also made some experiments attaching lcd pannels - one 4x20 and one 2x40, just to see some reaction.

Is there some step I am missing? There is noting on the LCD, should I wire all the wires and usb stick also?

I attach 2 shots with the flash process:

Cheers

rsproduction

  • Team member
  • *
  • Posts: 13
    • View Profile
Re: Stm32F4Discovery port
« Reply #49 on: April 23, 2017, 10:37:42 PM »
Hi electron libre,

did you make the right connections btw stm32f407DISCO and LCD, did you try a contrast trimmer on the LCD 20*4?

Cheers


electron libre

  • Team member
  • *
  • Posts: 3
    • View Profile
Re: Stm32F4Discovery port
« Reply #50 on: April 24, 2017, 02:25:37 AM »
Hello rsproduction, thanks for the reply

I wire the 4x20 LCD using the flowing schema:

pin 1 > GND
pin 2 > 5V
pin 3 > 10k pot, dividing a gnd/5V
pin 4 > PE8
pin 5 > GND
pin 6 > PE7
D0 to D3 > GND
D4 > PE9
D5 > PE11
D6 > PE13
D7 > PE15
And Backlight

The LCD Lights up, I can fix the contrast. All the charachers remain filled. Is there some step I am missing? Buttons combo, firmware activation. There is only the lsc attached, no buttons, encoders or USB memory.

My procedure of writing the bin files: first I upload the p2_boot_1.11.bin file at 0x08000000, after him the p2_205o.bin file at 0x08040000. I downloaded the files in earlier posts in this topic.

Correct me if I am wrong

Best regards

norbim1

  • Team member
  • *
  • Posts: 22
    • View Profile
Re: Stm32F4Discovery port
« Reply #51 on: April 24, 2017, 09:37:19 AM »
Hi,
AFAIK it wont work without USB stick. 5. question in FAQ: http://ixox.fr/forum/index.php?topic=63377.0

Norbim