<JoseT>
Hi All, I see an issue to set breakpoint at main, Can someone help in explaining why this will happen?
<JoseT>
Info : [cc2340r5.cpu] only breakpoints of two bytes length supported
<JoseT>
Error: [cc2340r5.cpu] can't add breakpoint: resource not available
<JoseT>
Version used -> Open On-Chip Debugger 0.12.0+"my changes"
<karlp>
hr, that sounds familiar...
<karlp>
gdb version?
<karlp>
either way, the debug code for that and the source should be clear about what went wrong in that case isn't it?
sbach has quit [Ping timeout: 260 seconds]
PaulFertser has quit [Read error: Connection reset by peer]
PaulFertser has joined #openocd
<JoseT>
gdb-version is 14.2.. From the openocd source it looks like error is issued if breakpoint->length != 2. I am not explicitly setting anything here. One observation is that address of my main is 3 bytes long. And the debug session is working for smaller application were the address is 2 bytes long. Application is loaded to flash and breakpoint in
<JoseT>
main should trigger a hw bp
JoseT has quit [Quit: Client closed]
PaulFertser has quit [Ping timeout: 276 seconds]
JoseT has joined #openocd
JoseT has quit [Quit: Client closed]
JoseT has joined #openocd
JoseT has quit [Quit: Client closed]
PaulFertser has joined #openocd
RoganDawes has joined #openocd
RoganDawes has left #openocd [#openocd]
jfsimon1981a has quit [Remote host closed the connection]
jfsimon1981a has joined #openocd
jfsimon1981a has quit [Remote host closed the connection]
jfsimon1981a has joined #openocd
jfsimon1981a has quit [Remote host closed the connection]
jfsimon has joined #openocd
Hawk777 has joined #openocd
ALTracer has joined #openocd
ALTracer has quit [Quit: Quit]
sbach has joined #openocd
jfsimon has quit [Remote host closed the connection]
sbach has quit [Ping timeout: 265 seconds]
jfsimon has joined #openocd
jfsimon has quit [Remote host closed the connection]
jfsimon has joined #openocd
sbach has joined #openocd
nerozero has quit [Ping timeout: 252 seconds]
sbach has quit [Ping timeout: 260 seconds]
nashpa has quit [Ping timeout: 276 seconds]
dliviu has joined #openocd
zjason` has joined #openocd
zjason has quit [Ping timeout: 276 seconds]
jfsimon has quit [Remote host closed the connection]