de     

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:ztex_boards:ztex_fpga_boards:flash_acces_from_fpga [2023/10/30 17:17] – created stefanen:ztex_boards:ztex_fpga_boards:flash_acces_from_fpga [2023/10/30 20:21] (current) stefan
Line 12: Line 12:
 </code> </code>
 tells the firmware that the FPGA does not access Flash. Thus, the Flash can be accessed by the USB controller while FPGA is configured. This is the default behavior for FX3 based boards. tells the firmware that the FPGA does not access Flash. Thus, the Flash can be accessed by the USB controller while FPGA is configured. This is the default behavior for FX3 based boards.
-Changing the flag takes effect after next reboot which is enforced using the ''-ru'' parameter.+(Changing the flag takes effect after next reboot. This is enforced using the [[en:software:fwloader]] parameter ''-ru'').
  
 <code> <code>
Line 22: Line 22:
 ===== Custom firmware ===== ===== Custom firmware =====
  
-In firmware, the flash access is controlled using the function pointers ''flash_claim'' and ''flash_release'', see the comments in the source code for details. There are several options to  +In the firmware, the flash access is controlled using the function pointers ''flash_claim'' and ''flash_release'', see the comments in the source code for details. There are several options to  
-manage the Flash access:+coordinate the Flash access:
  
   - If FPGA does not access Flash: Do nothing, i.e. do not overwrite the function pointers.   - If FPGA does not access Flash: Do nothing, i.e. do not overwrite the function pointers.
   - Copy the behavior from Default Firmware by copying the functions ''flash_claim2'' and ''flash_release2'' and overwriting ''flash_claim'' and ''flash_release'' with them   - Copy the behavior from Default Firmware by copying the functions ''flash_claim2'' and ''flash_release2'' and overwriting ''flash_claim'' and ''flash_release'' with them
-  - Implement your own handshaking algorithm in order to control which component can access the Flash by overwriting 'flash_claim'' and ''flash_release''+  - Implement your own handshaking algorithm in order to coordinate which component can access the Flash by overwriting 'flash_claim'' and ''flash_release''
  
 
en/ztex_boards/ztex_fpga_boards/flash_acces_from_fpga.txt · Last modified: 2023/10/30 20:21 by stefan
 
Recent changes RSS feed Creative Commons License Powered by PHP Debian Driven by DokuWiki
[ZTEX Home] [Imprint] [Privacy policy]