Part Number: AM6442
Hi,
I am using TI mcu_plus_sdk_am64x_09_00_00_31 and using to generate keywriter binary for my AM6442 device. There is a requirement of switching the EMMC hardware boot partition from the keywriter program for which I used the api provided by sdk 'MMCSD_enableBootPartition' but on passing the partition number as 2 the boot partition 2 was not enabled. So I wrote some functions to read and write the EXTCSD register index 179 to switch boot partitions manually. Attaching the screenshot of the implementation. With these implementations I am able to switch boot partition. Please review and suggest any modifications if implementation is not correct. 


Regards,
Ankur