mirror of
https://github.com/hoglet67/AtomBusMon.git
synced 2025-01-02 23:32:02 +00:00
Firware: Fix a race condition when single stepping at slow (<= 1MHz) clock rates
Change-Id: Iee127a2765559d46f25c7fa1b2ad50cccba6cb9d
This commit is contained in:
parent
ac69ecdc21
commit
46d859f68c
@ -1053,6 +1053,9 @@ uint8_t logDetails() {
|
||||
}
|
||||
|
||||
void logAddr() {
|
||||
// Delay works around a race condition with slow CPUs
|
||||
// (really the STEP and RESET commands should be synchronous)
|
||||
Delay_us(100);
|
||||
memAddr = hwRead16(OFFSET_IAL);
|
||||
// Update the serial console
|
||||
logCycleCount(OFFSET_CNTL, OFFSET_CNTH);
|
||||
|
Loading…
Reference in New Issue
Block a user