OpenCores
URL https://opencores.org/ocsvn/openmsp430/openmsp430/trunk

Subversion Repositories openmsp430

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 118 to Rev 119
    Reverse comparison

Rev 118 → Rev 119

/openmsp430/trunk/tools/openmsp430-gdbproxy/commands.tcl
162,7 → 162,12
}
 
# Write memory
WriteMemQuick8 "0x$addr" $mem_val
if {$length==2} {
regexp {(..)(..)} $data match data_lo data_hi
WriteMem 0 "0x$addr" "0x${data_hi}${data_lo}"
} else {
WriteMemQuick8 "0x$addr" $mem_val
}
 
# Eventually re-set the software breakpoints in case they have been overwritten
set addr_start [format %d "0x$addr"]
193,6 → 198,7
 
# Read memory
set data [ReadMemQuick8 "0x$addr" $length]
 
# Eventually replace read data by the original software breakpoint value
set addr_start [format %d "0x$addr"]

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.