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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [or1ksim/] [testsuite/] [libsim.tests/] [jtag-write-command.exp] - Diff between revs 98 and 99

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

Rev 98 Rev 99
Line 98... Line 98...
          "  shifted out:  0x0164841bc60000000000"             \
          "  shifted out:  0x0164841bc60000000000"             \
          "  status:       0x0"                                \
          "  status:       0x0"                                \
          "  time taken:"                                      \
          "  time taken:"                                      \
          "Execution step completed OK."                       \
          "Execution step completed OK."                       \
          "Processing WRITE_COMMAND."                          \
          "Processing WRITE_COMMAND."                          \
          "  shifting in:  0x00000000018f4396f780000000100088" \
          "  shifting in:  0x0000000001933eb7e580010028000088" \
          "  shifted out:  0x164841bc600000000000000000000000" \
          "  shifted out:  0x164841bc600000000000000000000000" \
          "  status:       0x0"                                \
          "  status:       0x0"                                \
          "  time taken:"                                      \
          "  time taken:"                                      \
          "Execution step completed OK."                       \
          "Execution step completed OK."                       \
          "Test completed successfully."]                      \
          "Test completed successfully."]                      \
    "lib-jtag/lib-jtag-full" "" "loop/loop" "RESET" "INSTRUCTION" "8" \
    "lib-jtag/lib-jtag-full" "" "loop/loop" "RESET" "INSTRUCTION" "8" \
         "SELECT_MODULE" "1" "WRITE_COMMAND" "2" "100000" "4"
         "SELECT_MODULE" "1" "WRITE_COMMAND" "2" "2801" "4"
 
 
# WRITE_COMMAND for CPU1
# WRITE_COMMAND for CPU1
run_libsim "JTAG WRITE_COMMAND module CPU1"                    \
run_libsim "JTAG WRITE_COMMAND module CPU1"                    \
    [list "Initalization succeeded."                           \
    [list "Initalization succeeded."                           \
          "Execution step completed OK."                       \
          "Execution step completed OK."                       \
Line 1259... Line 1259...
          "  status:       0x0"                                \
          "  status:       0x0"                                \
          "  time taken:"                                      \
          "  time taken:"                                      \
          "Execution step completed OK."                       \
          "Execution step completed OK."                       \
          "Processing WRITE_COMMAND."                          \
          "Processing WRITE_COMMAND."                          \
          "  shifting in:  0x00000000011b285d1780010028000008" \
          "  shifting in:  0x00000000011b285d1780010028000008" \
 
          "ERROR: JTAG 8-bit access for SPR not supported."    \
          "  shifted out:  0x164841bc600000000000000000000000" \
          "  shifted out:  0x164841bc600000000000000000000000" \
          "  status:       0x0"                                \
          "  status:       0x0"                                \
          "  time taken:"                                      \
          "  time taken:"                                      \
          "Execution step completed OK."                       \
          "Execution step completed OK."                       \
          "Test completed successfully."]                      \
          "Test completed successfully."]                      \
Line 1287... Line 1288...
          "  status:       0x0"                                \
          "  status:       0x0"                                \
          "  time taken:"                                      \
          "  time taken:"                                      \
          "Execution step completed OK."                       \
          "Execution step completed OK."                       \
          "Processing WRITE_COMMAND."                          \
          "Processing WRITE_COMMAND."                          \
          "  shifting in:  0x00000000000b0588f380010028000108" \
          "  shifting in:  0x00000000000b0588f380010028000108" \
 
          "ERROR: JTAG 16-bit access for SPR not supported."   \
          "  shifted out:  0x164841bc600000000000000000000000" \
          "  shifted out:  0x164841bc600000000000000000000000" \
          "  status:       0x0"                                \
          "  status:       0x0"                                \
          "  time taken:"                                      \
          "  time taken:"                                      \
          "Execution step completed OK."                       \
          "Execution step completed OK."                       \
          "Test completed successfully."]                      \
          "Test completed successfully."]                      \
Line 1324... Line 1326...
    "lib-jtag/lib-jtag-full" "" "loop/loop" "RESET" "INSTRUCTION" \
    "lib-jtag/lib-jtag-full" "" "loop/loop" "RESET" "INSTRUCTION" \
         "8" "SELECT_MODULE" "1" "WRITE_COMMAND" "2" "2801" "4"
         "8" "SELECT_MODULE" "1" "WRITE_COMMAND" "2" "2801" "4"
 
 
# WRITE_COMMAND to write access type 3. This should fail with an error
# WRITE_COMMAND to write access type 3. This should fail with an error
# message.
# message.
run_libsim "JTAG WRITE_COMMAND CPU0 write access type 3"   \
run_libsim "JTAG WRITE_COMMAND CPU0 access type 3"       \
    [list "Initalization succeeded."                           \
    [list "Initalization succeeded."                           \
          "Execution step completed OK."                       \
          "Execution step completed OK."                       \
          "Resetting JTAG."                                    \
          "Resetting JTAG."                                    \
          "Execution step completed OK."                       \
          "Execution step completed OK."                       \
          "Shifting instruction."                              \
          "Shifting instruction."                              \
Line 1342... Line 1344...
          "  status:       0x0"                                \
          "  status:       0x0"                                \
          "  time taken:"                                      \
          "  time taken:"                                      \
          "Execution step completed OK."                       \
          "Execution step completed OK."                       \
          "Processing WRITE_COMMAND."                          \
          "Processing WRITE_COMMAND."                          \
          "  shifting in:  0x00000000008313620180010028000188" \
          "  shifting in:  0x00000000008313620180010028000188" \
 
          "ERROR: unknown JTAG SPR access type 3."             \
          "  shifted out:  0x164841bc600000000000000000000000" \
          "  shifted out:  0x164841bc600000000000000000000000" \
          "  status:       0x0"                                \
          "  status:       0x0"                                \
          "  time taken:"                                      \
          "  time taken:"                                      \
          "Execution step completed OK."                       \
          "Execution step completed OK."                       \
          "Test completed successfully."]                      \
          "Test completed successfully."]                      \
Line 1370... Line 1373...
          "  status:       0x0"                                \
          "  status:       0x0"                                \
          "  time taken:"                                      \
          "  time taken:"                                      \
          "Execution step completed OK."                       \
          "Execution step completed OK."                       \
          "Processing WRITE_COMMAND."                          \
          "Processing WRITE_COMMAND."                          \
          "  shifting in:  0x000000000084522e2f80010028000048" \
          "  shifting in:  0x000000000084522e2f80010028000048" \
 
          "ERROR: JTAG 8-bit access for SPR not supported."    \
          "  shifted out:  0x164841bc600000000000000000000000" \
          "  shifted out:  0x164841bc600000000000000000000000" \
          "  status:       0x0"                                \
          "  status:       0x0"                                \
          "  time taken:"                                      \
          "  time taken:"                                      \
          "Execution step completed OK."                       \
          "Execution step completed OK."                       \
          "Test completed successfully."]                      \
          "Test completed successfully."]                      \
Line 1398... Line 1402...
          "  status:       0x0"                                \
          "  status:       0x0"                                \
          "  time taken:"                                      \
          "  time taken:"                                      \
          "Execution step completed OK."                       \
          "Execution step completed OK."                       \
          "Processing WRITE_COMMAND."                          \
          "Processing WRITE_COMMAND."                          \
          "  shifting in:  0x0000000001947ffbcb80010028000148" \
          "  shifting in:  0x0000000001947ffbcb80010028000148" \
 
          "ERROR: JTAG 16-bit access for SPR not supported."   \
          "  shifted out:  0x164841bc600000000000000000000000" \
          "  shifted out:  0x164841bc600000000000000000000000" \
          "  status:       0x0"                                \
          "  status:       0x0"                                \
          "  time taken:"                                      \
          "  time taken:"                                      \
          "Execution step completed OK."                       \
          "Execution step completed OK."                       \
          "Test completed successfully."]                      \
          "Test completed successfully."]                      \
Line 1434... Line 1439...
          "Test completed successfully."]                      \
          "Test completed successfully."]                      \
    "lib-jtag/lib-jtag-full" "" "loop/loop-init" "RESET" "INSTRUCTION" \
    "lib-jtag/lib-jtag-full" "" "loop/loop-init" "RESET" "INSTRUCTION" \
         "8" "SELECT_MODULE" "1" "WRITE_COMMAND" "6" "2801" "4"
         "8" "SELECT_MODULE" "1" "WRITE_COMMAND" "6" "2801" "4"
 
 
# WRITE_COMMAND to read access type 7. This should fail with an error message.
# WRITE_COMMAND to read access type 7. This should fail with an error message.
run_libsim "JTAG WRITE_COMMAND CPU0 read access type 7"    \
run_libsim "JTAG WRITE_COMMAND CPU0 access type 7"             \
    [list "Initalization succeeded."                           \
    [list "Initalization succeeded."                           \
          "Execution step completed OK."                       \
          "Execution step completed OK."                       \
          "Resetting JTAG."                                    \
          "Resetting JTAG."                                    \
          "Execution step completed OK."                       \
          "Execution step completed OK."                       \
          "Shifting instruction."                              \
          "Shifting instruction."                              \
Line 1452... Line 1457...
          "  status:       0x0"                                \
          "  status:       0x0"                                \
          "  time taken:"                                      \
          "  time taken:"                                      \
          "Execution step completed OK."                       \
          "Execution step completed OK."                       \
          "Processing WRITE_COMMAND."                          \
          "Processing WRITE_COMMAND."                          \
          "  shifting in:  0x00000000011c691139800100280001c8" \
          "  shifting in:  0x00000000011c691139800100280001c8" \
 
          "ERROR: unknown JTAG SPR access type 7."             \
          "  shifted out:  0x164841bc600000000000000000000000" \
          "  shifted out:  0x164841bc600000000000000000000000" \
          "  status:       0x0"                                \
          "  status:       0x0"                                \
          "  time taken:"                                      \
          "  time taken:"                                      \
          "Execution step completed OK."                       \
          "Execution step completed OK."                       \
          "Test completed successfully."]                      \
          "Test completed successfully."]                      \

powered by: WebSVN 2.1.0

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