STM32 F7 Discovery

Discussion and questions about boards that can run MicroPython but don't have a dedicated forum.
Target audience: Everyone interested in running MicroPython on other hardware.
jrprogrammer
Posts: 7
Joined: Sat Feb 09, 2019 1:51 pm

STM32 F7 Discovery

Post by jrprogrammer » Sat Apr 20, 2019 1:39 pm

Yes, they have micropython for this board but it seems the nice LCD isn't supported. Has anyone gotten the LCD incorporated into their code. I have the STM32 F746 Discovery board.
Thanks,
Jim

User avatar
boochow
Posts: 25
Joined: Sat Dec 16, 2017 9:36 am

Re: STM32 F7 Discovery

Post by boochow » Sat Apr 20, 2019 3:13 pm

There's one for F746 Discovery

viewtopic.php?f=3&t=4718

jrprogrammer
Posts: 7
Joined: Sat Feb 09, 2019 1:51 pm

Re: STM32 F7 Discovery

Post by jrprogrammer » Sun Apr 21, 2019 6:47 pm

Thanks for the link!
I also found "Boot0"(with a little help)... If you look around U5, you'll see a missing resistor R42(0201 size). All you do is apply a solder bridge and suddenly can erase at will. When you're done, just remove your solder bridge...
Your mileage may vary,
JR

User avatar
ta1db
Posts: 29
Joined: Mon Sep 02, 2019 12:05 pm
Contact:

Re: STM32 F7 Discovery

Post by ta1db » Wed Sep 04, 2019 6:22 am

boochow wrote:
Sat Apr 20, 2019 3:13 pm
There's one for F746 Discovery

viewtopic.php?f=3&t=4718


@boochow I am trying the bin image found on your page "http://blog.boochow.com/wp-content/uplo ... 6disco.zip" , I have downloaded the image from your web-site, programmed&verified on STM32F746G-DISCO using ST-LINK Utility, it looks like working with a blank white display, however the micropython doesn't respond to serial connections either from PuTTY or rshell.. what can be wrong? (it resides on COM3:)

Is there any newer version of SMT32F7DISCO micropython dfu or bin image somewhere else?

Online
User avatar
jimmo
Posts: 631
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia

Re: STM32 F7 Discovery

Post by jimmo » Wed Sep 04, 2019 7:05 am

It looks like the repo linked in the other thread -- https://github.com/forester3/micropytho ... f7disc-lcd -- has relatively up to date support for the F7 discovery. Should be pretty straightforward to rebase onto master.

User avatar
ta1db
Posts: 29
Joined: Mon Sep 02, 2019 12:05 pm
Contact:

Re: STM32 F7 Discovery

Post by ta1db » Mon Sep 09, 2019 10:10 am

[quote=jimmo post_id=39124 time=1567580728 user_id=3071]
It looks like the repo linked in the other thread -- https://github.com/forester3/micropytho ... f7disc-lcd -- has relatively up to date support for the F7 discovery. Should be pretty straightforward to rebase onto master.
[/quote]

it worked. thank you very much..

User avatar
ta1db
Posts: 29
Joined: Mon Sep 02, 2019 12:05 pm
Contact:

Re: STM32 F7 Discovery

Post by ta1db » Mon Sep 09, 2019 11:50 am

Here is a good code example to test the LCD Display:

import lcdF7D
lcdF7D.init()
lcdF7D.set_font(18)
lcdF7D.display_string_at_line(3,"Hello, STM32F746G-Discovery")
lcdF7D.set_font(16)
lcdF7D.display_string_at_line(5,"Good collaboration with MicroPython !")
lcdF7D.deinit()

(http://www.micropython.org.cn/bbs/forum ... d&tid=1090)

mapy
Posts: 9
Joined: Sat Sep 29, 2018 9:49 am

Re: STM32 F7 Discovery

Post by mapy » Wed Sep 11, 2019 10:03 pm

Hello all, I've tryed it too and it works very well, I would like to use it on the current v1.11 version. Jimmo you mentioned "Should be pretty straightforward to rebase onto master" could you please point to any documentation on how to rebase that code?.
Thank you very much.

User avatar
ta1db
Posts: 29
Joined: Mon Sep 02, 2019 12:05 pm
Contact:

Re: STM32 F7 Discovery

Post by ta1db » Thu Sep 19, 2019 5:58 pm

mapy wrote:
Wed Sep 11, 2019 10:03 pm
...could you please point to any documentation on how to rebase that code?.
Thank you very much.
I would also appreciate very much..

Online
User avatar
jimmo
Posts: 631
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia

Re: STM32 F7 Discovery

Post by jimmo » Thu Sep 19, 2019 11:18 pm

Are you asking for advice on how to use"git rebase" or something specific to MicroPython?

Happy to answer both, just don't want to tell you stuff you already know.

Post Reply