AnsweredAssumed Answered

Error:  Couldn't write flash driver to target.  Please make sure that the chip selects are properly configured

Question asked by Yusuf Altıparmak on May 19, 2020
Latest reply on May 27, 2020 by Yusuf Altıparmak

Hello community

 

With using latest Code Warrior, I am trying to flash a new RCW and U-boot into T1042 based new custom board. When I set chipselects to bring up board with hardcoded-rcw, and when I try to flash .bin files to NOR flash, I got this error.

 

Console log from Code Warrior:

 

fl::target -lc "uboot-core00_SRAM_T1042_Download"
fl::target -b 0x0 0x40000
fl::target -v on -l off
cmdwin::fl::device -d "JS28F00AM29EWL" -o "64Mx16x1" -a 0xe8000000 0xefffffff
cmdwin::fl::image -f "C:\\Users\\yusuf\\Desktop\\tftpboot\\u-boot-nor-2018.09+fslgit-r0.bin" -t "Binary/Raw Format" -re off -oe on -o 0xeff40000
cmdwin::fl::erase image
Beginning Operation ...
-------------------------
Performing target initialization ...
Error: Connect Failed.
CCS: Connection refused
[CCS last error: Connection refused ](CCSProtocolPlugin)
Error: Connect Failed.
fl::target -lc "uboot-core00_SRAM_T1042_Download"
fl::target -b 0x0 0x40000
fl::target -v on -l off
cmdwin::fl::device -d "JS28F00AM29EWL" -o "64Mx16x1" -a 0xe8000000 0xefffffff
cmdwin::fl::image -f "C:\\Users\\yusuf\\Desktop\\tftpboot\\u-boot-nor-2018.09+fslgit-r0.bin" -t "Binary/Raw Format" -re off -oe on -o 0xeff40000
cmdwin::fl::erase image
Beginning Operation ...
-------------------------
Performing target initialization ...
fe0e0004 <m>0xde000000</m> ....
Downloading Flash Device Driver ...
Error: Couldn't write flash driver to target. Can not read target memory at location: 0x0000000000000000.Please make sure that the chip selects are properly configured.
The CWPP response code is: CCSProtocolPlugin : Error writing memory
[CCS last error: Scan timeout ].
Error: Couldn't write flash driver to target.Can not read target memory at location: 0x0000000000000000.
Please make sure that the chip selects are properly configured.
The CWPP response code is: CCSProtocolPlugin : Error writing memory
[CCS last error: Scan timeout ].

 

Any help about this situation ? What could be the reason. I can successfully flash with hardcoded rcw on t1042 demo board.

 

Thanks.

Outcomes