Search found 7 matches

by zmolnar
Wed Mar 06, 2019 10:43 am
Forum: Bug Reports
Topic: STM32L432, STM32L433 and STM32L443 HAL port issues
Replies: 10
Views: 12300

STM32L432, STM32L433 and STM32L443 HAL port issues

Hi!

I discovered two possible issues in the HAL port of STM32L432, STM32L433 and STM32L443 micros:

1. it uses GPIOv3 driver. This might be wrong, as these micros don't have ASCR. (page 274)
2. In the config of STM32L433 MCU SPI2 and I2C2 are disabled although they do exist in the controller (page ...
by zmolnar
Tue Mar 05, 2019 8:31 pm
Forum: STM32 Support
Topic: STM32L452RC support
Replies: 1
Views: 2138

STM32L452RC support

Hi!

I designed a board using STM32L452RC and I've modified HAL to support this MCU. Everything compiles fine, but I couldn't try it so far, because the board is not ready yet.

I have some question regarding HAL. I modified hal_lld.h, stm32_registry.h and created a new linker script.

1. Why is a ...
by zmolnar
Fri Jul 20, 2018 8:51 am
Forum: Bug Reports
Topic: STM32F429-DISCOVERY demo unhandled exception and state checker issue
Replies: 12
Views: 9831

Re: STM32F429-DISCOVERY demo unhandled exception and state checker issue

Hi Giovanni!

I can confirm that the compiler provided by ARM solved the problem, now the application runs fine, the VCP works as expected.

The state-checker issue is still present.

Thanks for your help, I really appreciate it!

Zoltan
by zmolnar
Fri Jul 20, 2018 7:29 am
Forum: Bug Reports
Topic: STM32F429-DISCOVERY demo unhandled exception and state checker issue
Replies: 12
Views: 9831

Re: STM32F429-DISCOVERY demo unhandled exception and state checker issue

No, it is the official pre-built compiler taken from the ubuntu repository.

Code: Select all

arm-none-eabi-gcc --version
arm-none-eabi-gcc (15:6.3.1+svn253039-1build1) 6.3.1 20170620
Copyright (C) 2016 Free Software Foundation, Inc.


Zoltan
by zmolnar
Thu Jul 19, 2018 8:41 pm
Forum: Bug Reports
Topic: STM32F429-DISCOVERY demo unhandled exception and state checker issue
Replies: 12
Views: 9831

Re: STM32F429-DISCOVERY demo unhandled exception and state checker issue

Can it happen that it is a toolchain related problem?

I use GCC 6.3.1 which has a known issue with LTO, so I disabled that in the Makefile. If I compile it with -O0 it produces the result mentioned in my first post. If I compile it with -O2 the program doesn't stuck in unhandled exception but runs ...
by zmolnar
Wed Jul 18, 2018 1:38 pm
Forum: Bug Reports
Topic: STM32F429-DISCOVERY demo unhandled exception and state checker issue
Replies: 12
Views: 9831

Re: STM32F429-DISCOVERY demo unhandled exception and state checker issue

Hi,

latest trunk from github:

commit f28877c6aa3cdce70df027fb4872d7dde1c1a788 (HEAD -> master, origin/master, origin/HEAD)
Author: gdisirio <gdisirio@110e8d01-0319-4d1e-a829-52ad28d1bb01>
Date: Sat Jul 7 14:00:37 2018 +0000

Fixed an invalid path.

git-svn-id: m 110e8d01-0319-4d1e-a829 ...
by zmolnar
Wed Jul 18, 2018 1:23 pm
Forum: Bug Reports
Topic: STM32F429-DISCOVERY demo unhandled exception and state checker issue
Replies: 12
Views: 9831

STM32F429-DISCOVERY demo unhandled exception and state checker issue

Hello Everyone,

I try to run the demo provided for the discovery board, but I'm currently facing two problems:

1. The program ends up in unhandled exception vector when the USB cable is plugged in

Compiled with CH_DBG_ENABLE_TRACE=TRUE and -O0 I get the following result:

(gdb) load
Loading ...