Skip to content

Nuvoton-Israel/loadsvf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

loadsvf

Takes a image in SVF format and download to FPGA or CPLD device through JTAG interface on NPCM750 BMC.

Building

# for poleg
./configure CFLAGS=-static --host=arm-linux-gnueabi --target=arm-inux-gnueabi --enable-legacy-ioctl
# for arbel
./configure CFLAGS=-static --host=aarch64-linux-gnu --target=aarch64-linux-gnu
make

Usage

loadsvf -d <jtag_device> -s <svf_file>
        [-l <log_level> -m <transfer_mode> -f <frequency> -g]

-d jtag_device:
specify the jtag device node <ex: /dev/jtag_drv>

-s svf_file:
specify the svf file path

-l loglevel:
display the log whose level is large or equal to the specified loglevel LOG LEVEL:
1: Debug
2: Info
3: Error

-m transfer mode:(for Poleg only)
1: PSPI mode (default if not specified)
0: GPIO mode

-f frequency:
force running at specific frequency in Mhz for PSPI mode.
the accepted frequency is 1 ~ 50

-g:
execute svf command line by line

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages