Hi,
I tried to understand and follow the flow of the BSL_USB_GUI source code that is included in 'MSP430 USB Firmware Upgrade Example' package. I'm a bit confused of the RAM BSL, why is it that every time a user code is sent to MSP for updating via USB BSL it send the RAM BSL? Is the pre-programmed BSL that resides in Flash memory of my F5529 can't do it without reprogramming the BSL?
Code snippet from BSL_USB_GUI source code:
bool BSL_USB_GUI::DownloadView::DownloadStartUp(BackgroundWorker^ worker, DoWorkEventArgs ^ e , bool * massErased )
{
...
// Get RAM_BSL Data BYTE RAM_BSL[20000]; String^ ramBSLString = resources->GetString(L"RAM_BSL.Text"); StringToChar(ramBSLString,RAM_BSL); // Send RAM BSL worker->ReportProgress(20,"Sending RAM BSL v" + resources->GetString(L"RAM_BSL_VERSION") + "\r\n"); BSL_RX_TXT((char *) RAM_BSL, 1); BSL_LoadPC(0x2504); worker->ReportProgress(30,"Done RAM BSL v" + resources->GetString(L"RAM_BSL_VERSION") + "\r\n"); // Close BSL connection BSL_close_BSL();
...
}
Please help me understand.
Thanks