AnsweredAssumed Answered

openocd arm-eabi-gdb i.mx6 get error looping in uboot

Question asked by jesse stone on Jan 17, 2016
Latest reply on Jan 18, 2016 by alejandrolozano

uboot breakpoint in

static void mxc_serial_setbrg(void)

 

r0    0x0  

r1    0x38400  

r2    0x0  

r3    0x38400  

r4    0x0  

r5    0x1  

r6    0x93ff34  

r7    0x0  

r8    0x1  

r9    0x93fde8  

r10    0x0  

r11    0x93fdac  

r12    0xfffffffd  

sp    0x93fd98  

lr    0x12054370  

pc    0x1205438c  

cpsr    0x200001d3  

sp_usr    0x0  

lr_usr    0x0  

r8_fiq    0x0  

r9_fiq    0x0  

r10_fiq    0x0  

r11_fiq    0x0  

r12_fiq    0x0  

sp_fiq    0x0  

lr_fiq    0x0  

sp_irq    0x0  

lr_irq    0x0  

sp_svc    0x93fd98  

lr_svc    0x12054370  

sp_abt    0x0  

lr_abt    0x0  

sp_und    0x0  

lr_und    0x0  

spsr_fiq    0x80a4210  

spsr_irq    0x28000b30  

spsr_svc    0x42042792  

spsr_abt    0x4012516  

spsr_und    0xc00ec2b8  

sp_mon    0x0  

lr_mon    0x0  

spsr_mon    0xe60003a0  

 

 

///////////

openocd

 

static int target_read_buffer_default(struct target *target, uint32_t address, uint32_t count, uint8_t *buffer)

address=0x93fd80

count=0x40

 

buffer get:

ACFD9300 70430512 C87C0812 00840300

00000000 00840300 01000000 00B4C404

0A000000 00000000 B4FD9300 44420512

BCFD9300 54450512 C4FD9300 20420512

 

////////

 

my uboot map

http://www.mediafire.com/download/6z511u1soj7gu8z/System.map

 

prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-gdb will always request openocd return value

add memset(buffer+60,0,4); will remove this error looping

 

anybody help me C4FD9300 20420512 whats it mean?

Outcomes