Page 3 of 3

Re: STM32L4+ support

Posted: Sat Sep 15, 2018 1:05 pm
by FXCoder
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

Re: STM32L4+ support

Posted: Tue Sep 18, 2018 10:10 am
by FXCoder
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.

Re: STM32L4+ support

Posted: Tue Sep 18, 2018 7:15 pm
by twarge
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

Re: STM32L4+ support

Posted: Fri Jan 18, 2019 2:18 pm
by FXCoder
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