Hi Expert,
We started working on first real board for our product (nothing flashed in a new xSPI NOR flash) .
As a first step, we checked JTAG connection using "Test Connection" with .ccxml in CCS. It was a success. And then we just executed a “debug session” in CCS. We used the same target config file used in AM243xEVM since our real board is using the same AM2434 AVL as EVM. In this step, we found an error shown like below,
Target failed to write 0x00000000
In our real board, we set boot mode like this, Primary boot mode is xSPI, and backup boot mode is UART. This is almost the same with EVM.
In the first test, when this error happened, we found some logs came out through UART like this “5020200000010000000100CCCCCCCCCCCCCCCCCC“. In my understanding, this means the processor is in the state of the UART boot mode.
So, in the second test, we just removed the backup boot setting register from the array of boot mode registers in PCB. Then nothing came from UART but still, the same error happened.
The root cause is unclear to me, and from my understanding, SBL_NULL bootloader is not required for JTAG operation on this board bring-up, but want to confirm this with you as well. I think there would be some steps and CCS scripts for board bring-up with JTAG but I was not able to find the information yet in TI documents.
For board bring-up, should I set "NO boot mode" instead of xSPI boot mode, and use "load_dmsc.js" as an initialization script of the target configuration? I think this is a way since there is no code in nor flash in the board. please correct me if this is a wrong approach.
To clarify checkpoints and the root cause, and fix the issue as soon as possible, I need TI expert’s help and guidance.
I would appreciate it if you share any checkpoints or experiences on this issue.
Regards,
Moonil

