Is it possible to port a firmware written for L4 series controller to L5 controller ? Both the controllers are pin to pin compatible.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-02-10 11:28 PM
I have a firmware written for STM32L496VG. I wanted the same firmware to work for STM32L562VE. I just checked that they both are pin to pin compatible and of course the register addresses are different, along with the clock configurations to be done.
Looking into the data sheet and mapping every other peripheral registers from L4 to L5 is one conventional way. But is there any other way to do that in a relatively quicker way ? will just replacing STM files (which contains the base addresses of registers) would do the trick ?
Kindly guide me on this
Solved! Go to Solution.
- Labels:
-
STM32CubeIDE
-
STM32L4 series
-
STM32L5 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-02-10 11:39 PM
Hello @VNara.1​ ,
I recommend you to refer to the application note AN5138: "Migrating from STM32L4 and STM32L4+ to STM32L5 Series microcontrollers", which provides a guideline to migrate from the STM32L4 or STM32L4+ Series, to the STM32L5 Series.
Imen
Thanks
Imen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-02-10 11:39 PM
Hello @VNara.1​ ,
I recommend you to refer to the application note AN5138: "Migrating from STM32L4 and STM32L4+ to STM32L5 Series microcontrollers", which provides a guideline to migrate from the STM32L4 or STM32L4+ Series, to the STM32L5 Series.
Imen
Thanks
Imen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-02-18 9:00 AM
If you used the HAL, and your code was reasonably well abstracted, in might take 1/2 a day or so to migrate.
If you did bare metal register level coding, clearly that will be more funner.
Up vote any posts that you find helpful, it shows what's working..
