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.

IWR1642: How to download code to R4F in CCS when flash is blank?

Part Number: IWR1642

Hi,

My customer soldered a SPI flash to their IWR1642 ES1.0 board and then found the flash is not supported by ROM. So they need to set the QE bit by software. As the flash is already on board, it is not convenient to use external programmer to burn the QE bit.

I think we can try to set the QE bit in CCS by downloading the code to set the QE bit. But as the spi flash is not supported, even burn the ccsdebug bin to flash, the code can't work.

I have tried to connect the R4F when the flash is blank and it is ok. But when I tried to download the code to R4F, it has below error. So there should be some configure missed.

Cortex_R4_0: Trouble Writing Memory Block at 0x0 on Page 0 of Length 0x3c: (Error -1065 @ 0x0) Unable to access device memory. Verify that the memory address is in valid memory. If error persists, confirm configuration, power-cycle board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 7.0.100.0)
Cortex_R4_0: File Loader: Verification failed: Target failed to write 0x00000000
Cortex_R4_0: GEL: File: C:\ti\mmwave_sdk_02_00_00_04\packages\ti\utils\ccsdebug\xwr16xx_ccsdebug_mss.xer4f: Load failed.

Do you have gel for R4F which can init the R4F so customer can download the code to R4F?