2011-12-14 06:42 AM
hi
i got a strange problem and i dont know how to fix it... my projekt contains a board with the stm32f207 and i want to programm it with the olimex arm-urb-tiny-h using openocd 0.6.0. i program it in two stages: first stage the bootloader and second stage the main rom. the bin files are ok and running. the problem is: if i got a brand new board with a never before programmed cpu i can start programming it, verification of the first part passes and gets verified. after that the programming of the main code starts and completes with ''wrote xy bytes ...''. after that some jtag commands and then ''error: timed out while waiting for target halted''. the cpu does not run after this. unpowering it and powering again and repeating the programming will succeed with both bins verified and the cpu runs. and there will never be the error again... bur thats a) no solution for industrial use now and b) i would like to know why this is and how i can fix it... any ideas?2011-12-14 09:37 PM
Plz check if there is some patch files missing for stm32f207 for that debugger.
Also there could be some boot problem. Change your boot option and give a reset to your board and recheck with the original boot option.2011-12-15 04:04 AM
I think I had some similar problem, which I solved by adding
reset_config trst_and_srstto my config2011-12-15 08:10 PM
Thts gud.