Page 1 of 2

STM32 F7 Discovery

Posted: Sat Apr 20, 2019 1:39 pm
by jrprogrammer
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

Re: STM32 F7 Discovery

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

viewtopic.php?f=3&t=4718

Re: STM32 F7 Discovery

Posted: Sun Apr 21, 2019 6:47 pm
by jrprogrammer
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

Re: STM32 F7 Discovery

Posted: Wed Sep 04, 2019 6:22 am
by ta1db
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?

Re: STM32 F7 Discovery

Posted: Wed Sep 04, 2019 7:05 am
by jimmo
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.

Re: STM32 F7 Discovery

Posted: Mon Sep 09, 2019 10:10 am
by ta1db
[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..

Re: STM32 F7 Discovery

Posted: Mon Sep 09, 2019 11:50 am
by ta1db
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)

Re: STM32 F7 Discovery

Posted: Wed Sep 11, 2019 10:03 pm
by mapy
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.

Re: STM32 F7 Discovery

Posted: Thu Sep 19, 2019 5:58 pm
by ta1db
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..

Re: STM32 F7 Discovery

Posted: Thu Sep 19, 2019 11:18 pm
by jimmo
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.