Hello,
I am working on S32G399 and running LLCE firmware under FreeRTOS.
My environment is:
IDE: SW32G_S32DS_3.5.3_D2306
LLCE: LLCE_Standard_Driver_and_Firmware_1_0_8
RTD: 4_0_2_P12
FreeRTOS: SW32_FreeRTOS_10_4_6_UOS_4_0_2_DS_updatesite_D2307
When I run the project using debug probe, the llce_Firmware_Load() function executes normally.
However, when I boot the same image from QSPI flash, the function gets stuck.
By adding log prints around the code, I found that it hangs at:
 /* Put all cores in reset*/
Reg_Write32(LLCE_ENABLE_CORE_ADDR, 0x0);
After this line, the program does not continue.
Would you please help to check the issue?
Thanks,
Cheng-Hsun
 alejandro_e
		
			alejandro_e
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hello @ChengHsunLEE,
Thanks for reaching out to us and thanks for the very detailed description of your problem.
For now I have two suggestions to narrow down the problem:
- Debug the problematic program from flash. Please follow section Debugging with S32 Debug Probe from flash for all other targets from the S32DS_User_Guide.pdf located in C:\NXP\S32DS.3.5\S32DS\help\pdf, the exact path may very slightly depending on your S32DS version.
- Downgrade the RTD you are using to RTD 4.0.2 (with no patches), checking the release notes for the LLCE and FreeRTOS version you are using, the matching RTDs are 4.0.2. You could also try upgrading to RTD 5.0.0, LLCE 1.0.9 (please avoid using 1.0.10 there is a know issue with no known workaround) and FreeRTOS 4.0.3 CD3. Other combinations were not tested together and are not guaranteed to work properly.
You can also try any version of a software bundle offered in AUTO-SW-PACKAGE-MANAGER, the version in a bundle were testes together :
To avoid having too many problems, you can have a second installation of S32DS with different software versions, this is to avoid loosing your current setup in case the problem persists.
Please let me know if after any of my suggestions the behavior changed.
Some other questions:
- Have you been able to run LLCE examples in the past?
- Are you configuring XRDC in your project?
- Did this problem start when trying to use LLCE for the first time? or did it start when integrating another software module?
Thanks in advance.
 alejandro_e
		
			alejandro_e
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		