I have connected my DS89c450 up and finally have begun to get somewhere!
now though, I keep receiving the following error when attempting to connect with MTK2. Has anyone hit it before and how would I fix it? Debug out put is below.
Code:
<0D><0A>
<0D><0A>
<0D><0A>
> > R<0D><0A>
Loader not responding
Unable to establish communication with target.
Check connection to target system or consult help files.
R<0D><0A>
LB:00 OCR:FF ACON:1F CKCON:01R
LB:00 OCR:FF ACON:1F CKCON:01 P0:7F P1:FF P2:FF P3:FF FCNTL:B1<0D><0A>
> P0:7F P1:FF P2:FF P3:FF FCNTL:B1
>
When I remove the crystal, the following error occurs:
Code:
<0D><0A>
<0D><0A>
<0D><0A>
<0D><0A>
<0D><0A>
Unable to establish communication with target.
Check connection to target system or consult help files.
I'm using a 16Mhz Crystal and Arduino as USB to serial (maintaining it in constant reset mode). MTK is set at 1200 but can change. My design is bread boarded and easy to modify.
Thanks for any assistance!
- - - Updated - - -
Horrah!!! I got it working. Instead of using the default baud rate, I used 1 that exactly matched what my 16Mhz clock could output (16667), reset the power to the MCU and then it worked fine, everything is good now.