Alex Bold

Newbie DEBUG question

Discussion created by Alex Bold on Sep 24, 2010
Latest reply on Apr 18, 2012 by ROB LUND

Deag guru's,

 

Pleas advice,

 

How to start debug my program, based on HC908 mcu,

i made small firmware that \communicates with PC via USB interface.

Now i want to test it and debug under MON08 monitor.

 

I flashed my code into MCU with PGSZ08.

Then inserted mcu into real board and plugged in PC, but some functions failed.

Then i entered the monitor mode, but how to call user functin to communicate with PC as in real situation?

In normal mode, my mcu detects at PC like normal device with preprogrammed VID/PID .

But in monitor mode it detects as unknown device PID=0000 VID=0000.

 

Any rules to start normal _main under mon08?

tanx !

Outcomes