I am planning on writing code in C to allow me to output important product data via a UART when a crash occurs. To make it simple, I need to be able to set up the stack such that I can call C APIs. Unfortunately I am not an assembly coder, so I would appreciate it if someone can post code that achieves that.
Thanks in advance
 
					
				
		
 igorpadykov
		
			igorpadykov
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi Rafsol
one can look at linux documentation :
https://www.kernel.org/doc/html/latest/x86/exception-tables.html
https://stackoverflow.com/questions/2663456/how-to-write-a-signal-handler-to-catch-sigsegv
Best regards
igor
One more piece of information: it is a hifi3 processor
