[Cryptech Tech] How to start using coretest_hashes on the TerasIC C5G Board
Warren Kumari
warren at kumari.net
Sun Mar 23 08:56:09 UTC 2014
On Sun, Mar 23, 2014 at 4:04 PM, Joachim Strömbergson
<joachim at secworks.se> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Aloha!
>
> Short answer: Thanks! I'll update the writeup (even more).
While editing it could you also please change:
"You can use one computer with one or two USB ports. In the latter
case you will need to switch from connecting to the USB-Blaster port
to the USB-serial port on the C5G board after the coretest_hashes FPGA
configuration has been downloaded to the board."
to something like:
"You can use one computer with one or two USB ports. If you only have
one USB port you will need to switch from connecting to the
USB-Blaster port to the USB-serial port on the C5G board after the
coretest_hashes FPGA configuration has been downloaded to the board
(or use a USB hub)."
or change the "In the latter case" to "In the former case"?
Embarrassingly enough this confused me!
I'd just change it myself, but I don't have edit privs / trac became
confused (I had to redo the email activation, and then it grumped that
my email was already active...?!)
W
>
> Yours
> JoachimS
>
> Randy Bush wrote:
>> [ klutzich end abuser report ]
>>
>> for the moment, i mounted the macosx test_coretest_hashes directory
>> in win7-64
>>
>>> The USB-serial chip on the board is a FTDI FT232R [3]. If your host
>>> OS does not have support for this device you will need to install
>>> drivers.
>>
>> VCP or D2XX? i guessed d2xx, installed, and restarted win7
>>
>>> Select coretest and press 'Open'. (Note: Quartus omits the .v
>>> suffix for the file.)
>>
>> it shows the .v on win7.
>>
>>> Navigate to sha1/src/rtl and add the files
>> ^cores/
>>
>>> In the 'Available Devices' list select: 5CGXFC5C6F27C7
>>
>> i know it's in the alteraware, but this desperately needs a search
>> function
>>
>>> The result from this generic build should be a FPGA configuration
>>> that uses 3666 registers, 2846 ALMs, 12 pins and can run at 88.3
>>> MHz in worst case temperature and timing
>>
>> Info (293000): Quartus II Full Compilation was successful. 0 errors,
>> 13 warnings
>>
>>> Navigate to coretest_hashes/toolruns/quartus/terasic_c5g
>>
>> i think you mean
>> test_coretest_hashes/cores/coretest_hashes/toolruns/quartus/terasic_c5g
>>
>>
>>> An easier way is to open up the file coretest_hashes.qsf in
>>> toolruns and add the pin assignment above.
>>
>> the pin assignments were already in the file
>>
>>> An easier way is to open up the file coretest_hashes.qsf in
>>> toolruns and add the pin assignment above. If you then open up the
>>> Assignments Editor the same definitions should be shown.
>>
>> actually, for me, it was Assignments / ImportAssignments
>>
>>> If you haven't turned on the C5G board and connected the board to
>>> the computer Quartus is installed on, do so now
>>
>> ok, the power connector is pretty obvious. but maybe you should
>> give more of a hint about "connect the board to the computer."
>>
>> i connected a usb cable to the usb blaster port of the board. i
>> said connect it to windows.
>>
>>> In the Window you should see 'USB-blaster'. If not you need to fix
>>> the drivers for the USB-blaster in your OS.
>>
>> and i do not see it. the blinking lights on the board are beautiful
>> but i am stalled here
>>
>> randy
>>
>
>
> - --
> Med vänlig hälsning, Yours
>
> Joachim Strömbergson - Alltid i harmonisk svängning.
> ========================================================================
> Joachim Strömbergson Secworks AB joachim at secworks.se
> ========================================================================
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iQIcBAEBCAAGBQJTLpWrAAoJEF3cfFQkIuyN9q8P/RI/DBZnWl89hyHQtEQ6F4FG
> 32eMqULMltRL5l1jy/WfgUXyBJy5SNPtULoTvXwZsVZ2xRf2jRktLWT7BBKUSL9A
> etD2cicXtylOmHG6uy1xXixwRE2WYXknliGEZwE6j08O/Jd6UahSOTPW87SbYySd
> ISr//WSbVocYDeubiuoGi9uc9DLF+gwlqQWZ7f3X2HX7xgJ+lyVxNBfvjXtBtW24
> Mm5QuOsuhxPhBGk00/1do9riDZsRVlkX6qJH74MAYuHQ9VVup0FtBSXNH+3lhqlQ
> hBNBla+2RBT6zYvSsyF8ol9D68+u8XuQyXTDH4cg9ZI9wYkj0bnXgPVzLajoam3T
> +k/PPuhbQvH+9k6zwWzrxsTBYaKbgS6K5P5lJNTDC+skWMjvIMZjevsOMRJUayYB
> 6oJb22mj01ISSms7a0u2pjVM8rxDm9AtUIb+0FFcjjXtQzlrX5oqNy/CnsjjXpat
> Vb14eC/yy8+69RRyeSDkSm+CxX0JQQZvJ0LxzMsPAcoBVEHPH9EI+myOdrYRV07f
> BAX/c7nnHNZePiNI6Wbrxn5L+dKLmRtnxC4ccHj4u2EO84rZpFnPZNcK/6I/tOsV
> /Ft65DMtcKxpIMv7RR6CSJsg6C2eqd3+IuEYlRcKlzAuWBLFhbXuFFFGQA0zD62U
> LBxbT2QhuUv5VNTUE0wy
> =9h6d
> -----END PGP SIGNATURE-----
> _______________________________________________
> Tech mailing list
> Tech at cryptech.is
> https://cryptech.is/mailman/listinfo/tech
More information about the Tech
mailing list