STM32L4+ support

This forum is dedicated to feedback, discussions about ongoing or future developments, ideas and suggestions regarding the ChibiOS projects are welcome.
faisal
Posts: 201
Joined: Wed Jul 19, 2017 12:44 am
Has thanked: 30 times
Been thanked: 25 times

STM32L4+ support

Postby faisal » Sat Mar 31, 2018 4:03 am

Any plans on support for the STM32L4+? If so, when?

User avatar
Giovanni
Site Admin
Posts: 11376
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 429 times
Been thanked: 361 times
Contact:

Re: STM32L4+ support

Postby Giovanni » Sat Mar 31, 2018 6:48 am

It is planned, it uses much of the work already done for H7.

Giovanni

faisal
Posts: 201
Joined: Wed Jul 19, 2017 12:44 am
Has thanked: 30 times
Been thanked: 25 times

Re: STM32L4+ support

Postby faisal » Wed Jun 27, 2018 3:28 pm

What is the status on the OS and HAL support for these devices? I'm expecting some custom boards with this processor soon ... One significant change seems to be the DMA controller.

I would appreciate an update, or some sort of estimate on when it will be supported so we can plan around it.

Thanks!

User avatar
Giovanni
Site Admin
Posts: 11376
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 429 times
Been thanked: 361 times
Contact:

Re: STM32L4+ support

Postby Giovanni » Wed Jun 27, 2018 3:34 pm

Some code has already been committed, no estimates yet. DMA support will be the same already done for H7, most drivers too.

Giovanni

User avatar
Giovanni
Site Admin
Posts: 11376
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 429 times
Been thanked: 361 times
Contact:

Re: STM32L4+ support

Postby Giovanni » Sat Jul 28, 2018 11:00 am

Update, it is proceeding, I am fining a lot of differences in ST headers. Apparently they decided to change register macro names because reasons...

Doing the patchwork...

Giovanni

User avatar
Giovanni
Site Admin
Posts: 11376
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 429 times
Been thanked: 361 times
Contact:

Re: STM32L4+ support

Postby Giovanni » Sat Aug 25, 2018 3:56 pm

Did anybody manage to make OpenOCD work with STM32L4plus? the current git master does not seem to support it.

Giovanni

User avatar
FXCoder
Posts: 133
Joined: Sun Jun 12, 2016 4:10 am
Location: Sydney, Australia
Has thanked: 36 times
Been thanked: 34 times

Re: STM32L4+ support

Postby FXCoder » Sun Aug 26, 2018 1:33 pm

I've built the L4R5-NUCLEO demo on trunk and flashed it with ST-LINK to a NUCLEO just to see if the LEDs blinked.
Blue and red do... green "looks" solid (or blinking at high rate perhaps).
Pressing USER button didn't produce test output via SD3->USB.

It seems we'd require a Windows build of openocd with this "cherry pick" update included to at least get started on ChibiStudio...
http://openocd.zylin.com/#/c/4310/

Will look at patching and building openocd as time permits.

--

Bob
Last edited by FXCoder on Sun Aug 26, 2018 2:34 pm, edited 1 time in total.

User avatar
Giovanni
Site Admin
Posts: 11376
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 429 times
Been thanked: 361 times
Contact:

Re: STM32L4+ support

Postby Giovanni » Sun Aug 26, 2018 1:54 pm

The demo is not tested (I am trying to setup OpenOCD just in order to do that).

Giovanni

User avatar
FXCoder
Posts: 133
Joined: Sun Jun 12, 2016 4:10 am
Location: Sydney, Australia
Has thanked: 36 times
Been thanked: 34 times

Re: STM32L4+ support

Postby FXCoder » Sun Aug 26, 2018 2:46 pm

Yes. Understood...

User avatar
FXCoder
Posts: 133
Joined: Sun Jun 12, 2016 4:10 am
Location: Sydney, Australia
Has thanked: 36 times
Been thanked: 34 times

Re: STM32L4+ support

Postby FXCoder » Mon Aug 27, 2018 12:06 pm

Giovanni.
Here is a quick hack W64 build of openocd that will at least get you running with L4+ testing.
I built it using Liviu Ionescu's GNU MCU build system for openocd.

Use board/st_nucleo_l4.cfg for session establishment.

There is no support for sector erase yet in the openocd patch for L4+ NOR flash.
Not sure if anyone is doing further work on the L4R/Sx support.
I have an L4R9 project in the works so would be good to have some further work on this soon... :D

Cheers,

--

Bob
Attachments
openocd.zip
(1.69 MiB) Downloaded 9 times


Return to “Development and Feedback”

Who is online

Users browsing this forum: No registered users and 3 guests