Anyone has the GDB inicialization commands to debug in LPC1768?

OP (Company: Student) #2151298
Rate this post
useful
not useful
Hi...

I will answer myself:
I found the commands in a polish website:
http://www.freddiechopin.info/index.php ... y/35-arm/5 
9-arm-toolchain-tutorial?start=4

monitor reset
Monitor soft_reset_halt
MWW monitor 0xE01FC040 0x0002
load


I also put in the run commands:

monitor reg r13 = (0x10000000)
monitor reg pc = (0x10000004)
continue


That was all, but it was so difficult to find. Now i can debug on chip 
with my LPC1768!

Reply

Please log in before posting.

or

Log in with Google account

Registration is free and takes only a minute.

Register now