Hello,
This question is related on another one I posted on the Sensors forum (see the link at the end of my post). I want to program my microcontroller (a PGA900) on its EVM board with an XDS probe, like it is explained on the controller's docs. However, I want to upload my code on a specific memory space of the chip, named DEVRAM, and leave the other space, named OTP, blank while I'm testing my code. I made the mistake to program on the wrong memory space a couple of times (see my post on the sensors forum for the details of what I did), so now I want to only use CCS and a debug probe. So, because I don't want to accidentally program again on the OTP memory, I want to be sure of a few things on CCS.
Firstly : What do I have to do on CCS to write my code only on the DEVRAM memory ? I edited the .cmd file of my project for the linker so that all the sections originally allocated to OTP are now allocated on DEVRAM (see the screenshot below of the modified file and the memory address schema). Is that the right thing to do, and is there something else I have to do ?
Secondly : After successfully linking to the PGA900 with CCS and the probe (I know it works because I could read the memory content and the registers), I tried to load my compiled program. However, I got a memory check error : "Cortex_M0_0: File Loader: Verification failed: Values at address 0x21000003 do not match Please verify target memory and memory map.". I suspect it might happen because the OTP memory was already written at that time : am I right ? If I try to load again my program on this failed PGA, I get the same error.
Link to the original question on the sensor forum : https://e2e.ti.com/support/sensors-group/sensors/f/sensors-forum/1201845/pga900-devram-programming-with-xds-probe
Best regards,
Benjamin GAY.