• Content count

  • Joined

  • Last visited

  1. Hi, I want to know how to develope a tamper resistent design for my CMOD A7 board. it seems that encrypted bitstream tecnique can't be used with this board because i can't program eFuse register and can't connect a battery-backed RAM to store the key. So i have read that there are some active features as JTAG Monitor and JTAG Disable. I have found only a template but i don't have idea how to use in my design. As i think i undestad seems that JTAG Disable can breaks the jtag chain to disable the read back and there is no way to stole my design. It's right? And, how can i do this?
  2. Hi @jpeyron I read that JTAG SMT2-NC isn't capable to program efuse. I found this information in the datasheet. The JTAG SMT2 has the same features of SMT2-NC plus a usb connector. In the datasheet of SMT2 module i don't find nothing about efuse but i suppose that if it works as SMT2-NC so it isn't capable to program efuse. My supposition is correct or those boards are different?
  3. Hi, i want to know if this digilent component JTAG-SMT2: Surface-mount Programming Module Information is capable to program efuse register for artix 7 FPGA regards Stefano
  4. eFuse Programming

    @jpeyron in the linked forum thread above there is no valid information about efuse programming with cmod a7 and when i try to program it using vivado an error message is showed : "Cannot program efuse with this cable" I think that the problem is that the cmod a7 is missing of jtag connector and the jtag-usb chip isn't capable to do this. Now i'm searching for some information that confirm to me this supposition or not
  5. eFuse Programming

    @JColvin Thanks. I had already read the other discussion about the coin-battery but it's not clear about what kind of battery, how to connect the battery etc etc. I realy need something that can allow me to program the eFuse register. Are you sure that with this board i can't use eFuse to encypt my bitstream? If not there is another guide more detailed about the coin-battery solution?
  6. eFuse Programming

    Hi I'm tring to program my cmod a7 35T Digilent board with an encrypted bitstream. I read that to do this i need to program the eFuse register with a key.nky file, but when i try to do this i found a problem. This board don't have a jtag connector but it can be programmed via usb. When i try to program efuse a found a problem "cannot program efuse register with this cable". Anyone can tell me if there is another way to program efuse or if this board can't support encryption bitstream? regards Stefano
  7. Cmod A7 communication with Arduino

    my last test is : Arduino with a simple loop that send every 2 seconds "hello word" to usb host that is connected to main usb port of Cmod. Cmod has an isr that print each byte that is received. i can see the output but it is not correct. i see 0xFF for each byte that is received.
  8. Cmod A7 communication with Arduino

    No, the software work if i connect my cmod to pc directly, don't work i don't know why if i connect to pc using usb-host
  9. Cmod A7 communication with Arduino

    i try to explain my situation. 1) yes, my design has a microblaze. 2) yes i have tested the communication between pc and Cmod. In this way on the main USB port i have put an uart 16550 with 9600 baudrate. i have achived an C application that communicate with Cmod exchanging data. It work very well. 3) For internal PMod connector i mean : in the rear part of the board there is a Pmod Connectors with two pin lines, for internal pmod i mean the line closest to the buttons, and for external the other one. 4) so PC -> CMod(p) -> PC work fine and it work through the UART modules within the CMod. 5) "was your test really a PC -> CMod(L) -> P -> CMod(L) -> PC test?" yes. I use a CMod(L) to send/receive data from/to pc and use microblaze for computation, something like matrix square ecc. This realy work fine. 6) my first version of design consist in : Arduino is connected to Cmod without any logic, only with Tx and Rx connection, this connection uses pmod connectors pins. And another connection is made from PC to Cmod through main usb port (the port with ft2232h chip, the usb-uart bridge because it is faster.). Arduino does some authentication operatation and than pc do the rest of program. It work fine. Now i need to have only one connetion to the Cmod, so i need to connect my arduino to main usb port using USB-Host because ft2232h chip has two port,the first port for programming and the other one for communication. This usb-host allow me to select the right port to send data. 7) i try to explain my test better : i have three uart, 2 16550 and an uart lite. Main usb has Uart A with ISR_A() as handler, when some bit is sent to Uart_A, the ISR_A is activated in this way XUartNs550 *UartNs550Ptr = (XUartNs550 *) CallBackRef; byte = ReceiveByte(UartNs550Ptr->BaseAddress); SendByte(XPAR_PMOD_AXI_UART16550_1_BASEADDR,byte); PMOD_AXI_UART16550_1 is another 16550 uart connected to pc using a ftdi-cable, so i send data from pc to Uart_A this data is sent to Uart_B and i can read them with putty. Uart_B has a ISR_B() that does the same thing of ISR_A. So i can read data in both direction : PC<->Uart_A<->Uart_B<->PC. 8) to test the communication using usb-host i have change this design. PC is connected to Cmod through Uart_B via ftdi-cable. ISR_B is changed in "byte = ReceiveByte(UartNs550Ptr->BaseAddress); xil_printf("%x",byte);" because i need to send data to uartlite that is set as std in/out. the uartlite is connected to usb-host with two wire. Then i have connected usb-host to Uart_A (because i need to test the communication on this port, the port with ft2232h chip). So conceptually, using putty i send data, with 8 bit data, no parity and 1 stop bit at 9600 baudrate, to uart_b that take it and send them to uartlite that is connected to uart_a, everytime that some byte is sent to uart_a the led blink, so if i send A i can see the blinking but conceptually when some data arrives on uart_a the isr_a take it and send it to uart_b, in this way i should see it on my terminal. But I can see the blinking but nothins is sent to uart_b
  10. Cmod A7 communication with Arduino

    Realy thank you @D@n for reply. my design has three uart. 2 uart 16550 and an uart lite. First uart 16550 is conneted to main usb port (with ft2232h chip), the other is connected to internal pmod connectors. Uart lite is connected to external pmod connectors and is set as stdin/stdout with bsp. my first test is very simple, i have connected pc to main usb sending data and routhing them to internal pmod connectors and viceversa. It's very simple and it work fine. later i have send data to external pmod connectors through internal pmod connectors. using a ftdi for debug i can ready the right data. now, i have tried to connect PC -> C -> B -> C -> PC in this configuration : 1) an FTDI cable from pc to Internal Pmod Connectors(this has a uart 16550), The submitted data is routed to the external pmod connectors. 2) the external Pmod connectors are connected to USB-HOST. 3) USB-HOST is connected to CMOD through main usb port (the usb with double port), The submitted data is routed to the internal pmod connectors. Using putty i have opened a port to internal pmod connectors, using ftdi cable. In this way i could send and read the data processed by this uart. i can see the data flow through usb-host to cmod because i can see the leds blinking but i can't read anything with internal pmod. is something like : the data is send but ft2232h can't read them. any suggestion?
  11. Cmod A7 communication with Arduino

    I think that this can't resolve my problem. there is an updating, if i set packet interface on Uart Host something change on my CMOD. Infact data is send to cmod (leds blink) and i can read something. the problem is that if i send Hello Word the debug display only a 0XFF bytes. I can't undestand why Stefano
  12. Cmod A7 communication with Arduino

    hi, i have a question. I need to communicate with my Cmod A7 35T using arduino. I know that it is can't communicate directly but i found a middle chip that could be a solution. This component is : with new firmware i can set on this chip the right communication port. My design is something like this, arduino send serial data to usb host that convert and send them to cmod, i have setted the right coomunication port and the right boudrate but there is an issues. I can see the datas flow (using the led) but USB-UART bridge can't read it. I set ISR with only one function that take each byte and print it. But nothing is read by uart. i don't know if i have explained the problem, but i ask some information about it. regards Stefano
  13. I have a CMOD A7 35T. I have created a design with Microblazed, two custom ip core, two UART, one SPI FLASH, an SRAM controller and a GPIO controller. I use two different clock, a 96 MHz clock for MB and a 128 MHz clock for IP Core and UART. With this settings it work perfectly, but i want to increase its performances. My idea is to use only one clock, a 128 MHz for all components. But with this settings i have a timing violation. There is something that i can do to solve this problem? WNS and TNS are negative, there are some Shyntesys or Implementations strategies that can help me? regards Stefano
  14. How to increase BRAM allocation ?

    Thank you, i need to find another way
  15. How to increase BRAM allocation ?

    I have a CMOD A7 35T. It has 225Kbyte of BRAM, but when i create a design with microblaze i can allocate only 128Kbyte. There is something that i can do to increase this space? I need more of 128Kbyte for Heap and Stack. regards Stefano