OpenCores
URL https://opencores.org/ocsvn/openmsp430/openmsp430/trunk

Subversion Repositories openmsp430

[/] [openmsp430/] [trunk/] [tools/] [lib/] [tcl-lib/] [dbg_functions.tcl] - Diff between revs 172 and 208

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 172 Rev 208
Line 26... Line 26...
#
#
# Author(s):
# Author(s):
#             - Olivier Girard,    olgirard@gmail.com
#             - Olivier Girard,    olgirard@gmail.com
#
#
#-----------------------------------------------------------------------------------------------------------
#-----------------------------------------------------------------------------------------------------------
# $Rev: 172 $
# $Rev: 208 $
# $LastChangedBy: olivier.girard $
# $LastChangedBy: olivier.girard $
# $LastChangedDate: 2012-12-28 00:06:56 +0100 (Fri, 28 Dec 2012) $
# $LastChangedDate: 2015-10-20 22:58:56 +0200 (Tue, 20 Oct 2015) $
#-----------------------------------------------------------------------------------------------------------
#-----------------------------------------------------------------------------------------------------------
#
#
# Description: Main utility functions for the openMSP430 serial debug
# Description: Main utility functions for the openMSP430 serial debug
#             interface.
#             interface.
#
#
Line 712... Line 712...
 
 
    set cpu_id_full [GetCPU_ID $CpuNr]
    set cpu_id_full [GetCPU_ID $CpuNr]
 
 
    if {[string eq "0x00000000" $cpu_id_full] |
    if {[string eq "0x00000000" $cpu_id_full] |
        ([string length $cpu_id_full]!=10)    |
        ([string length $cpu_id_full]!=10)    |
        ($omsp_info($CpuNr,cpu_ver) >3)       } {
        ($omsp_info($CpuNr,cpu_ver) >4)       } {
 
 
        puts "\n"
        puts "\n"
        puts "ERROR: cpu_id not valid: $cpu_id_full"
        puts "ERROR: cpu_id not valid: $cpu_id_full"
        puts ""
        puts ""
        puts "         --------------------------------------------------------------"
        puts "         --------------------------------------------------------------"

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.