Dear Experts
I am working on bootloader function with tms570ls1227. I have downloaded an example from processors.wiki.ti.com/.../TMS570_Hercules_MCU_Bootloader
here are some questions:
firstly, in this example,the doc file is empty.so I cannot find any tutorial on this,so I cannot understand the author's design and idea
secondly, on this website, it says "After HDK reset, the start-up code copies the Flash API of boot loader from flash to SRAM, and execute the boot loader in Flash. " is this necessary ? why I need to do this? (what happened if I ignore this) and most importantly how to do this?
thirdly, according to SPNU501G, it says "API functions require execution in privilege mode" , must I enter the privilege mode? and how? any side effect? how to leave that mode?
and "The F021 Flash API library cannot be executed from the same bank as the active bank
selected for the API commands to operate on. On single bank devices, the F021 Flash API
must be executed from RAM."
tms570ls 1227 and 0432 only have one flash bank: bank0 , so f021 api must be copied from flash to ram?
sorry for my poor english
Any reply will be helpful and I appreciate that
Regards
Leo