-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial support for STM32 L5 & U5 devices and minor changes #1300
Conversation
Nightwalker-87
commented
Feb 14, 2023
•
edited
Loading
edited
- Initial support for STM32 L5 & U5 devices (Closes [feature] Support for STM32L5 / STM32L562E-DK board: read_debug32 returns only 0 #1005) (Closes [feature] Support for STM32U5-series #1096) (Reference initial l5 support #1247) (Closes Are chip IDs 482 and 497 known and should be supported? #1301)
- Updated CHANGELOG.md
- Updating windows signal handling to not terminate the application before clean-up.
- Log message improvements for st-flash
- Fix for option bytes on STM32G031G8 (Closes [STM32G031G8]: BOOT_LOCK is not possible to change on option bytes address 0x1FFF7870 #1194)
- Corrected flash_pagesize for STM32U5 - Updated STM32 core IDs - Added chip-id file for STM32H5 devices
- Corrected install path for gui executable - Changed directory for chip-id files
We need someone with L5 hardware here for final testing. |
@Nightwalker-87 I think L5 support also works like U5. And the problems with the previous PR were due to the fact that the dual bank mode was enabled on the board. To solve the problem of the previous PR, you need to add code below to the if (sl->chip_id == STM32_CHIPID_L5x2) {
uint32_t flash_optr;
stlink_read_debug32(sl, STM32L5_FLASH_OPTR, &flash_optr);
if (sl->flash_size == 512*1024 && (flash_optr & (1 << 22)) != 0) {
sl->flash_pgsz = 0x800;
}
} |
ok, I entered these lines there. |
- Simplified listing of supported devices - Corrected #define STM32L5_PWR_CR1_VOS - Check the return code of stlink_read_debug32 - Fix for flash register reading on L5x2 devices
- Updated pkg-version requirements - Updated version_support.md - Removed Ubuntu 18.04 from GH workflow
In this PR there is a removed build for Ubuntu 18. The minimum version remaining is Ubuntu 20.04 with libusb 1.0.23. |
I forgot about that ... 😥 |
- Updated version_support.md - Updated version requirements for libusb