changeset 89:30f567edd2b6

add option of reverting to Calypso FDP for flash reset
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 10 Dec 2021 22:40:08 +0000
parents 09cda55086b1
children e8ce3b688723
files venus/src/MCL venus/src/core/core.v
diffstat 2 files changed, 16 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/venus/src/MCL	Fri Dec 10 20:26:05 2021 +0000
+++ b/venus/src/MCL	Fri Dec 10 22:40:08 2021 +0000
@@ -1221,6 +1221,13 @@
  part=MNR04-10k
  slotmap=slotmap/R361
 
+R372:
+ hier=mob.core.FDP_reset_option
+ footprint=0402
+ value=DNP
+ part=none
+ npins=2
+
 R401:
  hier=mob.uart.Host_TxD_pullup
  part=0402R-22k
--- a/venus/src/core/core.v	Fri Dec 10 20:26:05 2021 +0000
+++ b/venus/src/core/core.v	Fri Dec 10 22:40:08 2021 +0000
@@ -86,7 +86,7 @@
 wire Vflash, Vsram;
 wire MCU_FDP, MCU_nBLE, MCU_nBHE;
 wire INT_nCS0, INT_nCS1, INT_nCS2;
-wire ON_nOFF_2V8;
+wire Flash_RST;
 
 /* instantiate the blocks! */
 
@@ -100,7 +100,7 @@
 	     .RPWON(RPWON),
 	     .nTESTRESET(nTESTRESET),
 	     .ON_nOFF(ON_nOFF),
-	     .ON_nOFF_2V8(ON_nOFF_2V8),
+	     .ON_nOFF_2V8(Flash_RST),
 	     .CLKTCXO_IN(Clock_26MHz_DBB_in),
 	     .TDI(TDI),
 	     .TDO(TDO),
@@ -202,12 +202,18 @@
 	    .MCU_nWR(MCU_RnW),
 	    .MCU_nBHE(MCU_nBHE),
 	    .MCU_nBLE(MCU_nBLE),
-	    .Flash_RST(ON_nOFF_2V8),
+	    .Flash_RST(Flash_RST),
 	    .CS_flash1(INT_nCS0),
 	    .CS_flash2(INT_nCS2),
 	    .CS_RAM(INT_nCS1)
 	);
 
+/*
+ * The following resistor footprint must be left unpopulated
+ * when U303 (74AXP1T34) is populated, and vice-versa.
+ */
+resistor FDP_reset_option (MCU_FDP, Flash_RST);
+
 rf_section rf  (.GND(GND),
 		.VBAT_REG(VBAT2),
 		.VBAT_PA(VBAT3),