-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Rev 2 CM Updates * define Rev1 explicitly * UART0 as UART for CLI * Rev1 all K_-> F1_, V_->F2_ * MCU ADC updates for Rev2 * pinmux and pinout * pinout makefile * I2C information for LGA80D in Rev2 * UART test * updates for the boot loader for Rev2 * Update Makefile --force REV1 or REV2 to be set * Add a way to read out arbitrary LGA80D register * Fix bug with i2crr * Update bl_link.ld -- add vtable explicitly * fix FF device addresses for Rev2 * Change from hardcoded value to NFIREFLIES for firefly status etc commands * Add firefly task suspend command
- Loading branch information
Showing
49 changed files
with
2,767 additions
and
553 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,302 @@ | ||
/** | ||
* These arguments were used when this file was generated. They will be automatically applied on subsequent loads | ||
* via the GUI or CLI. Run CLI with '--help' for additional information on how to override these arguments. | ||
* @cliArgs --device "TM4C129x" --package "128 Pin QFP|32x32" --part "TM4C1290NCPDT" | ||
* @versions {"tool":"1.9.0+2015"} | ||
*/ | ||
|
||
/** | ||
* These are the peripherals and settings in this configuration | ||
*/ | ||
const iADC1 = scripting.addPeripheral("ADC"); | ||
iADC1.$name = "ADC1"; | ||
iADC1.$assign = "ADC1"; | ||
iADC1.AIN14.$assign = "ball.2"; | ||
iADC1.AIN0.$assign = "ball.12"; | ||
iADC1.AIN17.$assign = "ball.19"; | ||
iADC1.AIN4.$used = false; | ||
iADC1.AIN6.$used = false; | ||
iADC1.AIN15.$assign = "ball.1"; | ||
iADC1.AIN12.$assign = "ball.4"; | ||
iADC1.AIN2.$assign = "ball.14"; | ||
iADC1.AIN11.$used = false; | ||
iADC1.AIN19.$assign = "ball.21"; | ||
iADC1.AIN16.$assign = "ball.18"; | ||
iADC1.AIN13.$assign = "ball.3"; | ||
iADC1.AIN9.$used = false; | ||
iADC1.AIN8.$used = false; | ||
iADC1.AIN1.$assign = "ball.13"; | ||
iADC1.AIN3.$assign = "ball.15"; | ||
iADC1.AIN18.$assign = "ball.20"; | ||
iADC1.AIN10.$used = false; | ||
iADC1.AIN7.$used = false; | ||
iADC1.AIN5.$used = false; | ||
const iADC2 = scripting.addPeripheral("ADC"); | ||
iADC2.$name = "ADC0"; | ||
iADC2.AIN14.$used = false; | ||
iADC2.AIN0.$used = false; | ||
iADC2.AIN17.$used = false; | ||
iADC2.AIN4.$assign = "ball.128"; | ||
iADC2.AIN6.$assign = "ball.126"; | ||
iADC2.AIN15.$used = false; | ||
iADC2.AIN12.$used = false; | ||
iADC2.AIN2.$used = false; | ||
iADC2.AIN11.$assign = "ball.120"; | ||
iADC2.AIN19.$used = false; | ||
iADC2.AIN16.$used = false; | ||
iADC2.AIN13.$used = false; | ||
iADC2.AIN9.$assign = "ball.123"; | ||
iADC2.AIN8.$assign = "ball.124"; | ||
iADC2.AIN1.$used = false; | ||
iADC2.AIN3.$used = false; | ||
iADC2.AIN18.$used = false; | ||
iADC2.AIN10.$assign = "ball.121"; | ||
iADC2.AIN7.$assign = "ball.125"; | ||
iADC2.AIN5.$assign = "ball.127"; | ||
const iGPIO1 = scripting.addPeripheral("GPIO"); | ||
iGPIO1["0"].io = "outputOpenDrain"; | ||
iGPIO1["0"].$assign = "ball.5"; | ||
iGPIO1.$name = "_I2C_RESET_PWR"; | ||
const iGPIO2 = scripting.addPeripheral("GPIO"); | ||
iGPIO2["0"].io = "outputOpenDrain"; | ||
iGPIO2["0"].$assign = "ball.6"; | ||
iGPIO2.$name = "_I2C_RESET_CLOCKS"; | ||
const iGPIO3 = scripting.addPeripheral("GPIO"); | ||
iGPIO3["0"].io = "outputOpenDrain"; | ||
iGPIO3["0"].$assign = "ball.11"; | ||
iGPIO3.$name = "_I2C_RESET_F2_OPTICS"; | ||
const iGPIO4 = scripting.addPeripheral("GPIO"); | ||
iGPIO4["0"].$assign = "ball.22"; | ||
iGPIO4.$name = "PG_4V0"; | ||
const iGPIO5 = scripting.addPeripheral("GPIO"); | ||
iGPIO5["0"].io = "output"; | ||
iGPIO5["0"].$assign = "ball.23"; | ||
iGPIO5.$name = "F2_CFG_START"; | ||
const iGPIO6 = scripting.addPeripheral("GPIO"); | ||
iGPIO6["0"].io = "outputOpenDrain"; | ||
iGPIO6["0"].$assign = "ball.27"; | ||
iGPIO6.$name = "_I2C_RESET_F1_OPTICS"; | ||
const iGPIO7 = scripting.addPeripheral("GPIO"); | ||
iGPIO7["0"].io = "outputOpenDrain"; | ||
iGPIO7["0"].$assign = "ball.29"; | ||
iGPIO7.$name = "_I2C_RESET_FPGAS"; | ||
const iGPIO8 = scripting.addPeripheral("GPIO"); | ||
iGPIO8["0"].$assign = "ball.30"; | ||
iGPIO8.$name = "SM_SOFT_PWR_EN"; | ||
const iGPIO9 = scripting.addPeripheral("GPIO"); | ||
iGPIO9["0"].$assign = "ball.31"; | ||
iGPIO9.$name = "PG_3V3"; | ||
const iGPIO10 = scripting.addPeripheral("GPIO"); | ||
iGPIO10["0"].$assign = "ball.32"; | ||
iGPIO10.$name = "PG_1V8"; | ||
const iGPIO11 = scripting.addPeripheral("GPIO"); | ||
iGPIO11["0"].$assign = "ball.42"; | ||
iGPIO11.$name = "PG_F1_INT_A"; | ||
const iGPIO12 = scripting.addPeripheral("GPIO"); | ||
iGPIO12["0"].$assign = "ball.43"; | ||
iGPIO12.$name = "PG_F1_INT_B"; | ||
const iGPIO13 = scripting.addPeripheral("GPIO"); | ||
iGPIO13["0"].$assign = "ball.44"; | ||
iGPIO13.$name = "PG_F1_AVCC"; | ||
const iGPIO14 = scripting.addPeripheral("GPIO"); | ||
iGPIO14["0"].$assign = "ball.45"; | ||
iGPIO14.$name = "PG_F1_AVTT"; | ||
const iGPIO15 = scripting.addPeripheral("GPIO"); | ||
iGPIO15["0"].$assign = "ball.46"; | ||
iGPIO15.$name = "PG_F1_VCCAUX"; | ||
const iGPIO16 = scripting.addPeripheral("GPIO"); | ||
iGPIO16["0"].$assign = "ball.57"; | ||
iGPIO16.$name = "PG_F2_INT_A"; | ||
const iGPIO17 = scripting.addPeripheral("GPIO"); | ||
iGPIO17["0"].$assign = "ball.58"; | ||
iGPIO17.$name = "PG_F2_INT_B"; | ||
const iGPIO18 = scripting.addPeripheral("GPIO"); | ||
iGPIO18["0"].$assign = "ball.59"; | ||
iGPIO18.$name = "PG_F2_AVCC"; | ||
const iGPIO19 = scripting.addPeripheral("GPIO"); | ||
iGPIO19["0"].$assign = "ball.60"; | ||
iGPIO19.$name = "PG_F2_AVTT"; | ||
const iGPIO20 = scripting.addPeripheral("GPIO"); | ||
iGPIO20["0"].$assign = "ball.61"; | ||
iGPIO20.$name = "PG_F2_VCCAUX"; | ||
const iGPIO21 = scripting.addPeripheral("GPIO"); | ||
iGPIO21["0"].$assign = "ball.62"; | ||
iGPIO21.$name = "_F1_CFG_DONE"; | ||
const iGPIO22 = scripting.addPeripheral("GPIO"); | ||
iGPIO22["0"].$assign = "ball.71"; | ||
iGPIO22.$name = "_F2_CFG_DONE"; | ||
const iGPIO23 = scripting.addPeripheral("GPIO"); | ||
iGPIO23["0"].$assign = "ball.72"; | ||
iGPIO23.$name = "F1_TO_MCU"; | ||
const iGPIO24 = scripting.addPeripheral("GPIO"); | ||
iGPIO24["0"].$assign = "ball.73"; | ||
iGPIO24.$name = "F2_TO_MCU"; | ||
const iGPIO25 = scripting.addPeripheral("GPIO"); | ||
iGPIO25["0"].io = "output"; | ||
iGPIO25["0"].$assign = "ball.74"; | ||
iGPIO25.$name = "MCU_TO_F1"; | ||
const iGPIO26 = scripting.addPeripheral("GPIO"); | ||
iGPIO26["0"].$assign = "ball.75"; | ||
iGPIO26.$name = "MCU_TO_F2"; | ||
const iGPIO27 = scripting.addPeripheral("GPIO"); | ||
iGPIO27["0"].io = "output"; | ||
iGPIO27["0"].$assign = "ball.76"; | ||
iGPIO27.$name = "CM_TO_SM_PWR_OK"; | ||
const iGPIO28 = scripting.addPeripheral("GPIO"); | ||
iGPIO28["0"].io = "output"; | ||
iGPIO28["0"].$assign = "ball.77"; | ||
iGPIO28.$name = "EN_3V3"; | ||
const iGPIO29 = scripting.addPeripheral("GPIO"); | ||
iGPIO29["0"].io = "output"; | ||
iGPIO29["0"].$assign = "ball.78"; | ||
iGPIO29.$name = "EN_1V8"; | ||
const iGPIO30 = scripting.addPeripheral("GPIO"); | ||
iGPIO30["0"].io = "output"; | ||
iGPIO30["0"].$assign = "ball.81"; | ||
iGPIO30.$name = "EN_F1_INT"; | ||
const iGPIO31 = scripting.addPeripheral("GPIO"); | ||
iGPIO31["0"].io = "output"; | ||
iGPIO31["0"].$assign = "ball.82"; | ||
iGPIO31.$name = "EN_F1_AVCC"; | ||
const iGPIO32 = scripting.addPeripheral("GPIO"); | ||
iGPIO32["0"].io = "output"; | ||
iGPIO32["0"].$assign = "ball.83"; | ||
iGPIO32.$name = "EN_F1_AVTT"; | ||
const iGPIO33 = scripting.addPeripheral("GPIO"); | ||
iGPIO33["0"].io = "output"; | ||
iGPIO33["0"].$assign = "ball.84"; | ||
iGPIO33.$name = "EN_F1_VCCAUX"; | ||
const iGPIO34 = scripting.addPeripheral("GPIO"); | ||
iGPIO34["0"].io = "output"; | ||
iGPIO34["0"].$assign = "ball.85"; | ||
iGPIO34.$name = "EN_F2_INT"; | ||
const iGPIO35 = scripting.addPeripheral("GPIO"); | ||
iGPIO35["0"].io = "output"; | ||
iGPIO35["0"].$assign = "ball.86"; | ||
iGPIO35.$name = "EN_F2_AVCC"; | ||
const iGPIO36 = scripting.addPeripheral("GPIO"); | ||
iGPIO36["0"].io = "output"; | ||
iGPIO36["0"].$assign = "ball.93"; | ||
iGPIO36.$name = "EN_F2_AVTT"; | ||
const iGPIO37 = scripting.addPeripheral("GPIO"); | ||
iGPIO37["0"].io = "output"; | ||
iGPIO37["0"].$assign = "ball.94"; | ||
iGPIO37.$name = "EN_F2_VCCAUX"; | ||
const iGPIO38 = scripting.addPeripheral("GPIO"); | ||
iGPIO38["0"].io = "output"; | ||
iGPIO38["0"].$assign = "ball.102"; | ||
iGPIO38.$name = "FPGA_CFG_FROM_FLASH"; | ||
const iGPIO39 = scripting.addPeripheral("GPIO"); | ||
iGPIO39["0"].io = "output"; | ||
iGPIO39["0"].$assign = "ball.103"; | ||
iGPIO39.$name = "F1_CFG_START"; | ||
const iGPIO40 = scripting.addPeripheral("GPIO"); | ||
iGPIO40["0"].io = "output"; | ||
iGPIO40["0"].$assign = "ball.104"; | ||
iGPIO40.$name = "MCU_LED_RED"; | ||
const iGPIO41 = scripting.addPeripheral("GPIO"); | ||
iGPIO41["0"].io = "output"; | ||
iGPIO41["0"].$assign = "ball.105"; | ||
iGPIO41.$name = "MCU_LED_GREEN"; | ||
const iGPIO42 = scripting.addPeripheral("GPIO"); | ||
iGPIO42["0"].io = "output"; | ||
iGPIO42["0"].$assign = "ball.106"; | ||
iGPIO42.$name = "MCU_LED_BLUE"; | ||
const iGPIO43 = scripting.addPeripheral("GPIO"); | ||
iGPIO43["0"].io = "output"; | ||
iGPIO43["0"].$assign = "ball.107"; | ||
iGPIO43.$name = "ID_EEPROM_WP"; | ||
const iGPIO44 = scripting.addPeripheral("GPIO"); | ||
iGPIO44["0"].io = "output"; | ||
iGPIO44["0"].$assign = "ball.108"; | ||
iGPIO44.$name = "JTAG_FROM_SM"; | ||
const iGPIO45 = scripting.addPeripheral("GPIO"); | ||
iGPIO45["0"].io = "output"; | ||
iGPIO45["0"].$assign = "ball.109"; | ||
iGPIO45.$name = "_F1_JTAG_BYPASS"; | ||
const iGPIO46 = scripting.addPeripheral("GPIO"); | ||
iGPIO46["0"].io = "output"; | ||
iGPIO46["0"].$assign = "ball.110"; | ||
iGPIO46.$name = "_F2_JTAG_BYPASS "; | ||
const iGPIO47 = scripting.addPeripheral("GPIO"); | ||
iGPIO47["0"].$assign = "ball.116"; | ||
iGPIO47.$name = "F1_C2C_OK"; | ||
const iGPIO48 = scripting.addPeripheral("GPIO"); | ||
iGPIO48["0"].$assign = "ball.117"; | ||
iGPIO48.$name = "F2_C2C_OK"; | ||
const iGPIO49 = scripting.addPeripheral("GPIO"); | ||
iGPIO49["0"].$assign = "ball.118"; | ||
iGPIO49.$name = "_F1_INSTALLED"; | ||
const iGPIO50 = scripting.addPeripheral("GPIO"); | ||
iGPIO50["0"].$assign = "ball.119"; | ||
iGPIO50.$name = "_F2_INSTALLED"; | ||
const iI2C1 = scripting.addPeripheral("I2C"); | ||
iI2C1.$name = "POWER_I2C"; | ||
iI2C1.$assign = "I2C1"; | ||
iI2C1.SCL.$assign = "ball.49"; | ||
iI2C1.SDA.$assign = "ball.50"; | ||
const iI2C2 = scripting.addPeripheral("I2C"); | ||
iI2C2.$name = "CLOCK_I2C"; | ||
iI2C2.$assign = "I2C2"; | ||
iI2C2.SCL.$assign = "ball.51"; | ||
iI2C2.SDA.$assign = "ball.52"; | ||
const iI2C3 = scripting.addPeripheral("I2C"); | ||
iI2C3.$name = "F2_OPTICS_I2C"; | ||
iI2C3.$assign = "I2C3"; | ||
iI2C3.SCL.$assign = "ball.53"; | ||
iI2C3.SDA.$assign = "ball.54"; | ||
const iI2C4 = scripting.addPeripheral("I2C"); | ||
iI2C4.$name = "F1_OPTICS_I2C"; | ||
iI2C4.$assign = "I2C4"; | ||
iI2C4.SCL.$assign = "ball.55"; | ||
iI2C4.SDA.$assign = "ball.56"; | ||
const iI2C5 = scripting.addPeripheral("I2C"); | ||
iI2C5.$name = "SM_I2C"; | ||
iI2C5.$assign = "I2C0"; | ||
iI2C5.SCL.$assign = "ball.91"; | ||
iI2C5.SDA.$assign = "ball.92"; | ||
const iI2C6 = scripting.addPeripheral("I2C"); | ||
iI2C6.$name = "FPGA_I2C"; | ||
iI2C6.$assign = "I2C5"; | ||
iI2C6.SCL.$assign = "ball.95"; | ||
iI2C6.SDA.$assign = "ball.96"; | ||
const iUART1 = scripting.addPeripheral("UART"); | ||
iUART1.$name = "ZYNQ_UART"; | ||
iUART1.$assign = "UART0"; | ||
iUART1.RX.$assign = "ball.33"; | ||
iUART1.TX.$assign = "ball.34"; | ||
iUART1.DCD.$used = false; | ||
iUART1.DTR.$used = false; | ||
iUART1.CTS.$used = false; | ||
iUART1.DSR.$used = false; | ||
iUART1.RTS.$used = false; | ||
iUART1.RI.$used = false; | ||
const iUART2 = scripting.addPeripheral("UART"); | ||
iUART2.$name = "IMPC_UART"; | ||
iUART2.$assign = "UART3"; | ||
iUART2.RX.$assign = "ball.37"; | ||
iUART2.TX.$assign = "ball.38"; | ||
iUART2.DCD.$used = false; | ||
iUART2.DTR.$used = false; | ||
iUART2.CTS.$used = false; | ||
iUART2.DSR.$used = false; | ||
iUART2.RTS.$used = false; | ||
iUART2.RI.$used = false; | ||
const iUART3 = scripting.addPeripheral("UART"); | ||
iUART3.$name = "MON_UART"; | ||
iUART3.$assign = "UART4"; | ||
iUART3.RX.$assign = "ball.35"; | ||
iUART3.TX.$assign = "ball.36"; | ||
iUART3.DCD.$used = false; | ||
iUART3.DTR.$used = false; | ||
iUART3.CTS.$used = false; | ||
iUART3.DSR.$used = false; | ||
iUART3.RTS.$used = false; | ||
iUART3.RI.$used = false; | ||
|
||
/** | ||
* Pinmux solution for unlocked pins/peripherals. This ensures that minor changes to the automatic solver in a future | ||
* version of the tool will not impact the pinmux you originally saw. These lines can be completely deleted in order to | ||
* re-solve from scratch. | ||
*/ | ||
iADC2.$suggestSolution = "ADC0"; |
Oops, something went wrong.