Part Number: TMS320F28335
Other Parts Discussed in Thread: C2000WARE
Tool/software:
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.
Part Number: TMS320F28335
Other Parts Discussed in Thread: C2000WARE
Tool/software:
Hello Dipak,
Unfortunately, this device only inherently supports items 4 and 8 on your requirements (as per datasheet Features), so the rest are not supported by the hardware and/or need to be implemented by the user. For example, Secure Boot is only available on newer devices.
However, we have a Serial Flash Programming Application Note that you can reference for item 4 and there's example code located in C2000ware SDK. The serial flash kernel example can be found at <your C2000ware root>\device_support\f2833x\examples\f28335_flash_kernel
Regarding general information about custom bootloaders, the Boot ROM source code (device bootloaders) is available in C2000ware at <your C2000ware root>\libraries\boot_rom\f2833x\v2_0\rom_sources\source. These can be referenced when developing your custom bootloader.
Warm regards,
Matt
Hi Matt Kukucka,
I apologize for the delayed response.
I am currently working on developing a external flash-based firmware updates.
I have an SPI-based external EEPROM, and my goal is to store the new firmware in the external memory via UART. After verifying the firmware, the system will update from the external flash.
Can you please guide me how to start with it and do you have any code or link something which can guide me in detail?
Best regards,
Dipak
Hi Dipak,
I have an SPI-based external EEPROM, and my goal is to store the new firmware in the external memory via UART.
You mentioned you are using an SPI-based EEPROM, but want to load it via UART? What is sending this UART data to the EEPROM?
After verifying the data, you want to do a firmware update with the image on the external EEPROM. Is this going to be via SPI or UART? What is involved in the verification process?
Warm regards,
Matt
Hi Matt,
I hope this message finds you well.
I would like to clarify the firmware update process I am implementing.
I am currently receiving firmware data over UART while the application is running, I have external EEPROM which is SPI based.
First, I will collect the firmware data via UART and store it in the EEPROM while the normal application operates. Once all data is received and stored in the EEPROM, I will update a flag in the internal flash to indicate that a firmware update is available.
Upon a reset of the MCU or a software reset, the system will first check the flag in internal flash. If a firmware update is indicated, it will fetch the data from EEPROM and write it to the internal flash of the MCU to complete the update process.
Additionally, I would appreciate it if you could provide the code for the SPI-based bootloader and flash write operations. I already have the code for firmware validation.
Thank you for your assistance!
Best regards,
Dipak
Hi Dipak,
You can find the F2833x SPI bootloader in your C2000ware root at: libraries\boot_rom\f2833x\v2_0\rom_sources\source
and the F2833x flash kernel is in your C2000ware root at: device_support\f2833x\examples\f28335_flash_kernel
Best,
Matt
Hi Matt,
Can you please explain me how to set memory address for bootloader and application area?
I have no idea how to set application address and custom boot address in linker file?
please guide me how to proceed...
Best and regards,
Dipak
Hi Dipak,
Here's an intro to linker command files that may be helpful. If you have further questions specific to linker command files, please submit them on a separate E2E thread so it can be directed to the correct expert.
Best,
Matt