I am trying to write some data for SRAM 3 region, which locates at 0x2003 0000 accroding to User manual.
But this results in hardFault. Any other regions of SRAM work properly.
Here is example of my code:
Stack, data and heap placed in SRAM 0, so, region 3 should be free.
解決済! 解決策の投稿を見る。
According to the data sheet, LPC55S28 does not have SRAM3 (which is probably why it was missing in the original project setup).
LPC55S28 is a device with total ram of 256k, and such devices do not have SRAM3. See attached screenshots from the data sheet and user manual.
 
					
				
		
 Alice_Yang
		
			Alice_Yang
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hello Alex,
Have you define the SRAM3 space in memory detail:
Regards,
Alice
At default configuration there is no SRAM3 (RAM from 0x2000 0000 to 0x2003 0000 is SRAM 0,1,2 in user manual).
I have added SRAM3 by increasing size:
But nothing changes.
 
					
				
		
 Alice_Yang
		
			Alice_Yang
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hello Alex,
Please share your whole project, I will help to check it on my side, thanks.
Regards,
Alice
Alice, I think that this issue is resolved and you don't need to check my project.
Thank you.
 
					
				
		
 Alice_Yang
		
			Alice_Yang
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		OK, thanks!
According to the data sheet, LPC55S28 does not have SRAM3 (which is probably why it was missing in the original project setup).
LPC55S28 is a device with total ram of 256k, and such devices do not have SRAM3. See attached screenshots from the data sheet and user manual.
Yeah, I think you are right. I just thought that usb-ram and ram-x is not included into 256k size.
Thank you.
