Changing boot register during run time for firmware upgrade

Discussion around products based on ARM Cortex-A5 core.

Moderator: nferre

lquasar
Posts: 5
Joined: Mon Sep 03, 2018 11:43 am

Changing boot register during run time for firmware upgrade

Thu Jan 10, 2019 7:11 pm

Hello everyone,

I have Atmel sama5d2 based board. What i would like to know if there is way that during runtime of baremetal application if user chooses to change functionality of the board, software can access bootregister (bureg0,1), bscr register and change the external memory for booting up. I searched online but could not find any example code which would help me to figure the way to do it. So basically i would want to switch between bureg0 and bureg1 register when needed without using sam-ba software.

Best regards
blue_z
Location: USA
Posts: 1960
Joined: Thu Apr 19, 2007 10:15 pm

Re: Changing boot register during run time for firmware upgrade

Fri Jan 11, 2019 11:21 pm

lquasar wrote: ... software can access bootregister (bureg0,1), bscr register and change the external memory for booting up.
Simply access those registers at their defined addresses.
Refer to the SoC datasheet.

lquasar wrote: I searched online but could not find any example code which would help me to figure the way to do it.
Refer to the Atmel SoftPack version 2.x.

Regards

Return to “SAMA5D Cortex-A5 MPU”

Who is online

Users browsing this forum: No registered users and 4 guests