Tool/software:
Hello,
ive searched quite a bit but couldnt find anything useful. Is it possible to program external flash via emif through the normal debug connection (xds110v2 jtag), and if so how can i do it?
Kind Regards Tobi
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.
Tool/software:
Hello,
ive searched quite a bit but couldnt find anything useful. Is it possible to program external flash via emif through the normal debug connection (xds110v2 jtag), and if so how can i do it?
Kind Regards Tobi
Hi Tobi,
Technically it's possible but we do not have support for this.
Vivek Singh
Thanks for the reply. Do you have any idea how to do it? The main problem seems to have a custom flash write routine in a gel file. The flash chip has a special program sequence where you need to write each word in between commands. So if it would be possible to pass data through a function and if it matches a specific address range it uses a different algorith that would be great.
Kind Regards Tobi
Hi Tobi,
Is there any specific reason to do it via JTAG only ? Can they use one of the device bootloader to bring-in the flash programming code and then use what ever interface needed to program the external flash ?
What you have mentioned should be also possible. I need to check on passing the data to function in Gel file. I assume data will be in a file.
Vivek Singh
Hey,
JTAG would be preferable for the moment as we are in developement. Later it should be programmed via the bootloader. Im very flexible how it is done. Writing code and data to external ram via jtag works fine by initializing emif in the gel script. The flash chip on the other hand needs every single word to be programmed via a specific sequence and then wait until completion.
This would be related to how GEL_Load interacts with the internal flash memory as this isnt straight forward writing data to some adresses to.
Kind Regards Tobi
Hi,
This would be related to how GEL_Load interacts with the internal flash memory as this isnt straight forward writing data to some adresses to.
We have proper plug-in for internal flash loading and same thing need to be developed for external flash programming. I'll have to refer this to our SDTO team to see if they have some suggestion on this.
Regards,
Vivek Singh
We have proper plug-in for internal flash loading and same thing need to be developed for external flash programming
Yes, GEL load would call in internal flash programmer for loading the program to internal flash - just like the CCS debugger would. This would not work for external flash and as Vivek mentioned this would need to be developed as nothing exists for this right now.
Hi,
do you have any idea how this can be done by myself. So any points where i can work on to enable flash via jtag?
Also whats the sense then to have external flash support for the bigger c2000 devices if i cant flash it in some way without an external flashing device?
Kind Regards Tobi
These are questions best answered by the device experts. I will bring this thread to their attention.