STM32L4+ support

This forum is dedicated to feedback, discussions about ongoing or future developments, ideas and suggestions regarding the ChibiOS projects are welcome. This forum is NOT for support.
User avatar
FXCoder
Posts: 384
Joined: Sun Jun 12, 2016 4:10 am
Location: Sydney, Australia
Has thanked: 180 times
Been thanked: 130 times

Re: STM32L4+ support

Postby FXCoder » Sat Sep 15, 2018 1:05 pm

Yes. Agree this is an excellent chip.
Reading the RM I found a treasure trove of capabilities.

FYI the new tracker using the L4+ is in final stages of layout...
- STM32L4R9
- 8MB PSRAM
- 2 x VHF/UHF radio transceivers
- GPS (UBLOX M8)
- Solar charging for LiPo
- 3 x power monitors (SOL, BATT, SYS)
- Camera (via STM DCMI this time.. prior F413 version used pseudo DCMI implemented with TIM CC trigger + DMA)
- Environment (BME280)
- SD card (reverse side)
- EEPROM for config and serial number store
- USB (of course)

Image

User avatar
FXCoder
Posts: 384
Joined: Sun Jun 12, 2016 4:10 am
Location: Sydney, Australia
Has thanked: 180 times
Been thanked: 130 times

Re: STM32L4+ support

Postby FXCoder » Tue Sep 18, 2018 10:10 am

FYI...
stm32l4x.c over on http://openocd.zylin.com/#/c/4654/ was just updated to add support for STM32L4X option bytes writing.
However, the L4+ device recognition, even sans the sector erase, wasn't included in that update.
So the latest version has sort of gone backwards for our needs.
Hence we are stuck with the current hacked openocd for a while I expect.

I'll may look at doing a patch to the above latest stm32l4x.c if I can figure it out.
But I should ask first if any of the guys are in fact already working on rolling the L4+ changes in plus adding sector erase.
Don't want to double up on WIP.

twarge
Posts: 4
Joined: Wed Dec 20, 2017 4:41 am
Been thanked: 2 times

Re: STM32L4+ support

Postby twarge » Tue Sep 18, 2018 7:15 pm

If you are having difficulty with your debugger it looks like it is supported by the wonderful blackmagic probe.

https://github.com/blacksphere/blackmag ... 32l4.c#L30

User avatar
FXCoder
Posts: 384
Joined: Sun Jun 12, 2016 4:10 am
Location: Sydney, Australia
Has thanked: 180 times
Been thanked: 130 times

Re: STM32L4+ support

Postby FXCoder » Fri Jan 18, 2019 2:18 pm

Hi,
Liviu just pushed out a release of GNU MCU Eclipse OpenOCD.
That has my L4+ sector erase based programming patch (went into the openocd master branch late last year).
So you can just install GNU MCU Eclipse OpenOCD (if you use that system) or extract the appropriate folders for use in Eclipse al la ChibiStudio style.

--
Bob


Return to “Development and Feedback”

Who is online

Users browsing this forum: No registered users and 24 guests