jtest_MPS2.ini 1.3 KB

12345678910111213141516171819202122232425262728293031
  1. /* This demonstrates how to setup a Debugger '*.ini' file to interface with the
  2. * C-code using the JTEST test framework.
  3. */
  4. //_WDWORD(0x4001F000, 0x00000001); /* Remap on */
  5. LOAD %L INCREMENTAL
  6. RESET /* Reset the target processor */
  7. LOG OFF /* Turn off Logging by default. */
  8. BK * /* Remove existing breakpoints. */
  9. INCLUDE ../../Common/JTest/jtest_fns.ini /* Load the JTEST helper functions */
  10. INCLUDE ../../Common/JTest/jtest_log_MPS2.ini /* Include a log file if specified by jtest_log.ini */
  11. /* Break on special members of the JTEST framework. The framework's
  12. name is defined in jtest_fw.h by the #DEFINE JTEST_FW. */
  13. BS test_start , 1, "test_start_msg();"
  14. BS test_end , 1, "test_end_msg();"
  15. BS group_start , 1, "group_start_msg();"
  16. BS group_end , 1, "group_end_msg();"
  17. BS dump_str , 1, "dump_str_fn();"
  18. //BS dump_data , 1, "dump_data_fn();"
  19. BS exit_fw , 1, "break_fn(); debug_clean_fn(); log_off_fn();"
  20. debug_setup_finished_msg() /* Output a message to let the output
  21. parser know that setup has
  22. finished. */
  23. G /* Start the Tests */