AnsweredAssumed Answered

Stm32 linux crypto question not start @ main

Question asked by yu.jeff.001 on Jan 17, 2017
Latest reply on Jan 17, 2017 by Clive One

Hi , i am new to linux,

i am using crypto 3.0 package and stm32F205xx and

encounter several problem :


i write my own makefile and linker script (mostly copy from guthub)

I use stlink-texane and gdb to debug, here are several question:



Type "apropos word" to search for commands related to "word"...
Reading symbols from main.elf...done.
(gdb) tar ext:4242
Remote debugging using :4242
0x08000354 in SystemInit () at system_stm32f2xx.c:154
154      RCC->CR &= (uint32_t)0xFFFBFFFF;
(gdb) s
157      RCC->CIR = 0x00000000;
(gdb) s
s169    }


I was wonder why it don't start @ main.c

Anything i would come wrong?


2) I try to apply some simple test say i add some variable

unsigned char test = 100 @ line 100

and then once i debug

"b main.c:100" and continue

when i use "p test" (which i expected it come out 100, it gives another value

I would please if anyone can help.