Chronobox: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
 (→Links)  | 
				 (→ZZZ)  | 
				||
| Line 6: | Line 6: | ||
* https://bitbucket.org/teamalphag/chronobox_firmware  | * https://bitbucket.org/teamalphag/chronobox_firmware  | ||
* https://bitbucket.org/teamalphag/chronobox_software  | * https://bitbucket.org/teamalphag/chronobox_software  | ||
= Install chronobox software =  | |||
<pre>  | |||
git clone https://bitbucket.org/teamalphag/chronobox_software.git  | |||
cd chronobox_software  | |||
make clean  | |||
make  | |||
ls -l *.exe  | |||
-rwxr-xr-x 1 olchansk users 21452 Aug 10 15:29 main.exe  | |||
-rwxr-xr-x 1 olchansk users 18808 Aug 10 15:29 reboot_cb.exe  | |||
-rwxr-xr-x 1 olchansk users 47256 Aug 10 15:29 srunner_cb.exe  | |||
</pre>  | |||
= Firmware update =  | |||
<pre>  | |||
./srunner_cb.exe -id -64 /dev/null # identify EPCS64 flash  | |||
./srunner_cb.exe -id -128 /dev/null # identify EPCQ128 flash  | |||
./srunner_cb.exe -read -128 test.rpd # read flash contents into a file  | |||
./srunner_cb.exe -program -128 /home/olchansk/git/chronobox_firmware/output_files/DE10_NANO_SoC_GHRD_auto.rpd # write firmware rpd file into flash  | |||
./reboot_cb.exe # reboot the fpga into the new firmware  | |||
</pre>  | |||
= ZZZ =  | = ZZZ =  | ||
Revision as of 22:32, 10 August 2018
Chronobox
Links
- https://daq.triumf.ca/DaqWiki/index.php/DE10-Nano
 - https://bitbucket.org/teamalphag/chronobox_firmware
 - https://bitbucket.org/teamalphag/chronobox_software
 
Install chronobox software
git clone https://bitbucket.org/teamalphag/chronobox_software.git cd chronobox_software make clean make ls -l *.exe -rwxr-xr-x 1 olchansk users 21452 Aug 10 15:29 main.exe -rwxr-xr-x 1 olchansk users 18808 Aug 10 15:29 reboot_cb.exe -rwxr-xr-x 1 olchansk users 47256 Aug 10 15:29 srunner_cb.exe
Firmware update
./srunner_cb.exe -id -64 /dev/null # identify EPCS64 flash ./srunner_cb.exe -id -128 /dev/null # identify EPCQ128 flash ./srunner_cb.exe -read -128 test.rpd # read flash contents into a file ./srunner_cb.exe -program -128 /home/olchansk/git/chronobox_firmware/output_files/DE10_NANO_SoC_GHRD_auto.rpd # write firmware rpd file into flash ./reboot_cb.exe # reboot the fpga into the new firmware