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.
Tool/software: Code Composer Studio
Hi
I using an LAUNCHXL-F28379D for my software. If I start the software with the debugger everything is working fine but if I reset the board or disable/enabe the power supply it doesn't start by it self.
To test it have just a LED that is blinking from startup.
I seems that the CPU1 will always being reseted. When I reset the board with the reset button on the board and then pause the debugging by press the pause button on CCS It will be very often inside the function
void __TI_decompress_lzss(pointer_to_const_t inbuf, pointer_t outbuf) in file copy_decompress_lzss.c
This behavior is related to the software size. If I comment out some lines of code then it works. (Even if they are not used).
The software is only running on CPU1 - is there something to do with CPU2?
After pressing the reset button on the board I couldn't program the board anymore.
I'll get this error messages and I have to terminate the debug session and start again.
C28xx_CPU2: Error executing PLL configuration algorithm. Operation cancelled. (0x0)
C28xx_CPU2: File Loader: Memory write failed: Unknown error
C28xx_CPU2: GEL: File: C:\ccs_workspace\led_ex1_blinky\CPU1_FLASH\led_ex1_blinky.out: Load failed.
C28xx_CPU1: Error occurred during flash operation: Internal error while writing 0x0005F444@Data
C28xx_CPU2: Error setting the GSxMSEL register for Flash operations
Do you have some advice?
Kind regards
René
Hi Todd
Thanks for the fast answer.
You mean this " 'Build Configurations' -> 'Set Active' -> 'Flash' "?
No, thats not my problem?
And I don't think its related to the linker command file because its working with less code.
An other idea?
Regards,
René
René,
Here are few things to check in this case.
1) How are the boot mode pins configured? Hope it is flash boot.
2) Do you have watchdog enabled? If yes, do you service it regularly? If not, please service it.
3) Do you have watchdog disabled in your codestartbranch.asm? If not, please try to disable it and see if it helps.
4) Did you change any default settings in the On-Chip Flash GUI of CCS? Please make sure "AutoEccGeneration" is enabled. If not, ECC errors occur leading to reset.
5) Can you program a simple empty loop in CPU2 and see if that fixes the issue? Maybe CPU2 is set to flash boot from your CPU1 and there is nothing programmed in CPU2 - hence CPU2 is causing a reset.
Regarding the error that you copied: It is saying that Plugin is not able to configure GSxMSEL register to be able to assign global RAM for CPU2 operations. CPU1 might be in reset and hence Plugin is not able to do CPU2 operations.
Thanks and regards,
Vamsi
Thanks Vamsi
You made my day - #3 was the right one.
I never had this issue in the past.
Why is that so inconsitent? In the F2806x or F2803x its disabled by default. But in the F2837xS and F2837xD it's enable by default.
Please disable it by default in all controllers in the next release of the C2000Ware.
Kind regards
René
René,
Glad it helped.
I will check with our team on why it is not consistent. I think it is enabled in recent devices since many applications are in to safety standards now, and they need watchdog to be enabled always.
I am closing this post.
Thanks and regards,
Vamsi