This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

remove error message in uVision4

I am wondering if anyone knows how to get rid of programming error messages?

Example,
I hit the download button to do my erase, program, verify, and if my target JTAG device is not connected
an error will pop up that says, 'No JTAG Devices Found'.
I'd rather not see that error window pop up.
Can this be disabled?

Parents
  • I am using the command line commands so am I and here is the cure;

    extract from the below what you need

    if "%MUSCUM%"=="0" goto tellmfy
    @ECHO ON
    REM match mode
    @ECHO OFF
    goto infodon

    :tellmfy
    @ECHO ON
    REM ************* MODIFIED MODE ************
    @ECHO OFF
    :infodon
    call wipes
    cd ..\bs

    @ECHO OFF
    if "%MUSDEB%"=="0" goto setmdb
    goto cksal

    :setmdb
    @ECHO ON
    REM ********** DEBUG INFO IN FILE **********
    @ECHO OFF
    copy ..\sc\cond\dbgflad.h dbgflga.inc >..\trash\trashbin
    copy ..\sc\cond\dbgflcd.h debugflg.h >..\trash\trashbin
    goto setdn

    :cksal
    @ECHO OFF

    copy ..\sc\cond\dbgflan.h dbgflga.inc >..\trash\trashbin
    copy ..\sc\cond\dbgflcn.h debugflg.h >..\trash\trashbin
    :setdn

    xcopy C:\aglobal\p89c_rx2.h *.* >..\trash\trashbin
    xcopy C:\aglobal\p89c_rx2.inc *.* >..\trash\trashbinif

    if "%MUSCUS%"=="1" goto side
    @ECHO ON
    REM making %1 front
    @ECHO OFF

    IF "%1"=="b" goto lcb
    IF "%1"=="ba" goto lcba
    IF "%1"=="l" goto lcl
    echo on
    rem must specify 'b' for rev b board build for flip-dot
    rem must specify 'ba' for rev b board build for asic
    rem must specify 'l' for rev b board build for LED only
    pause
    goto getout

    :lcb
    copy ..\sc\cond\sfb.h condit.h >..\trash\trashbin
    copy ..\ss\usmainb.c usmain.x >..\trash\trashbin
    copy ..\ss\usledst1.c usledstb.x >..\trash\trashbin
    copy ..\ss\ussgndv1.c ussgndvr.x >..\trash\trashbin
    goto lxx

    :lcba
    copy ..\sc\cond\sfba.h condit.h >..\trash\trashbin
    copy ..\ss\usmainb.c usmain.x >..\trash\trashbin
    copy ..\ss\usledst2.c usledstb.x >..\trash\trashbin
    copy ..\ss\ussgndv2.c ussgndvr.x >..\trash\trashbin
    goto lxx

    :lcl
    copy ..\sc\cond\sfl1.h condit.h >..\trash\trashbin
    copy ..\ss\usmainl.c usmain.x >..\trash\trashbin
    copy ..\ss\usledst3.c usledstb.x >..\trash\trashbin
    copy ..\ss\ussgndv3.c ussgndvr.x >..\trash\trashbin
    goto lxx

    :lxx
    xcopy ..\ss\*.c *.* >..\trash\trashbin
    xcopy ..\ss\*.h *.* >..\trash\trashbin
    xcopy ..\ss\*.a51 *.* >..\trash\trashbin
    xcopy ..\sc\*.lib *.* >..\trash\trashbin
    xcopy ..\sc\*.h *.* >..\trash\trashbin
    xcopy ..\sc\*.inc *.* >..\trash\trashbin

    REM remove multiversions
    del ussgndv*.c
    ren ussgndvr.x ussgndvr.c
    del usledst*.c
    ren usledstb.x usledstb.c
    del usmain*.c
    ren usmain.x usmain.c

    if not exist cmplst.txt goto nocmdl
    del cmplst.txt
    :nocmdl
    call ..\mk\batasm usstart %1
    call ..\mk\batasm usasmfn %1
    call ..\mk\batcmp usmix %1
    call ..\mk\batcmp usmain %1
    call ..\mk\batcmp usledstb %1
    call ..\mk\batcmp usauxsgn %1
    call ..\mk\batcmp uscmddcd %1
    call ..\mk\batcmp usinthdr %1
    call ..\mk\batcmp usinit %1
    call ..\mk\batcmp usxdata %1
    rem ren usxdata.src usxasm.a51
    rem call ..\mk\batasm usxasm %1
    call ..\mk\batcmp usbitmap %1
    call ..\mk\batcmp usibis %1
    call ..\mk\batcmp ussgndvr %1
    call ..\mk\batcmp us485 %1
    if not exist cmplst.txt goto naser
    echo on
    REM /////////////////////////////////
    REM ///////// COMPILE ERRORS ////////
    REM /////////////////////////////////
    type cmplst.txt | more
    REM saved in file cmplst.txt
    REM making %1 front
    pause
    @echo off
    :naser

    if not exist uscusign.lib goto usliex
    del uscusign.lib
    :usliex
    c:\tools\keil\c51\bin\lib51 c uscusign.lib >..\trash\trashbin
    c:\tools\keil\c51\bin\lib51 a usmain.obj to uscusign.lib >..\trash\trashbin
    c:\tools\keil\c51\bin\lib51 a us485.obj to uscusign.lib >..\trash\trashbin
    c:\tools\keil\c51\bin\lib51 a usauxsgn.obj to uscusign.lib >..\trash\trashbin
    c:\tools\keil\c51\bin\lib51 a usbitmap.obj to uscusign.lib >..\trash\trashbin
    c:\tools\keil\c51\bin\lib51 a uscmddcd.obj to uscusign.lib >..\trash\trashbin
    c:\tools\keil\c51\bin\lib51 a usibis.obj to uscusign.lib >..\trash\trashbin
    c:\tools\keil\c51\bin\lib51 a usinit.obj to uscusign.lib >..\trash\trashbin
    c:\tools\keil\c51\bin\lib51 a ussgndvr.obj to uscusign.lib >..\trash\trashbin
    c:\tools\keil\c51\bin\lib51 a usxdata.obj to uscusign.lib >..\trash\trashbin
    c:\tools\keil\c51\bin\lib51 a usxasm.obj to uscusign.lib >..\trash\trashbin
    c:\tools\keil\c51\bin\lib51 a mbs.obj to uscusign.lib >..\trash\trashbin
    c:\tools\keil\c51\bin\lib51 a acs.obj to uscusign.lib >..\trash\trashbin
    c:\tools\keil\c51\bin\lib51 a ccs.obj to uscusign.lib >..\trash\trashbin
    c:\tools\keil\c51\bin\lib51 a usmix.obj to uscusign.lib >..\trash\trashbin

    c:\tools\keil\c51\bin\bl51 usstart.obj, usinthdr.obj, usledstb.obj, usasmfn.obj, uscusign.lib, c51s.lib TO s.ABS RS(256) IX >protl.log
    IF errorlevel=2 GOTO tell
    goto show
    :tell
    echo on
    REM ////////////////////////////////////////
    REM //////////// linker ERRORS /////////////
    REM ////////////////////////////////////////
    REM errors and warnings are in protl.log
    REM link map is in uscusign.m51
    pause
    :show
    echo on
    type protl.log | more
    REM making %1 front
    pause
    @ECHO OFF

    if "%MUSDEB%"=="0" goto setdbw

    IF "%1"=="b" goto hexb
    IF "%1"=="ba" goto hexba
    IF "%1"=="l" goto hexbl

    :hexbl
    c:\tools\keil\c51\bin\oh51 s.abs HEXFILE (..\hex\U2LF%2.hex)
    echo on
    fc ..\hex\U2LF%2.hex ..\mtc\U2LF.hex >x.log
    goto hexit

    :hexba
    c:\tools\keil\c51\bin\oh51 s.abs HEXFILE (..\hex\U2BAF%2.hex)
    echo on
    fc ..\hex\U2BAF%2.hex ..\mtc\U2BAF.hex >x.log
    goto hexit

    :hexb
    c:\tools\keil\c51\bin\oh51 s.abs HEXFILE (..\hex\U2BF%2.hex)
    echo on
    fc ..\hex\U2BF%2.hex ..\mtc\U2BF.hex >x.log
    goto hexit

    :hexit
    pause
    type x.log

    goto getout

    :setdbw

    IF "%1"=="b" goto dexb
    IF "%1"=="ba" goto dexba
    IF "%1"=="l" goto dexbl

    :dexbl
    c:\tools\keil\C51\bin\oh51 s.abs HEXFILE (..\hex\U2LFDBG.hex)
    echo on
    fc ..\hex\U2LFDBG.hex ..\mtc\U2LFDBG.hex >x.log
    goto dexit

    :dexba
    c:\tools\keil\C51\bin\oh51 s.abs HEXFILE (..\hex\U2BAFDBG.hex)
    echo on
    fc ..\hex\U2BAFDBG.hex ..\mtc\U2BAFDBG.hex >x.log
    goto dexit

    :dexb
    c:\tools\keil\C51\bin\oh51 s.abs HEXFILE (..\hex\U2BFDBG.hex)
    echo on
    fc ..\hex\U2BFDBG.hex ..\mtc\U2BFDBG.hex >x.log
    goto dexit

    :dexit
    pause
    type x.log

    goto getout

    :getout
    cd ..\mk
    goto exit

    :side
    call ..\mk\makss.bat %1 %2
    goto getout

    :exit

Reply
  • I am using the command line commands so am I and here is the cure;

    extract from the below what you need

    if "%MUSCUM%"=="0" goto tellmfy
    @ECHO ON
    REM match mode
    @ECHO OFF
    goto infodon

    :tellmfy
    @ECHO ON
    REM ************* MODIFIED MODE ************
    @ECHO OFF
    :infodon
    call wipes
    cd ..\bs

    @ECHO OFF
    if "%MUSDEB%"=="0" goto setmdb
    goto cksal

    :setmdb
    @ECHO ON
    REM ********** DEBUG INFO IN FILE **********
    @ECHO OFF
    copy ..\sc\cond\dbgflad.h dbgflga.inc >..\trash\trashbin
    copy ..\sc\cond\dbgflcd.h debugflg.h >..\trash\trashbin
    goto setdn

    :cksal
    @ECHO OFF

    copy ..\sc\cond\dbgflan.h dbgflga.inc >..\trash\trashbin
    copy ..\sc\cond\dbgflcn.h debugflg.h >..\trash\trashbin
    :setdn

    xcopy C:\aglobal\p89c_rx2.h *.* >..\trash\trashbin
    xcopy C:\aglobal\p89c_rx2.inc *.* >..\trash\trashbinif

    if "%MUSCUS%"=="1" goto side
    @ECHO ON
    REM making %1 front
    @ECHO OFF

    IF "%1"=="b" goto lcb
    IF "%1"=="ba" goto lcba
    IF "%1"=="l" goto lcl
    echo on
    rem must specify 'b' for rev b board build for flip-dot
    rem must specify 'ba' for rev b board build for asic
    rem must specify 'l' for rev b board build for LED only
    pause
    goto getout

    :lcb
    copy ..\sc\cond\sfb.h condit.h >..\trash\trashbin
    copy ..\ss\usmainb.c usmain.x >..\trash\trashbin
    copy ..\ss\usledst1.c usledstb.x >..\trash\trashbin
    copy ..\ss\ussgndv1.c ussgndvr.x >..\trash\trashbin
    goto lxx

    :lcba
    copy ..\sc\cond\sfba.h condit.h >..\trash\trashbin
    copy ..\ss\usmainb.c usmain.x >..\trash\trashbin
    copy ..\ss\usledst2.c usledstb.x >..\trash\trashbin
    copy ..\ss\ussgndv2.c ussgndvr.x >..\trash\trashbin
    goto lxx

    :lcl
    copy ..\sc\cond\sfl1.h condit.h >..\trash\trashbin
    copy ..\ss\usmainl.c usmain.x >..\trash\trashbin
    copy ..\ss\usledst3.c usledstb.x >..\trash\trashbin
    copy ..\ss\ussgndv3.c ussgndvr.x >..\trash\trashbin
    goto lxx

    :lxx
    xcopy ..\ss\*.c *.* >..\trash\trashbin
    xcopy ..\ss\*.h *.* >..\trash\trashbin
    xcopy ..\ss\*.a51 *.* >..\trash\trashbin
    xcopy ..\sc\*.lib *.* >..\trash\trashbin
    xcopy ..\sc\*.h *.* >..\trash\trashbin
    xcopy ..\sc\*.inc *.* >..\trash\trashbin

    REM remove multiversions
    del ussgndv*.c
    ren ussgndvr.x ussgndvr.c
    del usledst*.c
    ren usledstb.x usledstb.c
    del usmain*.c
    ren usmain.x usmain.c

    if not exist cmplst.txt goto nocmdl
    del cmplst.txt
    :nocmdl
    call ..\mk\batasm usstart %1
    call ..\mk\batasm usasmfn %1
    call ..\mk\batcmp usmix %1
    call ..\mk\batcmp usmain %1
    call ..\mk\batcmp usledstb %1
    call ..\mk\batcmp usauxsgn %1
    call ..\mk\batcmp uscmddcd %1
    call ..\mk\batcmp usinthdr %1
    call ..\mk\batcmp usinit %1
    call ..\mk\batcmp usxdata %1
    rem ren usxdata.src usxasm.a51
    rem call ..\mk\batasm usxasm %1
    call ..\mk\batcmp usbitmap %1
    call ..\mk\batcmp usibis %1
    call ..\mk\batcmp ussgndvr %1
    call ..\mk\batcmp us485 %1
    if not exist cmplst.txt goto naser
    echo on
    REM /////////////////////////////////
    REM ///////// COMPILE ERRORS ////////
    REM /////////////////////////////////
    type cmplst.txt | more
    REM saved in file cmplst.txt
    REM making %1 front
    pause
    @echo off
    :naser

    if not exist uscusign.lib goto usliex
    del uscusign.lib
    :usliex
    c:\tools\keil\c51\bin\lib51 c uscusign.lib >..\trash\trashbin
    c:\tools\keil\c51\bin\lib51 a usmain.obj to uscusign.lib >..\trash\trashbin
    c:\tools\keil\c51\bin\lib51 a us485.obj to uscusign.lib >..\trash\trashbin
    c:\tools\keil\c51\bin\lib51 a usauxsgn.obj to uscusign.lib >..\trash\trashbin
    c:\tools\keil\c51\bin\lib51 a usbitmap.obj to uscusign.lib >..\trash\trashbin
    c:\tools\keil\c51\bin\lib51 a uscmddcd.obj to uscusign.lib >..\trash\trashbin
    c:\tools\keil\c51\bin\lib51 a usibis.obj to uscusign.lib >..\trash\trashbin
    c:\tools\keil\c51\bin\lib51 a usinit.obj to uscusign.lib >..\trash\trashbin
    c:\tools\keil\c51\bin\lib51 a ussgndvr.obj to uscusign.lib >..\trash\trashbin
    c:\tools\keil\c51\bin\lib51 a usxdata.obj to uscusign.lib >..\trash\trashbin
    c:\tools\keil\c51\bin\lib51 a usxasm.obj to uscusign.lib >..\trash\trashbin
    c:\tools\keil\c51\bin\lib51 a mbs.obj to uscusign.lib >..\trash\trashbin
    c:\tools\keil\c51\bin\lib51 a acs.obj to uscusign.lib >..\trash\trashbin
    c:\tools\keil\c51\bin\lib51 a ccs.obj to uscusign.lib >..\trash\trashbin
    c:\tools\keil\c51\bin\lib51 a usmix.obj to uscusign.lib >..\trash\trashbin

    c:\tools\keil\c51\bin\bl51 usstart.obj, usinthdr.obj, usledstb.obj, usasmfn.obj, uscusign.lib, c51s.lib TO s.ABS RS(256) IX >protl.log
    IF errorlevel=2 GOTO tell
    goto show
    :tell
    echo on
    REM ////////////////////////////////////////
    REM //////////// linker ERRORS /////////////
    REM ////////////////////////////////////////
    REM errors and warnings are in protl.log
    REM link map is in uscusign.m51
    pause
    :show
    echo on
    type protl.log | more
    REM making %1 front
    pause
    @ECHO OFF

    if "%MUSDEB%"=="0" goto setdbw

    IF "%1"=="b" goto hexb
    IF "%1"=="ba" goto hexba
    IF "%1"=="l" goto hexbl

    :hexbl
    c:\tools\keil\c51\bin\oh51 s.abs HEXFILE (..\hex\U2LF%2.hex)
    echo on
    fc ..\hex\U2LF%2.hex ..\mtc\U2LF.hex >x.log
    goto hexit

    :hexba
    c:\tools\keil\c51\bin\oh51 s.abs HEXFILE (..\hex\U2BAF%2.hex)
    echo on
    fc ..\hex\U2BAF%2.hex ..\mtc\U2BAF.hex >x.log
    goto hexit

    :hexb
    c:\tools\keil\c51\bin\oh51 s.abs HEXFILE (..\hex\U2BF%2.hex)
    echo on
    fc ..\hex\U2BF%2.hex ..\mtc\U2BF.hex >x.log
    goto hexit

    :hexit
    pause
    type x.log

    goto getout

    :setdbw

    IF "%1"=="b" goto dexb
    IF "%1"=="ba" goto dexba
    IF "%1"=="l" goto dexbl

    :dexbl
    c:\tools\keil\C51\bin\oh51 s.abs HEXFILE (..\hex\U2LFDBG.hex)
    echo on
    fc ..\hex\U2LFDBG.hex ..\mtc\U2LFDBG.hex >x.log
    goto dexit

    :dexba
    c:\tools\keil\C51\bin\oh51 s.abs HEXFILE (..\hex\U2BAFDBG.hex)
    echo on
    fc ..\hex\U2BAFDBG.hex ..\mtc\U2BAFDBG.hex >x.log
    goto dexit

    :dexb
    c:\tools\keil\C51\bin\oh51 s.abs HEXFILE (..\hex\U2BFDBG.hex)
    echo on
    fc ..\hex\U2BFDBG.hex ..\mtc\U2BFDBG.hex >x.log
    goto dexit

    :dexit
    pause
    type x.log

    goto getout

    :getout
    cd ..\mk
    goto exit

    :side
    call ..\mk\makss.bat %1 %2
    goto getout

    :exit

Children
No data