cpld: update warning to suggest virtex2 refresh
virtex2 refresh replaced virtex2 program, but the even older programming commands like xc6s_program still suggest the old, now-removed program command. This changes the warnings to suggest the command that is still there, and also adds some indication that you will need to use the .pld name instead of the .tap name. Change-Id: I292da62a95a9b414c69cdb1bba8a28dfd16a7336 Signed-off-by: Adam Novak <interfect@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/8468 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-by: Daniel Anselmi <danselmi@gmx.ch>
This commit is contained in:
parent
7e271c9151
commit
324469da57
|
@ -35,7 +35,7 @@ set XC6S_JSTART 0x0c
|
||||||
set XC6S_BYPASS 0x3f
|
set XC6S_BYPASS 0x3f
|
||||||
|
|
||||||
proc xc6s_program {tap} {
|
proc xc6s_program {tap} {
|
||||||
echo "DEPRECATED! use 'virtex2 program ...' not 'xc6s_program'"
|
echo "DEPRECATED! use 'virtex2 refresh XXXX.pld' not 'xc6s_program'"
|
||||||
global XC6S_JSHUTDOWN XC6S_JPROGRAM XC6S_JSTART XC6S_BYPASS
|
global XC6S_JSHUTDOWN XC6S_JPROGRAM XC6S_JSTART XC6S_BYPASS
|
||||||
irscan $tap $XC6S_JSHUTDOWN
|
irscan $tap $XC6S_JSHUTDOWN
|
||||||
irscan $tap $XC6S_JPROGRAM
|
irscan $tap $XC6S_JPROGRAM
|
||||||
|
@ -45,7 +45,7 @@ proc xc6s_program {tap} {
|
||||||
|
|
||||||
#xtp038 and xc3sprog approach
|
#xtp038 and xc3sprog approach
|
||||||
proc xc6s_program_iprog {tap} {
|
proc xc6s_program_iprog {tap} {
|
||||||
echo "DEPRECATED! use 'virtex2 program ...' not 'xc6s_program_iprog'"
|
echo "DEPRECATED! use 'virtex2 refresh XXXX.pld' not 'xc6s_program_iprog'"
|
||||||
global XC6S_JSHUTDOWN XC6S_JSTART XC6S_BYPASS XC6S_CFG_IN
|
global XC6S_JSHUTDOWN XC6S_JSTART XC6S_BYPASS XC6S_CFG_IN
|
||||||
irscan $tap $XC6S_JSHUTDOWN
|
irscan $tap $XC6S_JSHUTDOWN
|
||||||
runtest 16
|
runtest 16
|
||||||
|
|
|
@ -49,7 +49,7 @@ set XC7_JSTART 0x0c
|
||||||
set XC7_BYPASS 0x3f
|
set XC7_BYPASS 0x3f
|
||||||
|
|
||||||
proc xc7_program {tap} {
|
proc xc7_program {tap} {
|
||||||
echo "DEPRECATED! use 'virtex2 program ...' not 'xc7_program'"
|
echo "DEPRECATED! use 'virtex2 refresh XXXX.pld' not 'xc7_program'"
|
||||||
global XC7_JSHUTDOWN XC7_JPROGRAM XC7_JSTART XC7_BYPASS
|
global XC7_JSHUTDOWN XC7_JPROGRAM XC7_JSTART XC7_BYPASS
|
||||||
irscan $tap $XC7_JSHUTDOWN
|
irscan $tap $XC7_JSHUTDOWN
|
||||||
irscan $tap $XC7_JPROGRAM
|
irscan $tap $XC7_JPROGRAM
|
||||||
|
|
|
@ -109,7 +109,7 @@ set XCU_JSTART 0x0c
|
||||||
set XCU_BYPASS 0x3f
|
set XCU_BYPASS 0x3f
|
||||||
|
|
||||||
proc xcu_program {tap} {
|
proc xcu_program {tap} {
|
||||||
echo "DEPRECATED! use 'virtex2 program ...' not 'xcu_program'"
|
echo "DEPRECATED! use 'virtex2 refresh XXXX.pld' not 'xcu_program'"
|
||||||
global XCU_JSHUTDOWN XCU_JPROGRAM XCU_JSTART XCU_BYPASS
|
global XCU_JSHUTDOWN XCU_JPROGRAM XCU_JSTART XCU_BYPASS
|
||||||
irscan $tap $XCU_JSHUTDOWN
|
irscan $tap $XCU_JSHUTDOWN
|
||||||
irscan $tap $XCU_JPROGRAM
|
irscan $tap $XCU_JPROGRAM
|
||||||
|
|
Loading…
Reference in New Issue