Skip to content
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

STM32L021 mis-identified as STM32L011 and incorrect sram size reported #1143

Closed
djix123 opened this issue May 19, 2021 · 2 comments · Fixed by #1144
Closed

STM32L021 mis-identified as STM32L011 and incorrect sram size reported #1143

djix123 opened this issue May 19, 2021 · 2 comments · Fixed by #1144

Comments

@djix123
Copy link
Contributor

djix123 commented May 19, 2021

st-info --probe mis-reports a STM32L021D4 as a STM32L011 (same chipid: 0x0457) together with incorrect sram size (8192 bytes, when it should be 2048 bytes). The STM32CubeProgrammer software reports STM32L01x/STM32L02x

% st-info --probe
Found 1 stlink programmers
version: V2J37S7
serial: 46004800110000315037504E
flash: 16384 (pagesize: 128)
sram: 8192
chipid: 0x0457
descr: L011

@Ant-ON
Copy link
Collaborator

Ant-ON commented May 19, 2021

@djix123 This is normal. Everything should work correctly. I will try to correct the target names soon.

@djix123
Copy link
Contributor Author

djix123 commented May 19, 2021

@Ant-ON I created a pull request to change the description. If you'd like a different description I can change etc ...

Also, I didn't update the sram to 2048 since whilst all L021/L011 parts are 2k, there are L010 parts that are 8k / 20k.

@Nightwalker-87 Nightwalker-87 linked a pull request May 19, 2021 that will close this issue
@Nightwalker-87 Nightwalker-87 added this to the v1.7.1 milestone May 19, 2021
@stlink-org stlink-org locked as resolved and limited conversation to collaborators May 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants