Can't get code to run/flash properly in debugger with TWR-MCF51CN

Discussion created by Alex Perez on Jan 31, 2010
Latest reply on Jan 31, 2010 by CompilerGuru

Hi folks, I just obtained a TWR-MCF51CN-KIT and am having nothing but trouble getting code to run on the thing. I opened up lab number one(the telnet server example) , but when I execute the Debug mode, the flash sort-of works but the end result is far from functional. Here's the output of my Command window in the debugger...What concerns me most are the "XXXXX command file does not exist." messages, along with the message "ERROR: programmer is not enabled. Code loading overlap detected in range 0x00000400..0x00000417"

Please help. I've installed everything directly from the DVD which came with the kit, and the OSBDM is clearly working, because the flash does happen. Am I missing an update/patch to Codewarrior? This is rather frustrating, but I'm sure it can be worked through.

SETCOMM DRIVER NOPROTOCOL NOPERIODICAL
SETCOMM COMPORT NONE
IO registers loaded for MCF51CN128 from C:\Program Files\Freescale\CodeWarrior for Microcontrollers V6.2\prog\REG\MCU700A.REG
Startup command file does not exist.
Target Speed Change Detected - New Speed 50.36 MHz
Preload command file does not exist.
FP: FLASH parameters loaded for MCF51CN128_V0_6 from C:\Program Files\Freescale\CodeWarrior for Microcontrollers V6.2\prog\FPP\mcu700A.fpp

Reset command file does not exist.

MCU clock speed: 4461000 Hz
Block Module Name      Address Range   Status
0  FLASH                0 - 1FFFF   Programmed - Unselected

FP: The UNPROTECT command is not available for the FLASH flash module => Skipped.
Vppon command file does not exist.
Vppoff command file does not exist.
Vppon command file does not exist.
ERROR: programmer is not enabled

Vppoff command file does not exist.
FP: FLASH disarmed.
Reset command file does not exist.
Postload command file does not exist.
main 0xE6FA T
STARTED
RUNNING
Breakpoint

in>

Message Edited by InertialComputing on 2010-01-30 08:42 PM
{"extraction_info": {"found_math": false, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.8510022759437561, "perplexity": 14701.91212128813}, "config": {"markdown_headings": false, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2018-43/segments/1539583510932.57/warc/CC-MAIN-20181017002502-20181017024002-00245.warc.gz"}