Hi,
My customers are developing an application using AM5746.
Customer has made a program that checks the "program area" on SDRAM during program execution and detects unexpected writes such as garbled SDRAM.
Customer has made program that checks "program area" on SDRAM during program execution and detects unexpected writes such as garbled SDRAM. They target [.text] and [.rodata] sections on memory map.
Now customers are worried about [.rodata] being written by PDK driver.
For example, USB_open() of pdk,
USB_config[] array is rewritten, -> data in [.rodata] section is changed -> false detection.
There is a method that doesn't use "const" of USB_config[], but we are looking for another method because we don't know the effect of this change.
Question 1:
Is there a good way?
Question 2:
Is there any other driver that write [.rodata] or [.text] section_ They are looking for countermeasures as well as Q1.
AM574x
CCS v8
GCC GNU v6.3.1(Linaro)
HW AM57 Custom Board
SW pdk_am57xx_1_0_11
bios_6_76_00_08
XDCTools 3.50.3.33