mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-03 22:08:28 +00:00 
			
		
		
		
	The previous location was the return from the first ets_printf call that prints ROM sign-on message. Since the main function was patched in ECO3, the new address no longer works — there is no instruction at 0x40007901 in ECO3 ROM. This could be solved by setting two breakpoints (one would work for ECO <=2, the other for ECO3), but we would need to remove the unused breakpoint later. Fix this by setting the breakpoint at ets_printf. This means that when debugging a loadable ELF the ROM sign-on message will no longer be shown, but this doesn't seem to be an issue.
		
			
				
	
	
		
			15 lines
		
	
	
		
			307 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			307 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
set pagination off
 | 
						|
# Connect to a running instance of OpenOCD
 | 
						|
target remote 127.0.0.1:3333
 | 
						|
# Reset and halt the target
 | 
						|
mon reset halt
 | 
						|
# Run to a specific point in ROM code,
 | 
						|
#  where most of initialization is complete.
 | 
						|
thb *0x40007d54
 | 
						|
c
 | 
						|
# Load the application into RAM
 | 
						|
load
 | 
						|
# Run till app_main
 | 
						|
tb app_main
 | 
						|
c
 |