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:
I want to develop a function for online updating of the program. I saved the new tiimage file in a new array and tried to write it to the address offset = 0x80000. Why does the program freeze when writing to 0x60000000?
Hello Wenjun,
Thanks for your query.
So I would need a little background on this
Please answer my few questions here.
Q1: You are using the latest MCU PLUS SDK.
Q2: You have a OSPI flash part and operating at 8D-8D-8D here.
Q3: You are performing an indirect write operation here/You are performing a write operation with DAC enabled
I want to develop a function for online updating of the program.
When you say online updating basically on the go right? So are you going to flash the image to the flash using uart uniflash?
Regards,
Vaibhav
1:THE mcu plus sdk version is 9.02.00
2:the flash is operating at 8D-8D-8D,flash is same as evm.S28HS512
3: I don't know the DAC enabled.
My program is partly the same as the “sbl_jtag_uniflash_am243x-evm” project. I store the tiimage
in an array, and the latter part is like this. The passed parameters are correct.
And I found a situation similar to my issue. How can I set the memory mapping attribute to 'strongly ordered'? Here is the URL, please take a look: ospi flash write - Code Composer Studio forum - Code Composer Studio︎ - TI E2E support forums"
Hi, wenjun.zhang.
How can I set the memory mapping attribute to 'strongly ordered'?
.tex =0 means strongly ordered.
.tex = 1 means shareable device
.text = 16 means Non shareable device.
Please verify Valibhav.
Thanks
Hi,
Thank you very much for your patience.
To set the memory mapping to strongly ordered you can leverage the use of SysConfig here.
Please make the changes as follows:
Edit the region start address and the region size as well.
And you can see that there is an option to enable strongly ordered easily from SysConfig itself.
Regards,
Vaibhav