mirror of
https://github.com/hoglet67/AtomBusMon.git
synced 2024-12-22 01:30:18 +00:00
Some small bug fixes
Change-Id: I2119c57f24be5675b4530fda9dc3b971935706c7
This commit is contained in:
parent
17d02c19fa
commit
5dad7cf788
@ -358,7 +358,7 @@ char *modeStrings[NUM_MODES] = {
|
|||||||
#define BW_RDWR_MASK (BW_RD_MASK | BW_WR_MASK)
|
#define BW_RDWR_MASK (BW_RD_MASK | BW_WR_MASK)
|
||||||
|
|
||||||
// Mask for all breakpoints that read/write Memory or IO
|
// Mask for all breakpoints that read/write Memory or IO
|
||||||
#define B_RDWR_MASK (BW_RD_MASK & B_MASK)
|
#define B_RDWR_MASK (BW_RDWR_MASK & B_MASK)
|
||||||
|
|
||||||
/********************************************************
|
/********************************************************
|
||||||
* External Trigger definitions
|
* External Trigger definitions
|
||||||
@ -951,6 +951,7 @@ void doCmdReset(char *params) {
|
|||||||
hwCmd(CMD_STEP, 0);
|
hwCmd(CMD_STEP, 0);
|
||||||
Delay_us(50);
|
Delay_us(50);
|
||||||
hwCmd(CMD_RESET, 0);
|
hwCmd(CMD_RESET, 0);
|
||||||
|
logAddr();
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CPUEMBEDDED
|
#ifdef CPUEMBEDDED
|
||||||
|
@ -32,7 +32,7 @@ typedef signed short tt_s16;
|
|||||||
|
|
||||||
unsigned int get_memw(unsigned int addr) {
|
unsigned int get_memw(unsigned int addr) {
|
||||||
loadAddr(addr);
|
loadAddr(addr);
|
||||||
return readMemByteInc() + (readMemByteInc() << 8);
|
return (readMemByteInc() << 8) + readMemByteInc();
|
||||||
}
|
}
|
||||||
|
|
||||||
enum opcodes {
|
enum opcodes {
|
||||||
|
Loading…
Reference in New Issue
Block a user