Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extra clk config #1

Open
wants to merge 30 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
3286f7a
proDesign changes
dacieri Apr 24, 2023
f9ee803
Adding my scripts
dacieri Apr 24, 2023
889b3cd
clock configurations
dacieri May 4, 2023
1458fe3
adding prodesign and mpp scripts
dacieri May 4, 2023
3f30bfc
ibert free running configuration script
dacieri May 8, 2023
adbe1be
endurance clocks
dacieri May 8, 2023
309459b
ibert clock conf scripts
dacieri May 8, 2023
6d064a3
add_configuration script for ic11
May 10, 2023
be9a96a
Merge pull request #1 from dacieri/add_basic_ic11_config
dacieri May 10, 2023
fb748a6
include a command to see clock status
May 10, 2023
72762b3
update scripts
May 10, 2023
514b166
include a command to see clock status
May 10, 2023
be0ad08
Merge branch 'add_basic_ic11_config' of https://github.com/dacieri/md…
May 10, 2023
10dd631
Merge pull request #2 from dacieri/add_basic_ic11_config
dacieri May 11, 2023
86a3ac6
Include the delay in the clock chip configuration. Include a script t…
May 17, 2023
e94a22b
apply Markus workaround from his repo
Jun 7, 2023
e64411b
Merge pull request #3 from dacieri/add_serial_workaround
rimalroc Jun 7, 2023
38f16c3
remove the special degree character as it makes my life easier when p…
Jun 9, 2023
2152b2e
typo
Jun 9, 2023
0ac9252
add new command to read status registers on clocks
Jul 3, 2023
ddabbda
add missing function
Jul 3, 2023
0636bc7
start correcting stupid things
Jul 3, 2023
183d42e
stetical printing
Jul 3, 2023
2e1c874
update clk_status_regs, now the right registers for these chips
Jul 12, 2023
f347944
correct the bit for LoL
Jul 12, 2023
0f15d3f
fix bugs in sticky status
Jul 12, 2023
8d186ac
Merge pull request #4 from dacieri/clk_status_regs
dacieri Jul 19, 2023
f27efa6
IC12 regs
dacieri Jul 19, 2023
3f13143
adding IC12 to script
dacieri Jul 19, 2023
f56cd05
set up also ff2
Jul 31, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Firmware/Common/hw/gpio/gpio_pins.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Auth: M. Fras, Electronics Division, MPI for Physics, Munich
// Mod.: M. Fras, Electronics Division, MPI for Physics, Munich
// Date: 27 May 2022
// Rev.: 08 Mar 2023
// Rev.: 11 Oct 2022
//
// GPIO pin definitions and functions for the TI Tiva TM4C1290 MCU on the ATLAS
// MDT Trigger Processor (TP) Command Module (CM) prototype.
Expand Down Expand Up @@ -877,7 +877,7 @@ tGPIO g_sGpio_FPGACtrlStat0 = {
GPIO_PORTF_BASE,
GPIO_PIN_0, // ui8Pins
GPIO_STRENGTH_2MA, // ui32Strength
GPIO_PIN_TYPE_OD, // ui32PinType
GPIO_PIN_TYPE_STD, // ui32PinType
false, // bInput: false = output, true = input
0 // ui32IntType
};
Expand Down
2 changes: 1 addition & 1 deletion Firmware/Projects/boot_loader/bl_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

// Configure the serail boot loader to use the front panel mini USB port. If
// not defined, the SM SoC UART will be used.
//#define MDTTP_CM_MCU_BL_UART_FRONTPANEL
#define MDTTP_CM_MCU_BL_UART_FRONTPANEL



Expand Down
2 changes: 1 addition & 1 deletion Firmware/Projects/cm_mcu_hwtest/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ install: all ${COMPILER} ${COMPILER}/$(PROJECT).axf ${COMPILER}/$(PROJECT).bin

sflash: all $(COMPILER) $(COMPILER)/$(PROJECT).axf $(COMPILER)/$(PROJECT).bin $(SFLASH)
# Offest 0x4000 for boot loader.
@$(SFLASH) -c /dev/ttyUL1 -p 0x4000 -b 115200 -d -s 252 $(COMPILER)/$(PROJECT).bin
@$(SFLASH) -c /dev/ttyUSB0 -p 0x4000 -b 115200 -d -s 252 $(COMPILER)/$(PROJECT).bin

$(SFLASH):
@$(CD) $(shell $(DIRNAME) $(SFLASH)) && $(MAKE)
Expand Down
2 changes: 1 addition & 1 deletion Firmware/Projects/cm_mcu_hwtest/cm_mcu_hwtest_gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Auth: M. Fras, Electronics Division, MPI for Physics, Munich
// Mod.: M. Fras, Electronics Division, MPI for Physics, Munich
// Date: 03 Jun 2022
// Rev.: 24 Feb 2024
// Rev.: 07 Jun 2022
//
// GPIO functions of the hardware test firmware running on the ATLAS MDT
// Trigger Processor (TP) Command Module (CM) prototype MCU.
Expand Down
Loading