lx9_dave: Baud rate now 115200

Change-Id: I6d29b7ff143828ff78a21a717a3c638553505d81
This commit is contained in:
David Banks 2019-11-11 11:16:42 +00:00
parent 2da36ccb22
commit 849300b51c
9 changed files with 29 additions and 9 deletions

View File

@ -1591,7 +1591,7 @@ void initialize() {
STATUS_DDR = MUXSEL_MASK;
MUX_DDR = 0;
CTRL_PORT = 0;
Serial_Init(57600);
Serial_Init(BAUD);
version();
// Update the hardware copy of the breakpoints
uploadBreakpoints();

View File

@ -99,7 +99,7 @@ begin
wrapper : entity work.MC6809CpuMon
generic map (
ClkMult => 8,
ClkMult => 12,
ClkDiv => 25,
ClkPer => 20.000,
num_comparators => num_comparators,

View File

@ -116,7 +116,7 @@ begin
generic map (
UseT65Core => UseT65Core,
UseAlanDCore => UseAlanDCore,
ClkMult => 8,
ClkMult => 12,
ClkDiv => 25,
ClkPer => 20.000,
num_comparators => num_comparators,

View File

@ -127,7 +127,7 @@ begin
wrapper : entity work.Z80CpuMon
generic map (
ClkMult => 8,
ClkMult => 12,
ClkDiv => 25,
ClkPer => 20.000,
num_comparators => num_comparators,

View File

@ -8,6 +8,10 @@ SHELL := env PATH=$(PATH) /bin/bash
# Frequency of the AVR CPU
F_CPU ?= 15855484
# Default Baud Rate of serial interface
# Note: F_CPU / 16 / BAUD need to be close to an integer
BAUD ?= 57600
# Path of the back anotated block memory map file
BMM_FILE ?= memory_bd.bmm
@ -18,7 +22,7 @@ OBJCOPY=avr-objcopy
PROG = avr_progmem
CFLAGS=$(CPU_CFLAGS) -DF_CPU=${F_CPU}UL -mmcu=$(MCU) -Wall -Os -mcall-prologues
CFLAGS=$(CPU_CFLAGS) -DF_CPU=${F_CPU}UL -DBAUD=${BAUD} -mmcu=$(MCU) -Wall -Os -mcall-prologues
OBJECTS=AtomBusMon.o status.o $(CPU_OBJECTS)

View File

@ -11,7 +11,11 @@ PROJECT = MOS6502CpuMonALS
TARGET = ice6502
# Frequuency that the AVR runs at
F_CPU = 16000000
F_CPU = 24000000
# Default Baud Rate of serial interface
# Note: F_CPU / 16 / BAUD need to be close to an integer
BAUD = 115200
# Common include files
include $(COMMON)/Makefile_$(TARGET).inc

View File

@ -11,7 +11,11 @@ PROJECT = MOS6502CpuMonALS
TARGET = ice65c02
# Frequuency that the AVR runs at
F_CPU = 16000000
F_CPU = 24000000
# Default Baud Rate of serial interface
# Note: F_CPU / 16 / BAUD need to be close to an integer
BAUD = 115200
# Common include files
include $(COMMON)/Makefile_$(TARGET).inc

View File

@ -11,7 +11,11 @@ PROJECT = MC6809CpuMonALS
TARGET = ice6809
# Frequuency that the AVR runs at
F_CPU = 16000000
F_CPU = 24000000
# Default Baud Rate of serial interface
# Note: F_CPU / 16 / BAUD need to be close to an integer
BAUD = 115200
# Common include files
include $(COMMON)/Makefile_$(TARGET).inc

View File

@ -11,7 +11,11 @@ PROJECT = Z80CpuMonALS
TARGET = icez80
# Frequuency that the AVR runs at
F_CPU = 16000000
F_CPU = 24000000
# Default Baud Rate of serial interface
# Note: F_CPU / 16 / BAUD need to be close to an integer
BAUD = 115200
# Common include files
include $(COMMON)/Makefile_$(TARGET).inc