mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-05-02 22:25:00 -04:00
fpga: Add extra access control on UDS
Restrict access to UDS when we have exited firmware the first time. Co-authored-by: Michael Cardell Widerkrantz <mc@tillitis.se>
This commit is contained in:
parent
77fc5cf578
commit
7554787678
4 changed files with 19 additions and 14 deletions
|
@ -154,6 +154,7 @@ module application_fpga (
|
|||
wire [31 : 0] tk1_read_data;
|
||||
wire tk1_ready;
|
||||
wire app_mode;
|
||||
wire fw_startup_done;
|
||||
wire force_trap;
|
||||
wire [14 : 0] ram_addr_rand;
|
||||
wire [31 : 0] ram_data_rand;
|
||||
|
@ -294,7 +295,7 @@ module application_fpga (
|
|||
.clk(clk),
|
||||
.reset_n(reset_n),
|
||||
|
||||
.app_mode(app_mode),
|
||||
.en(~fw_startup_done),
|
||||
|
||||
.cs(uds_cs),
|
||||
.address(uds_address),
|
||||
|
@ -341,6 +342,7 @@ module application_fpga (
|
|||
.reset_n(reset_n),
|
||||
|
||||
.app_mode(app_mode),
|
||||
.fw_startup_done(fw_startup_done),
|
||||
|
||||
.cpu_addr (cpu_addr),
|
||||
.cpu_instr (cpu_instr),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue