This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
We have connected our TMS320F280025C with a Linux based embedded computer. It is required to have over the air firmware update feature. The embedded computer having WiFi connectivity can remotely download the application file from a web server. The embedded computer has access to the microcontroller reset pin as well as boot mode select pins GPIO 24 and GPIO 32. GPIO24 is configured as BOOT1 whereas GPIO32 is configured as BOOT0 . Both pins are externally pulled high so that default selection is 0x011 (to boot from FLASH). The embedded computer should be driving the BOOT1 high during normal operations so that microcontroller starts code execution from FLASH. If firmware update is required then it will be driving the BOOT1 pin as 0 to select SCI boot. GPIO16 is configured as SCI_TX pin and GPIO17 is configured as SCI_RX pin. Based on this understanding, I have configured DCSM in the Sysconfig tool as shown below:
Flash entry address is chosen as 0x00080000 following the linker command settings:
MEMORY
{
BEGIN : origin = 0x080000, length = 0x000002
....
}
Kindly check if the settings are correct so that I don't ruin my Dev board by writing wrong OTP values.
I understand that all this is required since the default SCI boot pins are GPIO28 and GPIO29 otherwise I could use the default settings. Is there any way that we can use GPIO16 & GPIO17 as SCI boot pins without DCSM update. This can save us from manual firmware update on the empty microcontrollers.
Asad,
Subject matter expert is out of office due to holiday break. Please expect response by end of next week when expert is back in office. Sincere apology for inconvenience.
Hi Asad,
What you are doing in security tool configuration looks correct. I assume you want to configure the PSWDLOCK and CRCLOCK for specific reason in this case and also using SCI BOOT for BOOTDEF0/BOOTDEF1/BOOTDEF2 (all three) to avoid any boot mode.
On below point -
I understand that all this is required since the default SCI boot pins are GPIO28 and GPIO29 otherwise I could use the default settings.
I am not clear on why you can not use default setting for SCI boot ? If you are using those pins for some other function then you have to program the settings in USER OTP to change it.
Regards,
Vivek Singh
Hi Vivek Singh,
Thank you very much for an early response. In-fact we don't want to configure PSWDLOCK and CRCLOCK for any particular reason. I was assuming that it is mandatory requirement to configure these settings when configuring the boot options. These settings appear as soon as we check the "Configure this Section". Please advice how should we proceed for these settings?. There are two options for each i.e. enable or disable.
Kindly also let us know if there is any code generated for DCSM configuration. I have build the project with DCSM configs added but it appears that no additional code is being generated. Are these settings applied during program upload only?.
Hi Asad,
If you don't want to program it and just uncheck the "Configure this section" part for those settings. Please refer this appnote to know how to use the generated output files in your projects.
Regards,
Vivek Singh