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

Subversion Repositories openmsp430

[/] [openmsp430/] [trunk/] [tools/] [lib/] [tcl-lib/] [dbg_functions.tcl] - Diff between revs 124 and 133

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

Rev 124 Rev 133
Line 26... Line 26...
#
#
# Author(s):
# Author(s):
#             - Olivier Girard,    olgirard@gmail.com
#             - Olivier Girard,    olgirard@gmail.com
#
#
#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
# $Rev: 124 $
# $Rev: 133 $
# $LastChangedBy: olivier.girard $
# $LastChangedBy: olivier.girard $
# $LastChangedDate: 2011-10-27 09:38:36 +0200 (Thu, 27 Oct 2011) $
# $LastChangedDate: 2012-03-22 21:28:26 +0100 (Thu, 22 Mar 2012) $
#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
#
#
# Description: Main utility functions for the openMSP430 serial debug
# Description: Main utility functions for the openMSP430 serial debug
#             interface.
#             interface.
#
#
Line 539... Line 539...
 
 
    set cpu_id_full [GetCPU_ID]
    set cpu_id_full [GetCPU_ID]
 
 
    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(cpu_ver) >2)              } {
        ($omsp_info(cpu_ver) >3)              } {
    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 "         -------------------------------------------------------------"
    puts "       !!!! Make sure that you are properly connected to the board  !!!!"
    puts "       !!!! Make sure that you are properly connected to the board  !!!!"

powered by: WebSVN 2.1.0

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