cancel
Showing results for 
Search instead for 
Did you mean: 

stm32f4 discovery n00b/debug question

pauls931
Associate
Posted on November 18, 2012 at 15:55

Sorry if this is a repost that I missed but I'm looking to play with one of these boards to practice porting RTOS's to such as uCOS II/III.  But I don't know much about the debug capabilities provided by STLINK/V2 built into the STM32F4 Discovery board.  Such as ....

1. Can I debug/single step starting at the reset vector?

2. Can I easily view registers/memory disassemble using STLINK?

Basically I've used JTAG debuggers in the past and wonder if just using USB to debug/program will give me similar debug capabilies.

Thanks.

4 REPLIES 4
orn
Associate II
Posted on November 18, 2012 at 16:03

Perhaps this document can be worthwhile:

http://www.keil.com/appnotes/files/apnt_230.pdf

orn
Associate II
Posted on November 18, 2012 at 16:06

Posted on November 18, 2012 at 16:44

While the pod facilitates those functions, it's going to depend on your IDE/debugger.

I can use the ST-LINK in Keil to do the aforementioned tasks, and step into code outside the project.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
pauls931
Associate
Posted on November 18, 2012 at 16:47

Thanks, looks like I should be good to go with ST-LINK outside of boundary scans which hopefully are not necessary in my case! 🙂

I basically want to be able to walk through bootstrap code just to see what's going on before getting to where an OS starts loading for my own education. (on the cheap)