Hi I have problem like in the topic. I used sfh to erase SPI and then tried to rebild UBL and u-boot by "..\sfh_OMAP-L138.exe -flash <UBL binary file> <binary application file>" like here: http://processors.wiki.ti.com/index.php/Serial_Boot_and_Flash_Loading_Utility_for_OMAP-L138 . Now I can't oparate in CCS emulationg my projects. Please help me. I'm getting errors:
first TMS320C674X_0
Error connecting to the target:
Error 0x80000240/-1180
Fatal Error during: Initialization, OCS,
The target is stuck in Wait-in-Reset mode. The applied reset must be released before progressing.
I/O Port = 0
Board Name: C6748_XDS100
Cpu Name: TMS320C674X_0
Abort: Close Code Composer Studio.
Retry: Try to connect to the target again.
Cancel: Remain disconnected from the target
Diagnostic: Run diagnostic utility.
then ICEPICK_C_0
Error:
Error 0xA0002020/-150
Error during: Execution, Control,
This error was generated by TI's USCIF driver.
SC_ERR_POD_FAIL <-150>
This utility failed to operate the adapter for a custom emulator.
The adapter returned an error for unknown reasons.
EDIT:
The problem is solved if I turn ON dip switches S7:5 and S7:8 ON - this is debug mode, but I never did it earlier. I just used default SPI mode and it work fine. Why is it not working now, when I erased flash and rewrote u-boot + UBL??